Receipt

@objcMembers
public final class Receipt : NSObject, OptionallyIdentifiableWithString, Codable

Receipt dispatch settings.

  • Declaration

    Swift

    public private(set) var identifier: String?
  • Defines if receipt email should be sent.

    Declaration

    Swift

    public let email: Bool
  • sms

    Defines if receipt sms should be sent.

    Declaration

    Swift

    public let sms: Bool
  • Initializes Receipt settings model.

    Declaration

    Swift

    public required init(email: Bool, sms: Bool)

    Parameters

    email

    Defines whether email receipt should be sent.

    sms

    Defines whether sms receipt should be sent.