GiftCardActivityRefund class

Annotations
  • @JsonSerializable()

Constructors

GiftCardActivityRefund({Money? amountMoney, String? paymentId, String? redeemActivityId, String? referenceId})
const
GiftCardActivityRefund.fromJson(Map<String, dynamic> json)
Converts a Map<String, dynamic> to a GiftCardActivityRefund
factory

Properties

amountMoney Money?
The amount added to the gift card for the refund. This value is a positive integer.
final
hashCode int
The hash code for this object.
no setterinherited
paymentId String?
Read only The ID of the refunded payment. Square populates this field if the refund is for a payment processed by Square and one of the following conditions is true:
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
redeemActivityId String?
The ID of the refunded REDEEM gift card activity. Square populates this field if the payment_id in the corresponding RefundPayment request represents a redemption made by the same gift card. Note that you must use RefundPayment to refund a gift card payment to the same gift card if the payment was processed by Square.
final
referenceId String?
A client-specified ID that associates the gift card activity with an entity in another system.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts a GiftCardActivityRefund to a Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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