ReceiptType
@objc
public enum ReceiptType : Int, Codable
extension ReceiptType: CustomDebugStringConvertible
The type of receipt.
-
Customer copy of a receipt.
Declaration
Swift
case customer = 0
-
Merchant copy of a receipt.
Declaration
Swift
case merchant
-
Used to parse the request to the server.
Declaration
Swift
public func encode(to encoder: Encoder) throws
-
Used to parse the response from the server.
Declaration
Swift
public init(from decoder: Decoder) throws
-
Used to print the debug content of the object
Declaration
Swift
public var debugDescription: String { get }