pub struct PaymentFlowsPaymentDetails {
pub customer_reference: Option<String>,
pub order_reference: Option<String>,
}Fields§
§customer_reference: Option<String>A unique value to identify the customer. This field is available only for card payments.
This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
order_reference: Option<String>A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
Required when the Payment Method Types array contains card, including when automatic_payment_methods.enabled is set to true.
For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
Trait Implementations§
Source§impl Clone for PaymentFlowsPaymentDetails
impl Clone for PaymentFlowsPaymentDetails
Source§fn clone(&self) -> PaymentFlowsPaymentDetails
fn clone(&self) -> PaymentFlowsPaymentDetails
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PaymentFlowsPaymentDetails
impl Debug for PaymentFlowsPaymentDetails
Source§impl FromValueOpt for PaymentFlowsPaymentDetails
impl FromValueOpt for PaymentFlowsPaymentDetails
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for PaymentFlowsPaymentDetails
impl RefUnwindSafe for PaymentFlowsPaymentDetails
impl Send for PaymentFlowsPaymentDetails
impl Sync for PaymentFlowsPaymentDetails
impl Unpin for PaymentFlowsPaymentDetails
impl UnwindSafe for PaymentFlowsPaymentDetails
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