Classes

The following classes are available globally.

  • Note

    ButtonMerchant is the main entry point to the library.

    To get started with your integration, get your application Id from from the Button Dashboard and follow our simple integration guide.

    See more

    Declaration

    Swift

    @objcMembers
    final public class ButtonMerchant : NSObject
  • A concrete implementation of the ButtonProductCompatible protocol.

    See more

    Declaration

    Swift

    final public class ButtonProduct : NSObject, ButtonProductCompatible, Codable
  • Represents an order placed by the user to be reported using ButtonMerchant.reportOrder(order).

    See more

    Declaration

    Swift

    @objcMembers
    @objc(BTNOrder)
    final public class Order : NSObject, Codable