pub struct CreateApmInitializeRequest { /* private fields */ }
Implementations§
Source§impl CreateApmInitializeRequest
impl CreateApmInitializeRequest
pub fn new() -> Self
pub fn set_price<T: Into<BigDecimal>>(&mut self, price: T)
pub fn set_paid_price<T: Into<BigDecimal>>(&mut self, paid_price: T)
pub fn set_payment_channel<T: Into<String>>(&mut self, payment_channel: T)
pub fn set_payment_group<T: Into<String>>(&mut self, payment_group: T)
pub fn set_payment_source<T: Into<String>>(&mut self, payment_source: T)
pub fn set_currency<T: Into<String>>(&mut self, currency: T)
pub fn set_merchant_order_id<T: Into<String>>(&mut self, merchant_order_id: T)
pub fn set_country_code<T: Into<String>>(&mut self, country_code: T)
pub fn set_account_holder_name<T: Into<String>>( &mut self, account_holder_name: T, )
pub fn set_merchant_callback_url<T: Into<String>>( &mut self, merchant_callback_url: T, )
pub fn set_merchant_error_url<T: Into<String>>(&mut self, merchant_error_url: T)
pub fn set_merchant_notification_url<T: Into<String>>( &mut self, merchant_notification_url: T, )
pub fn set_apm_type<T: Into<String>>(&mut self, apm_type: T)
pub fn set_basket_id<T: Into<String>>(&mut self, basket_id: T)
pub fn set_buyer<T: Into<Buyer>>(&mut self, buyer: T)
pub fn set_shipping_address<T: Into<Address>>(&mut self, shipping_address: T)
pub fn set_billing_address<T: Into<Address>>(&mut self, billing_address: T)
pub fn set_basket_items<T: Into<Vec<BasketItem>>>(&mut self, basket_items: T)
pub fn price(&self) -> Option<&BigDecimal>
pub fn paid_price(&self) -> Option<&BigDecimal>
pub fn payment_channel(&self) -> Option<&String>
pub fn payment_group(&self) -> Option<&String>
pub fn payment_source(&self) -> Option<&String>
pub fn currency(&self) -> Option<&String>
pub fn merchant_order_id(&self) -> Option<&String>
pub fn country_code(&self) -> Option<&String>
pub fn account_holder_name(&self) -> Option<&String>
pub fn merchant_callback_url(&self) -> Option<&String>
pub fn merchant_error_url(&self) -> Option<&String>
pub fn merchant_notification_url(&self) -> Option<&String>
pub fn apm_type(&self) -> Option<&String>
pub fn basket_id(&self) -> Option<&String>
pub fn buyer(&self) -> Option<&Buyer>
pub fn shipping_address(&self) -> Option<&Address>
pub fn billing_address(&self) -> Option<&Address>
pub fn basket_items(&self) -> Option<&Vec<BasketItem>>
Trait Implementations§
Source§impl Debug for CreateApmInitializeRequest
impl Debug for CreateApmInitializeRequest
Source§impl Default for CreateApmInitializeRequest
impl Default for CreateApmInitializeRequest
Source§fn default() -> CreateApmInitializeRequest
fn default() -> CreateApmInitializeRequest
Returns the “default value” for a type. Read more
Source§impl Deref for CreateApmInitializeRequest
impl Deref for CreateApmInitializeRequest
Source§impl<'de> Deserialize<'de> for CreateApmInitializeRequest
impl<'de> Deserialize<'de> for CreateApmInitializeRequest
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 CreateApmInitializeRequest
impl RefUnwindSafe for CreateApmInitializeRequest
impl Send for CreateApmInitializeRequest
impl Sync for CreateApmInitializeRequest
impl Unpin for CreateApmInitializeRequest
impl UnwindSafe for CreateApmInitializeRequest
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