Structures

The following structures are available globally.

  • This value type defines the metadata required for add card fields

    Declaration

    Swift

    struct AddCardField
  • Undocumented

    See more

    Declaration

    Swift

    struct AddressSuggestion
    extension AddressSuggestion : Decodable, Encodable, Equatable, Hashable, Suggestion
  • Undocumented

    See more

    Declaration

    Swift

    struct AddressSuggestions
    extension AddressSuggestions : Decodable, Encodable, Equatable
  • An error asocciated to an address validation.

    See more

    Declaration

    Swift

    struct AddressValidationError
    extension AddressValidationError : Decodable, Encodable, Equatable
  • A structure that groups basic animation-related elements into a single object

    See more

    Declaration

    Swift

    struct Animation
  • BrandedBackgroundConfig is used to specify a custom background by 1st-party hosts

    See more

    Declaration

    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 more

    Declaration

    Swift

    struct ButtonState
  • Undocumented

    See more

    Declaration

    Swift

    struct CheckoutApprovePaymentResult
    extension CheckoutApprovePaymentResult : Decodable, Encodable, Equatable
  • The result for a CheckoutCompleteQuery

    See more

    Declaration

    Swift

    struct CheckoutCompleteResult
    extension CheckoutCompleteResult : Decodable, Encodable, Equatable
  • Contingencies wrapper which holds metadata about blocking contingencies.

    See more

    Declaration

    Swift

    struct Contingencies
  • A struct on passing external tracking information into NXO

    See more

    Declaration

    Swift

    struct ExternalTracking
  • The representation of a property that is consumed by those objects that conform to ExternalTrackingProtocol

    See more

    Declaration

    Swift

    struct ExternalTrackingProperty
  • FPTIEntry is used to report all tracking entries to analytics.

    See more

    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 FPTIDictionary.json file. Pass one of the constants to the firing function.

    See more

    Declaration

    Swift

    struct FPTIEvent
    extension FPTIEvent : Encodable, Equatable
  • Undocumented

    See more

    Declaration

    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 more

    Declaration

    Swift

    struct ImageAlignment
    extension 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 @L10n property wrapper in front of the variable creation and the value of the String 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 5
    See more

    Declaration

    Swift

    @propertyWrapper
    struct L10n
  • The position for the logo behind the PaySheet

    See more

    Declaration

    Swift

    struct LogoPositioningConfig
    extension LogoPositioningConfig : Equatable
  • Undocumented

    See more

    Declaration

    Swift

    struct NetworkOperation
    extension NetworkOperation : Equatable, Identifiable
  • Basic implementation for handling the result of NetworkOperation action. The primary requirement for this class is a NetworkStatus result value. Data and status codes are all optional

    See more

    Declaration

    Swift

    struct NetworkOperationResult
    extension NetworkOperationResult : Equatable, NetworkResult
  • This is sent to Firebase we have two cases

    • Case 1: We don’t have a billing token and we pass the payerID and paymentID with orderID

    • Case 2: We have a billing token so we only need to pass the orderID and billingToken for now, unless things change in API.

    See more

    Declaration

    Swift

    struct OnApprove
    extension OnApprove : Decodable, Encodable
  • User Cancel Message

    See more

    Declaration

    Swift

    struct OnCancel
    extension OnCancel : Decodable, Encodable
  • Error Message

    See more

    Declaration

    Swift

    struct OnError
    extension OnError : Decodable, Encodable
  • A structure that contains all the information related to a height update

    See more

    Declaration

    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 EventTypeData.

    See more

    Declaration

    Swift

    struct PlaceDetails
    extension PlaceDetails : Decodable, Equatable, PortableAddress
  • A struct to easily create an instance of a button state

    See more

    Declaration

    Swift

    struct SCAStepUpResponse
  • Undocumented

    See more

    Declaration

    Swift

    struct StringMask
    extension StringMask : Equatable
  • Encapsulates all properties related to a URL.

    See more

    Declaration

    Swift

    struct ThreeDSGenericURL
    extension ThreeDSGenericURL : Decodable, Encodable, Equatable
  • The result for a User/Checkout Query

    See more

    Declaration

    Swift

    struct UserCheckoutResult
    extension UserCheckoutResult : Decodable, Equatable