Class TemplateData
Class TemplateData
Detailed template information.
- PayPal\Common\PayPalModel
- PayPal\Api\TemplateData
Methods summary
public
|
#
setMerchantInfo(
Information about the merchant who is sending the invoice. |
public
|
|
public
|
#
setBillingInfo(
The required invoice recipient email address and any optional billing information. One recipient is supported. |
public
|
#
getBillingInfo( )
The required invoice recipient email address and any optional billing information. One recipient is supported. |
public
|
|
public
|
|
public
|
|
public
string[]
|
|
public
|
|
public
|
|
public
|
#
setShippingInfo(
The shipping information for entities to whom items are being shipped. |
public
|
|
public
|
#
setItems(
The list of items to include in the invoice. Maximum value is 100 items per invoice. |
public
|
|
public
|
|
public
|
|
public
|
#
setPaymentTerm(
Optional. The payment deadline for the invoice. Value is either |
public
|
#
getPaymentTerm( )
Optional. The payment deadline for the invoice. Value is either |
public
|
#
setReference( string $reference )
Reference data, such as PO number, to add to the invoice. Maximum length is 60 characters. |
public
string
|
#
getReference( )
Reference data, such as PO number, to add to the invoice. Maximum length is 60 characters. |
public
|
#
setDiscount(
The invoice level discount, as a percent or an amount value. |
public
|
|
public
|
#
setShippingCost(
The shipping cost, as a percent or an amount value. |
public
|
|
public
|
#
setCustom(
The custom amount to apply on an invoice. If you include a label, the amount cannot be empty. |
public
|
|
public
|
#
setAllowPartialPayment( boolean $allow_partial_payment )
Indicates whether the invoice allows a partial payment. If set to |
public
boolean
|
#
getAllowPartialPayment( )
Indicates whether the invoice allows a partial payment. If set to |
public
|
#
setMinimumAmountDue(
If |
public
|
#
getMinimumAmountDue( )
If |
public
|
#
setTaxCalculatedAfterDiscount( boolean $tax_calculated_after_discount )
Indicates whether tax is calculated before or after a discount. If set to |
public
boolean
|
#
getTaxCalculatedAfterDiscount( )
Indicates whether tax is calculated before or after a discount. If set to |
public
|
#
setTaxInclusive( boolean $tax_inclusive )
Indicates whether the unit price includes tax. Default is |
public
boolean
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
#
setMerchantMemo( string $merchant_memo )
A private bookkeeping memo for the merchant. Maximum length is 150 characters. |
public
string
|
|
public
|
#
setLogoUrl( string $logo_url )
Full URL of an external image to use as the logo. Maximum length is 4000 characters. |
public
string
|
#
getLogoUrl( )
Full URL of an external image to use as the logo. Maximum length is 4000 characters. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
Methods inherited from PayPal\Common\PayPalModel
__construct()
,
__get()
,
__isset()
,
__set()
,
__toString()
,
__unset()
,
fromArray()
,
fromJson()
,
getList()
,
setCredential()
,
toArray()
,
toJSON()