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 AddressSuggestion
extension AddressSuggestion : Decodable, Encodable, Equatable, Hashable, Suggestion
-
Undocumented
See moreDeclaration
Swift
struct AddressSuggestions
extension AddressSuggestions : Decodable, Encodable, Equatable
-
An error asocciated to an address validation.
See moreDeclaration
Swift
struct AddressValidationError
extension AddressValidationError : Decodable, Encodable, Equatable
-
A structure that groups basic animation-related elements into a single object
See moreDeclaration
Swift
struct Animation
-
See moreBrandedBackgroundConfig
is used to specify a custom background by 1st-party hostsDeclaration
Swift
@available(*, deprecated, message: "Please use the new backgrounds member in ExtendedCheckoutConfig") struct BrandedBackgroundConfig
extension BrandedBackgroundConfig : Equatable
-
A struct to easily create an instance of a button state
See moreDeclaration
Swift
struct ButtonState
-
Undocumented
See moreDeclaration
Swift
struct CheckoutApprovePaymentResult
extension CheckoutApprovePaymentResult : Decodable, Encodable, Equatable
-
The result for a CheckoutCompleteQuery
See moreDeclaration
Swift
struct CheckoutCompleteResult
extension 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 moreFPTIEntry
is used to report all tracking entries to analytics.Declaration
Swift
struct FPTIEntry
extension 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.json
file. Pass one of the constants to the firing function.Declaration
Swift
struct FPTIEvent
extension FPTIEvent : Encodable, Equatable
-
Undocumented
See moreDeclaration
Swift
struct GQLAddAddressPayload
extension 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 ImageAlignment
extension ImageAlignment : Equatable, ExpressibleByArrayLiteral, OptionSet, RawRepresentable, SetAlgebra
-
This property wrapper is designed to provide an easy way to create internationalized
String
s for use in component design. Place the@L10n
property wrapper in front of the variable creation and the value of theString
should be the key desired from the strings files.@L10n var iWelcome: String = "WELCOME_MESSAGE" // iWelcomeMessage would now appear as the translation string
Note
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 LogoPositioningConfig
extension LogoPositioningConfig : Equatable
-
Undocumented
See moreDeclaration
Swift
struct NetworkOperation
extension NetworkOperation : Equatable, Identifiable
-
Basic implementation for handling the result of
See moreNetworkOperation
action. The primary requirement for this class is aNetworkStatus
result value. Data and status codes are all optionalDeclaration
-
This is sent to
Firebase
we have two casesCase 1: We don’t have a billing token and we pass the
payerID
andpaymentID
withorderID
Case 2: We have a billing token so we only need to pass the
orderID
andbillingToken
for now, unless things change in API.
Declaration
Swift
struct OnApprove
extension OnApprove : Decodable, Encodable
-
User Cancel Message
See moreDeclaration
Swift
struct OnCancel
extension OnCancel : Decodable, Encodable
-
Error Message
See moreDeclaration
Swift
struct OnError
extension OnError : Decodable, Encodable
-
A structure that contains all the information related to a height update
See moreDeclaration
Swift
struct PageHeightUpdate
-
PayPalLink
holds 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 StringMask
extension StringMask : Equatable
-
Encapsulates all properties related to a URL.
See moreDeclaration
Swift
struct ThreeDSGenericURL
extension ThreeDSGenericURL : Decodable, Encodable, Equatable
-
The result for a User/Checkout Query
See moreDeclaration
Swift
struct UserCheckoutResult
extension UserCheckoutResult : Decodable, Equatable