pub struct PaymentResponseProcessorApiSchema {
pub name: Option<String>,
pub processor_merchant_id: Option<String>,
pub amount_refunded: Option<i64>,
pub amount_captured: Option<i64>,
}
Fields§
§name: Option<String>
The payment processor used for this payment.
processor_merchant_id: Option<String>
The merchant ID registered at the payment processor used for this payment.
amount_refunded: Option<i64>
If no refund was performed, this value will be set to 0
.
If one or more partial refunds were performed, this value will be a sum of all partial refund amounts.
amount_captured: Option<i64>
If no capture was performed, this value will be set to 0
.
If one or more partial captures were performed, this value will be a sum of all partial capture amounts.
Trait Implementations§
Source§impl Default for PaymentResponseProcessorApiSchema
impl Default for PaymentResponseProcessorApiSchema
Source§fn default() -> PaymentResponseProcessorApiSchema
fn default() -> PaymentResponseProcessorApiSchema
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PaymentResponseProcessorApiSchema
impl<'de> Deserialize<'de> for PaymentResponseProcessorApiSchema
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
Auto Trait Implementations§
impl Freeze for PaymentResponseProcessorApiSchema
impl RefUnwindSafe for PaymentResponseProcessorApiSchema
impl Send for PaymentResponseProcessorApiSchema
impl Sync for PaymentResponseProcessorApiSchema
impl Unpin for PaymentResponseProcessorApiSchema
impl UnwindSafe for PaymentResponseProcessorApiSchema
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