pub struct PaymentCaptureApiRequest {
pub final_: Option<bool>,
pub amount: Option<Value>,
}
Fields§
§final_: Option<bool>
Indicates whether the capture request is the final capture request.
After a final capture, no subsequent captures are allowed.
amount: Option<Value>
The amount you would like to capture, in minor units. The currency used on authorization is assumed.
If no amount is specified it defaults to the full amount.
Trait Implementations§
Source§impl Debug for PaymentCaptureApiRequest
impl Debug for PaymentCaptureApiRequest
Source§impl<'de> Deserialize<'de> for PaymentCaptureApiRequest
impl<'de> Deserialize<'de> for PaymentCaptureApiRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PaymentCaptureApiRequest
impl Display for PaymentCaptureApiRequest
Auto Trait Implementations§
impl Freeze for PaymentCaptureApiRequest
impl RefUnwindSafe for PaymentCaptureApiRequest
impl Send for PaymentCaptureApiRequest
impl Sync for PaymentCaptureApiRequest
impl Unpin for PaymentCaptureApiRequest
impl UnwindSafe for PaymentCaptureApiRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more