CreateOrderRequest class abstract

CreateOrderRequest

Properties:

  • amount - The total amount of the order.
  • expiresAt - The date when the order should expire. If not provided, the default expiry duration is 1 day. ISO 8601 format: YYYY-MM-DDThh:mm:ss+TZD, for example, 2020-12-18T10:15:30+01:00.
  • merchantAccount - The merchant account identifier, with which you want to process the order.
  • reference - A custom reference identifying the order.
Annotations
  • @BuiltValue.new()

Constructors

CreateOrderRequest([void updates(CreateOrderRequestBuilder b)])
factory

Properties

amount → Amount
The total amount of the order.
no setter
expiresAt → String?
The date when the order should expire. If not provided, the default expiry duration is 1 day. ISO 8601 format: YYYY-MM-DDThh:mm:ss+TZD, for example, 2020-12-18T10:15:30+01:00.
no setter
hashCode → int
The hash code for this object.
no setterinherited
merchantAccount → String
The merchant account identifier, with which you want to process the order.
no setter
reference → String
A custom reference identifying the order.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(CreateOrderRequestBuilder)) → CreateOrderRequest
Rebuilds the instance.
inherited
toBuilder() → CreateOrderRequestBuilder
Converts the instance to a builder B.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

serializer → Serializer<CreateOrderRequest>
no setter