Метод |
Описание |
|
get ( string $captureId, ApiContext $apiContext = null, PayPalRestCall $restCall = null ) : Capture |
Shows details for a captured payment, by ID. |
|
getAmount ( ) : Amount |
The amount to capture. If the amount matches the orginally authorized amount, the state of the authorization changes to captured. If not, the state of the authorization changes to partially_captured. |
|
getCreateTime ( ) : string |
The date and time of capture, as defined in RFC 3339 Section 5.6. |
|
getId ( ) : string |
The ID of the capture transaction. |
|
getInvoiceNumber ( ) : string |
The invoice number to track this payment. |
|
getIsFinalCapture ( ) : boolean |
Indicates whether to release all remaining funds that the authorization holds in the funding instrument. Default is false. |
|
getParentPayment ( ) : string |
The ID of the payment on which this transaction is based. |
|
getReasonCode ( ) : string |
The reason code that describes why the transaction state is pending or reversed. |
|
getState ( ) : string |
The state of the capture. |
|
getTransactionFee ( ) : PayPal\Api\Currency |
The transaction fee for this payment. |
|
getUpdateTime ( ) : string |
The date and time when the resource was last updated. |
|
refund ( Refund $refund, ApiContext $apiContext = null, PayPalRestCall $restCall = null ) : Refund |
Refund a captured payment by passing the capture_id in the request URI. In addition, include an amount object in the body of the request JSON. |
|
refundCapturedPayment ( RefundRequest $refundRequest, ApiContext $apiContext = null, PayPalRestCall $restCall = null ) : DetailedRefund |
Refunds a captured payment, by ID. Include an amount object in the JSON request body. |
|
setAmount ( Amount $amount ) |
The amount to capture. If the amount matches the orginally authorized amount, the state of the authorization changes to captured. If not, the state of the authorization changes to partially_captured. |
|
setCreateTime ( string $create_time ) |
The date and time of capture, as defined in RFC 3339 Section 5.6. |
|
setId ( string $id ) |
The ID of the capture transaction. |
|
setInvoiceNumber ( string $invoice_number ) |
The invoice number to track this payment. |
|
setIsFinalCapture ( boolean $is_final_capture ) |
Indicates whether to release all remaining funds that the authorization holds in the funding instrument. Default is false. |
|
setParentPayment ( string $parent_payment ) |
The ID of the payment on which this transaction is based. |
|
setReasonCode ( string $reason_code ) |
The reason code that describes why the transaction state is pending or reversed. |
|
setState ( string $state ) |
The state of the capture. |
|
setTransactionFee ( PayPal\Api\Currency $transaction_fee ) |
The transaction fee for this payment. |
|
setUpdateTime ( string $update_time ) |
The date and time when the resource was last updated. |
|