Structures
The following structures are available globally.
-
This value type defines the metadata required for add card fields
Declaration
Swift
struct AddCardField -
Undocumented
See moreDeclaration
Swift
struct AddressSuggestionextension AddressSuggestion : Decodable, Encodable, Equatable, Hashable, Suggestion -
Undocumented
See moreDeclaration
Swift
struct AddressSuggestionsextension AddressSuggestions : Decodable, Encodable, Equatable -
An error asocciated to an address validation.
See moreDeclaration
Swift
struct AddressValidationErrorextension AddressValidationError : Decodable, Encodable, Equatable -
A structure that groups basic animation-related elements into a single object
See moreDeclaration
Swift
struct Animation -
See moreBrandedBackgroundConfigis used to specify a custom background by 1st-party hostsDeclaration
Swift
@available(*, deprecated, message: "Please use the new backgrounds member in ExtendedCheckoutConfig") struct BrandedBackgroundConfigextension BrandedBackgroundConfig : Equatable -
A struct to easily create an instance of a button state
See moreDeclaration
Swift
struct ButtonState -
Undocumented
See moreDeclaration
Swift
struct CheckoutApprovePaymentResultextension CheckoutApprovePaymentResult : Decodable, Encodable, Equatable -
The result for a CheckoutCompleteQuery
See moreDeclaration
Swift
struct CheckoutCompleteResultextension CheckoutCompleteResult : Decodable, Encodable, Equatable -
Contingencies wrapper which holds metadata about blocking contingencies.
See moreDeclaration
Swift
struct Contingencies -
A struct on passing external tracking information into NXO
See moreDeclaration
Swift
struct ExternalTracking -
The representation of a property that is consumed by those objects that conform to ExternalTrackingProtocol
See moreDeclaration
Swift
struct ExternalTrackingProperty -
See moreFPTIEntryis used to report all tracking entries to analytics.Declaration
Swift
struct FPTIEntryextension FPTIEntry : Decodable, Encodable -
FPTI is First Party Tracking ID. These record events of screen transitions, and these types are precreated, matching the contents of Android’s
See moreFPTIDictionary.jsonfile. Pass one of the constants to the firing function.Declaration
Swift
struct FPTIEventextension FPTIEvent : Encodable, Equatable -
Undocumented
See moreDeclaration
Swift
struct GQLAddAddressPayloadextension GQLAddAddressPayload : Decodable, Encodable, Equatable, UserCheckoutPayload -
Image alignment provides a simple method to set the positioning of the UIImage in the UIImageView.
See moreDeclaration
Swift
struct ImageAlignmentextension ImageAlignment : Equatable, ExpressibleByArrayLiteral, OptionSet, RawRepresentable, SetAlgebra -
This property wrapper is designed to provide an easy way to create internationalized
Strings for use in component design. Place the@L10nproperty wrapper in front of the variable creation and the value of theStringshould be the key desired from the strings files.@L10n var iWelcome: String = "WELCOME_MESSAGE" // iWelcomeMessage would now appear as the translation stringSee moreNote
This can only be used on class or maybe struct properties, it cannot be used on local variables yet as of Swift 5Declaration
Swift
@propertyWrapper struct L10n -
The position for the logo behind the PaySheet
See moreDeclaration
Swift
struct LogoPositioningConfigextension LogoPositioningConfig : Equatable -
Undocumented
See moreDeclaration
Swift
struct NetworkOperationextension NetworkOperation : Equatable, Identifiable -
Basic implementation for handling the result of
See moreNetworkOperationaction. The primary requirement for this class is aNetworkStatusresult value. Data and status codes are all optionalDeclaration
-
This is sent to
Firebasewe have two casesCase 1: We don’t have a billing token and we pass the
payerIDandpaymentIDwithorderIDCase 2: We have a billing token so we only need to pass the
orderIDandbillingTokenfor now, unless things change in API.
Declaration
Swift
struct OnApproveextension OnApprove : Decodable, Encodable -
User Cancel Message
See moreDeclaration
Swift
struct OnCancelextension OnCancel : Decodable, Encodable -
Error Message
See moreDeclaration
Swift
struct OnErrorextension OnError : Decodable, Encodable -
A structure that contains all the information related to a height update
See moreDeclaration
Swift
struct PageHeightUpdate -
PayPalLinkholds and presents the various links the user may encounter during a checkout session.Declaration
Swift
struct PayPalLink -
Non-initializable struct used for autocomplete, is public so can be used with
See moreEventTypeData.Declaration
-
A struct to easily create an instance of a button state
See moreDeclaration
Swift
struct SCAStepUpResponse -
Undocumented
See moreDeclaration
Swift
struct StringMaskextension StringMask : Equatable -
Encapsulates all properties related to a URL.
See moreDeclaration
Swift
struct ThreeDSGenericURLextension ThreeDSGenericURL : Decodable, Encodable, Equatable -
The result for a User/Checkout Query
See moreDeclaration
Swift
struct UserCheckoutResultextension UserCheckoutResult : Decodable, Equatable
View on GitHub
Install in Dash
Structures Reference