Class PaymentDetail
Class PaymentDetail
Invoicing payment information.
- PayPal\Common\PayPalModel
-
PayPal\Api\PaymentDetail
Methods summary
public
|
#
setType( string $type )
The PayPal payment detail. Indicates whether payment was made in an invoicing flow through PayPal or externally. In the case of the mark-as-paid API, the supported payment type is |
public
string
|
|
public
|
#
setTransactionId( string $transaction_id )
The PayPal payment transaction ID. Required with the |
public
string
|
|
public
|
#
setTransactionType( string $transaction_type )
Type of the transaction. Valid Values: ["SALE", "AUTHORIZATION", "CAPTURE"] |
public
string
|
|
public
|
#
setDate( string $date )
The date when the invoice was paid. The date format is yyyy-MM-dd z as defined in Internet Date/Time Format. |
public
string
|
#
getDate( )
The date when the invoice was paid. The date format is yyyy-MM-dd z as defined in Internet Date/Time Format. |
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
#
setAmount(
The amount to record as payment against invoice. If you omit this parameter, the total invoice amount is recorded as payment. |
public
|
Methods inherited from PayPal\Common\PayPalModel
__construct(),
__get(),
__isset(),
__set(),
__toString(),
__unset(),
fromArray(),
fromJson(),
getList(),
setCredential(),
toArray(),
toJSON()