UpdateRequest class final
Parameters for updating an order.
Carries clearPaymentMethod, customData, invoiceSettings, and finalize, among other supported fields.
Constructors
-
UpdateRequest({bool? clearPaymentMethod, CustomData? customData, InvoiceSettingsInput? invoiceSettings, bool? finalize, List<
LineItemInput> ? lineItems, String? number, String? receiptNumber, UpdateRequestPaymentMethodData? paymentMethodData, String? paymentMethodId, String? statementDescriptor, String? statementDescriptorPrefix, required String orderId}) -
const
-
UpdateRequest.fromJson(Map<
String, Object?> json) -
factory
Properties
- clearPaymentMethod → bool?
-
final
- customData → CustomData?
-
final
- finalize → bool?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- invoiceSettings → InvoiceSettingsInput?
-
final
-
lineItems
→ List<
LineItemInput> ? -
final
- number → String?
-
final
- orderId → String
-
final
- paymentMethodData → UpdateRequestPaymentMethodData?
-
final
- paymentMethodId → String?
-
final
- receiptNumber → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statementDescriptor → String?
-
final
- statementDescriptorPrefix → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited