PaymentMethod class

Inheritance

Constructors

PaymentMethod(IuguClient client, String customerId)

Properties

apiResource APIResource
final
customerId String
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

create(String description, CreditCard? data, bool setAsDefault, String? token, String? itemType) Future<PaymentMethodCompleteModel>
Cria uma Forma de Pagamento de Cliente.
delete(String id) Future<PaymentMethodCompleteModel>
dispose() → void
Disposes controllers, streams, etc.
override
get({required String id}) Future<PaymentMethodCompleteModel>
getAll() Future<List<PaymentMethodCompleteModel>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
put(String id, PaymentMethodCompleteModel model) Future<PaymentMethodCompleteModel>
toString() String
A string representation of this object.
inherited

Operators

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