[][src]Struct google_content2_sandbox::OrderPaymentMethod

pub struct OrderPaymentMethod {
    pub expiration_month: Option<i32>,
    pub expiration_year: Option<i32>,
    pub phone_number: Option<String>,
    pub billing_address: Option<OrderAddress>,
    pub type_: Option<String>,
    pub last_four_digits: Option<String>,
}

There is no detailed description.

This type is not used in any activity, and only used as part of another schema.

Fields

expiration_month: Option<i32>

The card expiration month (January = 1, February = 2 etc.).

expiration_year: Option<i32>

The card expiration year (4-digit, e.g. 2015).

phone_number: Option<String>

The billing phone number.

billing_address: Option<OrderAddress>

The billing address.

type_: Option<String>

The type of instrument.

Acceptable values are:

  • "AMEX"
  • "DISCOVER"
  • "JCB"
  • "MASTERCARD"
  • "UNIONPAY"
  • "VISA"
  • ""
last_four_digits: Option<String>

The last four digits of the card number.

Trait Implementations

impl Part for OrderPaymentMethod[src]

impl Clone for OrderPaymentMethod[src]

impl Default for OrderPaymentMethod[src]

impl Debug for OrderPaymentMethod[src]

impl Serialize for OrderPaymentMethod[src]

impl<'de> Deserialize<'de> for OrderPaymentMethod[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]