pub struct SubMerchant { /* private fields */ }Implementations§
Source§impl SubMerchant
impl SubMerchant
pub fn create( req: &CreateSubMerchantRequest, options: &Options, ) -> Result<SubMerchant, Box<dyn Error>>
pub fn update( req: &UpdateSubMerchantRequest, options: &Options, ) -> Result<SubMerchant, Box<dyn Error>>
pub fn retrieve( req: &RetrieveSubMerchantRequest, options: &Options, ) -> Result<SubMerchant, Box<dyn Error>>
pub fn set_name<T: Into<String>>(&mut self, name: T)
pub fn set_email<T: Into<String>>(&mut self, email: T)
pub fn set_gsm_number<T: Into<String>>(&mut self, gsm_number: T)
pub fn set_address<T: Into<String>>(&mut self, address: T)
pub fn set_iban<T: Into<String>>(&mut self, iban: T)
pub fn set_tax_office<T: Into<String>>(&mut self, tax_office: T)
pub fn set_contact_name<T: Into<String>>(&mut self, contact_name: T)
pub fn set_contact_surname<T: Into<String>>(&mut self, contact_surname: T)
pub fn set_legal_company_title<T: Into<String>>( &mut self, legal_company_title: T, )
pub fn set_swift_code<T: Into<String>>(&mut self, swift_code: T)
pub fn set_currency<T: Into<String>>(&mut self, currency: T)
pub fn set_identity_number<T: Into<String>>(&mut self, identity_number: T)
pub fn set_tax_number<T: Into<String>>(&mut self, tax_number: T)
pub fn set_sub_merchant_external_id<T: Into<String>>( &mut self, sub_merchant_external_id: T, )
pub fn set_sub_merchant_type<T: Into<String>>(&mut self, sub_merchant_type: T)
pub fn set_sub_merchant_key<T: Into<String>>(&mut self, sub_merchant_key: T)
pub fn name(&self) -> Option<&String>
pub fn email(&self) -> Option<&String>
pub fn gsm_number(&self) -> Option<&String>
pub fn address(&self) -> Option<&String>
pub fn iban(&self) -> Option<&String>
pub fn tax_office(&self) -> Option<&String>
pub fn contact_name(&self) -> Option<&String>
pub fn contact_surname(&self) -> Option<&String>
pub fn legal_company_title(&self) -> Option<&String>
pub fn swift_code(&self) -> Option<&String>
pub fn currency(&self) -> Option<&String>
pub fn identity_number(&self) -> Option<&String>
pub fn tax_number(&self) -> Option<&String>
pub fn sub_merchant_external_id(&self) -> Option<&String>
pub fn sub_merchant_type(&self) -> Option<&String>
pub fn sub_merchant_key(&self) -> Option<&String>
Methods from Deref<Target = IyzipayResource>§
pub fn status(&self) -> Option<&String>
pub fn error_code(&self) -> Option<&String>
pub fn error_message(&self) -> Option<&String>
pub fn error_group(&self) -> Option<&String>
pub fn locale(&self) -> Option<&String>
pub fn system_time(&self) -> Option<&i64>
pub fn conversation_id(&self) -> Option<&String>
Trait Implementations§
Source§impl Debug for SubMerchant
impl Debug for SubMerchant
Source§impl Default for SubMerchant
impl Default for SubMerchant
Source§fn default() -> SubMerchant
fn default() -> SubMerchant
Returns the “default value” for a type. Read more
Source§impl Deref for SubMerchant
impl Deref for SubMerchant
Source§impl<'de> Deserialize<'de> for SubMerchantwhere
SubMerchant: Default,
impl<'de> Deserialize<'de> for SubMerchantwhere
SubMerchant: Default,
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 SubMerchant
impl RefUnwindSafe for SubMerchant
impl Send for SubMerchant
impl Sync for SubMerchant
impl Unpin for SubMerchant
impl UnwindSafe for SubMerchant
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