PaymentPatch class
Constructors
Properties
Methods
-
applyTo(
Payment entity) → Payment - Applies this patch to the given entity
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toPatch(
) → Map< Payment$, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateRefundsAt(
int index, RefundPatch patch(RefundPatch)) → PaymentPatch -
withAmount(
double? value) → PaymentPatch -
withCreatedAt(
DateTime? value) → PaymentPatch -
withErrorMessage(
String? value) → PaymentPatch -
withId(
String? value) → PaymentPatch -
withMetadata(
Map< String, dynamic> ? value) → PaymentPatch -
withMethod(
String? value) → PaymentPatch -
withRefunds(
List< Refund> ? value) → PaymentPatch -
withState(
String? value) → PaymentPatch -
withTransactionId(
String? value) → PaymentPatch -
withUpdatedAt(
DateTime? value) → PaymentPatch
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited