pub struct CreatePaymentIntentPaymentDetails {
pub customer_reference: Option<String>,
pub order_reference: Option<String>,
}Expand description
Provides industry-specific information about the charge.
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.
Implementations§
Trait Implementations§
Source§impl Clone for CreatePaymentIntentPaymentDetails
impl Clone for CreatePaymentIntentPaymentDetails
Source§fn clone(&self) -> CreatePaymentIntentPaymentDetails
fn clone(&self) -> CreatePaymentIntentPaymentDetails
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 moreAuto Trait Implementations§
impl Freeze for CreatePaymentIntentPaymentDetails
impl RefUnwindSafe for CreatePaymentIntentPaymentDetails
impl Send for CreatePaymentIntentPaymentDetails
impl Sync for CreatePaymentIntentPaymentDetails
impl Unpin for CreatePaymentIntentPaymentDetails
impl UnwindSafe for CreatePaymentIntentPaymentDetails
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