PaymentMethod class Null safety

Inheritance

Constructors

PaymentMethod(IuguClient client, String customerId)

Properties

apiResource APIResource
final
customerId String
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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 non-existent 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