pub struct IssueBillingCustomerKeyBody {
pub customer_key: String,
pub card_number: String,
pub card_expiration_year: String,
pub card_expiration_month: String,
pub customer_identity_number: String,
pub card_password: Option<String>,
pub customer_name: Option<String>,
pub customer_email: Option<String>,
}
Fields§
§customer_key: String
§card_number: String
§card_expiration_year: String
§card_expiration_month: String
§customer_identity_number: String
§card_password: Option<String>
§customer_name: Option<String>
§customer_email: Option<String>
Implementations§
Source§impl IssueBillingCustomerKeyBody
impl IssueBillingCustomerKeyBody
Sourcepub fn builder() -> IssueBillingCustomerKeyBodyBuilder<((), (), (), (), (), (), (), ())>
pub fn builder() -> IssueBillingCustomerKeyBodyBuilder<((), (), (), (), (), (), (), ())>
Create a builder for building IssueBillingCustomerKeyBody
.
On the builder, call .customer_key(...)
, .card_number(...)
, .card_expiration_year(...)
, .card_expiration_month(...)
, .customer_identity_number(...)
, .card_password(...)
(optional), .customer_name(...)
(optional), .customer_email(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of IssueBillingCustomerKeyBody
.
Trait Implementations§
Source§impl Clone for IssueBillingCustomerKeyBody
impl Clone for IssueBillingCustomerKeyBody
Source§fn clone(&self) -> IssueBillingCustomerKeyBody
fn clone(&self) -> IssueBillingCustomerKeyBody
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 IssueBillingCustomerKeyBody
impl Debug for IssueBillingCustomerKeyBody
Source§impl<'de> Deserialize<'de> for IssueBillingCustomerKeyBody
impl<'de> Deserialize<'de> for IssueBillingCustomerKeyBody
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 IssueBillingCustomerKeyBody
impl RefUnwindSafe for IssueBillingCustomerKeyBody
impl Send for IssueBillingCustomerKeyBody
impl Sync for IssueBillingCustomerKeyBody
impl Unpin for IssueBillingCustomerKeyBody
impl UnwindSafe for IssueBillingCustomerKeyBody
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