State
class State
State container for the Checkout SDK. Is evaluated for tokens, merchant values and other transient session data.
-
Container for identifiers associated with PayPal domain specific events
Declaration
Swift
static var correlationIDs: CorrelationIDs { get }
-
GraphQL needs several values passed when either Continue or Pay Now are clicked. This object contains all the values that are required to be present when the SDKs GraphQL mutation is invoked.
Declaration
Swift
static var mutationState: GraphQLMutationState { get }
-
The payment token, or EC-token or order id is passed to us from the client config but CheckoutConfig is a read only affair. State holds the latest value and a read write value for storing the payToken.
Declaration
Swift
static var payToken: PayToken { get set }