WooOrderRefund class
- Implementers
Constructors
-
WooOrderRefund.new({int? id, DateTime? dateCreated, DateTime? dateCreatedGmt, String? amount, String? reason, int? refundedBy, bool? refundedPayment, List<
WooMetaData> ? metaData, List<WooLineItem> ? lineItems, List<WooTaxLine> ? taxLines, List<WooShippingLine> ? shippingLines, List<WooOrderFeeLine> ? feeLines, bool? apiRefund, bool? apiRestock}) - WooOrderRefund.fake()
-
factory
-
WooOrderRefund.fromJson(Map<
String, dynamic> json)
Properties
- amount ↔ String?
-
Total refund amount. Optional.
getter/setter pair
- apiRefund ↔ bool?
-
When true, the payment gateway API is used to generate the refund. Write-only.
getter/setter pair
- apiRestock ↔ bool?
-
When true, the selected line items are restocked. Write-only.
getter/setter pair
- dateCreated ↔ DateTime?
-
The date the order refund was created, in the site's timezone. Read-only.
getter/setter pair
- dateCreatedGmt ↔ DateTime?
-
The date the order refund was created, as GMT. Read-only.
getter/setter pair
-
feeLines
↔ List<
WooOrderFeeLine> ? -
Fee lines data.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- id ↔ int?
-
Unique identifier for the resource. Read-only.
getter/setter pair
-
lineItems
↔ List<
WooLineItem> ? -
Line items data.
getter/setter pair
-
metaData
↔ List<
WooMetaData> ? -
Meta data.
getter/setter pair
- reason ↔ String?
-
Reason for refund.
getter/setter pair
- refundedBy ↔ int?
-
User ID of user who created the refund.
getter/setter pair
- refundedPayment ↔ bool?
-
If the payment was refunded via the API. Read-only.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
shippingLines
↔ List<
WooShippingLine> ? -
Shipping lines data.
getter/setter pair
-
taxLines
↔ List<
WooTaxLine> ? -
Tax lines data. Read-only.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override