CancellationReason

public struct CancellationReason : Decodable

This represents the reason why user wants to cancel the corresponding Order

  • Text representation of the cancellation reason

    Declaration

    Swift

    public let description: String
  • Boolean value indicating if text explanation needs to be provided by user

    Declaration

    Swift

    public let explanationRequired: Bool
  • Declaration

    Swift

    public init(from decoder: Decoder) throws