CheckoutSessionFlags
protocol CheckoutSessionFlags
A Checkout session’s application data flags. Average SLA response time - 40ms
-
Indicates whether the user is allowed to change payment methods.
Declaration
Swift
var allowChangePaymentMethod: Bool { get }
-
Indicates whether non-domestic transactions are blocked.
Declaration
Swift
var blockNonDomesticPayer: Bool { get }
-
Indicates whether international shipping is blocked or not.
Declaration
Swift
var blockNonDomesticShipping: Bool { get }
-
Indicates the cart details should be hidden.
Declaration
Swift
var hideCartDetails: Bool { get }
-
Predicts when the shipping address should be hidden. Note: this is an optimistic flag and usually means that the checkout session will not have a selected address.
Declaration
Swift
var hideShipping: Bool { get }
-
Indicates whether the billing address of the payer can be shared or not.
Declaration
Swift
var isBillingAddressConsentRequired: Bool { get }
-
Whether or not a checkout session is a Billing Agreement.
Declaration
Swift
var isBillingAgreement: Bool { get }
-
Whether or not changing a shipping address in a Checkout session is allowed.
Declaration
Swift
var isChangeShippingAddressAllowed: Bool { get }
-
Indicates whether shipping address is required.
Declaration
Swift
var isShippingAddressRequired: Bool { get }
-
Whether or not a payment is eligible to be paid by a Guest that signs up.
Declaration
Swift
var isSignupEligible: Bool { get }
-
Whether or not sticky instrument is allowed for billing
Declaration
Swift
var setStickyBillingAllowed: Bool { get }
-
Indicates when a PayPal Credit offer should be presented. Required auth states: LOGGEDIN, REMEMBERED or IDENTIFIED
Declaration
Swift
var showPPCreditOffer: Bool { get }