CancellationRequest
public struct CancellationRequest
A model representing request to cancel an order
-
This represents the details about the cancellation such as refund and expiration date and the corresponding
Order
Declaration
Swift
public let quote: CancellationQuote
-
The reason why the users wants to cancel the order
Declaration
Swift
public let reason: CancellationReason
-
The textual explanation about why the user wants to cancel the order
Declaration
Swift
public let explanation: String?
-
Initializes a
CancellationRequest
Declaration
Swift
public init(quote: CancellationQuote, reason: CancellationReason, explanation: String?)
Return Value
CancellationRequest