Show / Hide Table of Contents
    • Yort.Zip.InStore
      • CancelOrderRequest
      • CancelOrderResponse
      • CommitOrderRequest
      • CreateOrderRequest
      • CreateOrderResponse
      • EnrolRequest
      • EnrolResponse
      • IZipClient
      • OrderStatusRequest
      • OrderStatusResponse
      • RefundOrderRequest
      • RefundOrderResponse
      • RollbackOrderRequest
      • ZipApiException
      • ZipClient
      • ZipClientConfiguration
      • ZipEnvironment
      • ZipEnvironment.NewZealand
      • ZipErrorResponse
      • ZipOrder
      • ZipOrderItem
      • ZipOrderStatus
      • ZipPaymentFlow
      • ZipRequestOptionsBase
      • ZipValidationError

    Class CancelOrderRequest

    Represents a request to cancel an order that has not yet been approved by the consumer or reached a final status.

    Inheritance
    Object
    ZipRequestOptionsBase
    CancelOrderRequest
    Inherited Members
    ZipRequestOptionsBase.GetCustomHttpHeaders()
    ZipRequestOptionsBase.ApplyDefaults(ZipClientConfiguration)
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Yort.Zip.InStore
    Assembly: Yort.Zip.InStore.dll
    Syntax
    public class CancelOrderRequest : ZipRequestOptionsBase

    Properties

    | Improve this Doc View Source

    Operator

    A reference (name or id) of the staff person serving the customer at the POS. Required.

    Declaration
    public string Operator { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    OrderId

    The unique id of the order within the Zip system, as returned in OrderId.

    Declaration
    public string OrderId { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    TerminalId

    Required. A value that uniquley identifies the point of sale terminal being used as part of this request.

    Declaration
    public string TerminalId { get; set; }
    Property Value
    Type Description
    String

    Methods

    | Improve this Doc View Source

    Validate()

    Validates this request as much as possible prior to sending it to the Zip API.

    Declaration
    public override void Validate()
    Overrides
    ZipRequestOptionsBase.Validate()
    Exceptions
    Type Condition
    ArgumentNullException

    Thrown if any required properties are null.

    ArgumentException

    Thrown if any of request properties are invalid.

    • Improve this Doc
    • View Source
    Back to top Copyright (c) 2020 Troy Willmot