public class

InvoiceTemplate

extends Invoice
java.lang.Object
   ↳ PayPalRetailObject
     ↳ com.paypal.paypalretailsdk.Invoice
       ↳ com.paypal.paypalretailsdk.InvoiceTemplate

Class Overview

Invoice template

Summary

Public Methods
Boolean getIsCustom()
true if this is a custom template
Boolean getIsDefault()
true if this is the default template
String getName()
name of the template
InvoiceTemplateSettings getSettings()
list of which fields are enabled/disabled
String getUnitOfMeasure()
unit of measure for the template, known values: AMOUNT, QUANTITY, HOURS
Invoice invoiceFromInvoice(Invoice invoice)
Return an invoice with all the fields from the template but the invoice number and paypalID of another invoice
void setIsCustom(Boolean value)
true if this is a custom template
void setIsDefault(Boolean value)
true if this is the default template
void setName(String value)
name of the template
void setSettings(InvoiceTemplateSettings value)
list of which fields are enabled/disabled
void setUnitOfMeasure(String value)
unit of measure for the template, known values: AMOUNT, QUANTITY, HOURS
String toString()
Returns a string representing the serialized state of the InvoiceTemplate object
[Expand]
Inherited Methods
From class com.paypal.paypalretailsdk.Invoice
From class java.lang.Object

Public Methods

public Boolean getIsCustom ()

true if this is a custom template

public Boolean getIsDefault ()

true if this is the default template

public String getName ()

name of the template

public InvoiceTemplateSettings getSettings ()

list of which fields are enabled/disabled

public String getUnitOfMeasure ()

unit of measure for the template, known values: AMOUNT, QUANTITY, HOURS

public Invoice invoiceFromInvoice (Invoice invoice)

Return an invoice with all the fields from the template but the invoice number and paypalID of another invoice

public void setIsCustom (Boolean value)

true if this is a custom template

public void setIsDefault (Boolean value)

true if this is the default template

public void setName (String value)

name of the template

public void setSettings (InvoiceTemplateSettings value)

list of which fields are enabled/disabled

public void setUnitOfMeasure (String value)

unit of measure for the template, known values: AMOUNT, QUANTITY, HOURS

public String toString ()

Returns a string representing the serialized state of the InvoiceTemplate object