pub struct CheckoutProPreferencesResponse {Show 16 fields
pub client_id: i64,
pub collector_id: i64,
pub items: Vec<Item>,
pub payer: CheckoutProPayer,
pub back_urls: BackUrls,
pub payment_methods: PaymentMethods,
pub marketplace: String,
pub marketplace_fee: i64,
pub shipments: Shipments,
pub statement_descriptor: Option<String>,
pub date_created: OffsetDateTime,
pub preference_id: String,
pub checkout_url: String,
pub checkout_sandbox_url: String,
pub site_id: Option<String>,
pub metadata: Option<Value>,
}Fields§
§client_id: i64§collector_id: i64§items: Vec<Item>§payer: CheckoutProPayer§back_urls: BackUrls§payment_methods: PaymentMethods§marketplace: String§marketplace_fee: i64§shipments: Shipments§statement_descriptor: Option<String>Description that the payment will appear with in the card statement.
date_created: OffsetDateTime§preference_id: StringAutogenerated unique ID that identifies the preference. For example: 036151801-2484cd71-7140-4c51-985a-d4cfcf133baf
checkout_url: StringAutomatically generated URL to open the Checkout.
checkout_sandbox_url: StringAutomatically generated URL to open the Checkout in sandbox mode. Real users are used here, but transactions are executed using test credentials.
site_id: Option<String>Website locale. Example: MLB
metadata: Option<Value>Valid JSON that can be added to the payment to save additional attributes
Trait Implementations§
Source§impl Clone for CheckoutProPreferencesResponse
impl Clone for CheckoutProPreferencesResponse
Source§fn clone(&self) -> CheckoutProPreferencesResponse
fn clone(&self) -> CheckoutProPreferencesResponse
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<'de> Deserialize<'de> for CheckoutProPreferencesResponse
impl<'de> Deserialize<'de> for CheckoutProPreferencesResponse
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 PartialEq for CheckoutProPreferencesResponse
impl PartialEq for CheckoutProPreferencesResponse
Source§fn eq(&self, other: &CheckoutProPreferencesResponse) -> bool
fn eq(&self, other: &CheckoutProPreferencesResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CheckoutProPreferencesResponse
Auto Trait Implementations§
impl Freeze for CheckoutProPreferencesResponse
impl RefUnwindSafe for CheckoutProPreferencesResponse
impl Send for CheckoutProPreferencesResponse
impl Sync for CheckoutProPreferencesResponse
impl Unpin for CheckoutProPreferencesResponse
impl UnwindSafe for CheckoutProPreferencesResponse
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