UpdateRequest class final

Parameters for updating a payment method.

Carries customData, active, archived, and owner, among other supported fields.

Constructors

UpdateRequest({CustomDataPatch? customData, bool? active, bool? archived, UpdateRequestOwner? owner, required String paymentMethodId})
const
UpdateRequest.fromJson(Map<String, Object?> json)
factory

Properties

active → bool?
final
archived → bool?
final
customData → CustomDataPatch?
final
hashCode → int
The hash code for this object.
no setterinherited
owner → UpdateRequestOwner?
final
paymentMethodId → String
final
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
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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