pub struct Capture {Show 14 fields
pub status: String,
pub status_details: Option<CaptureStatusDetails>,
pub amount: Money,
pub custom_id: Option<String>,
pub disbursement_mode: Option<DisbursementMode>,
pub final_capture: bool,
pub id: String,
pub invoice_id: Option<String>,
pub links: Vec<LinkDescription>,
pub processor_response: Option<ProcessorResponse>,
pub seller_protection: SellerProtection,
pub seller_receivable_breakdown: Option<SellerReceivableBreakdown>,
pub create_time: String,
pub update_time: String,
}
Fields§
§status: String
The status of the captured payment.
status_details: Option<CaptureStatusDetails>
The details of the captured payment status.
amount: Money
The amount for this captured payment.
custom_id: Option<String>
The API caller-provided external ID. Used to reconcile API caller-initiated transactions with PayPal transactions. Appears in transaction and settlement reports.
disbursement_mode: Option<DisbursementMode>
The funds that are held on behalf of the merchant.
final_capture: bool
Indicates whether you can make additional captures against the authorized payment. Set to true if you do not intend to capture additional payments against the authorization. Set to false if you intend to capture additional payments against the authorization.
id: String
The PayPal-generated ID for the captured payment.
invoice_id: Option<String>
The API caller-provided external invoice number for this order. Appears in both the payer’s transaction history and the emails that the payer receives.
links: Vec<LinkDescription>
An array of related HATEOAS links.
processor_response: Option<ProcessorResponse>
An object that provides additional processor information for a direct credit card transaction.
seller_protection: SellerProtection
The level of protection offered as defined by PayPal Seller Protection for Merchants.
seller_receivable_breakdown: Option<SellerReceivableBreakdown>
The detailed breakdown of the capture activity. This is not available for transactions that are in pending state.
create_time: String
The date and time when the transaction occurred, in Internet date and time format.
update_time: String
The date and time when the transaction was last updated, in Internet date and time format.