pub struct CaptureAuthorizedPaymentDto {
    pub invoice_id: Option<String>,
    pub note_to_payer: Option<String>,
    pub amount: Option<Money>,
    pub is_final_capture: Option<bool>,
    pub payment_instruction: Option<PaymentInstruction>,
    pub soft_descriptor: Option<String>,
}

Fields

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.

note_to_payer: Option<String>

An informational note about this settlement. Appears in both the payer’s transaction history and the emails that the payer receives.

amount: Option<Money>

The amount to capture. To capture a portion of the full authorized amount, specify an amount. If amount is not specified, the full authorized amount is captured. The amount must be a positive number and in the same currency as the authorization against which the payment is being captured.

is_final_capture: Option<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.

payment_instruction: Option<PaymentInstruction>

Any additional payment instructions to be considered during payment processing. This processing instruction is applicable for Capturing an order or Authorizing an Order.

soft_descriptor: Option<String>

The payment descriptor on the payer’s account statement.

Implementations

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more