pub struct PaymentMethodDomain {
pub apple_pay: PaymentMethodDomainResourcePaymentMethodStatus,
pub created: i64,
pub domain_name: String,
pub enabled: bool,
pub google_pay: PaymentMethodDomainResourcePaymentMethodStatus,
pub id: String,
pub link: PaymentMethodDomainResourcePaymentMethodStatus,
pub livemode: bool,
pub object: String,
pub paypal: PaymentMethodDomainResourcePaymentMethodStatus,
}
Expand description
A payment method domain represents a web domain that you have registered with Stripe. Stripe Elements use registered payment method domains to control where certain payment methods are shown.
Related guides: Payment method domains.
Fields§
§apple_pay: PaymentMethodDomainResourcePaymentMethodStatus
Indicates the status of a specific payment method on a payment method domain.
created: i64
Time at which the object was created. Measured in seconds since the Unix epoch.
domain_name: String
The domain name that this payment method domain object represents.
enabled: bool
Whether this payment method domain is enabled. If the domain is not enabled, payment methods that require a payment method domain will not appear in Elements.
google_pay: PaymentMethodDomainResourcePaymentMethodStatus
Indicates the status of a specific payment method on a payment method domain.
id: String
Unique identifier for the object.
link: PaymentMethodDomainResourcePaymentMethodStatus
Indicates the status of a specific payment method on a payment method domain.
livemode: bool
Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
object: String
String representing the object’s type. Objects of the same type share the same value.
paypal: PaymentMethodDomainResourcePaymentMethodStatus
Indicates the status of a specific payment method on a payment method domain.
Trait Implementations§
Source§impl Clone for PaymentMethodDomain
impl Clone for PaymentMethodDomain
Source§fn clone(&self) -> PaymentMethodDomain
fn clone(&self) -> PaymentMethodDomain
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more