iugu
Client Flutter/Dart de acesso aos principais recursos da Api da IUGU
Configuração
- Em algum StartUp de seu projeto, é necessário adicionar a apiKey encontrada no seu painel administrativo da IUGU, em Administração > Configuração de Contas. Nesta tela você encontra seu ID da Conta
IuguClient(
properties: IuguProperties(
apiKey: "SUA_APP_KEY_DA_IUGU",
urlApi: "https://api.iugu.com/v1/",
),
);
Documentação completa da API
A referência completa da Api pode ser encontrada em IUGU Api
Exemplo (outros exemplos)
- Lista Clientes
var meuIuguClient = IuguClient(
properties: IuguProperties(
apiKey: "SUA_APP_KEY_DA_IUGU",
urlApi: "https://api.iugu.com/v1/",
),
);
var apiClient = Customer(meuIuguClient);
myCustomer = await apiClient.create(
request: CustomerRequestMessage(
email: "bwolfnoob@gmail.com",
name: "Bwolf Teste 2 Flutter/Dart",
notes: "teste da api em Flutter/Dart",
customVariables: custom));
Informações Adicionais
- Este projeto foi todo feito com base nas APIs da Iugu e no projeto com o mesmo proposito desenvolvido em .NET
Libraries
- domain/entities/account_model
- domain/entities/address_model
- domain/entities/charge_model
- domain/entities/customer_model
- domain/entities/data_entry/credit_card
- domain/entities/data_entry/custom_variables
- domain/entities/data_entry/features
- domain/entities/data_entry/logs
- domain/entities/data_entry/prices
- domain/entities/invoice_item
- domain/entities/invoice_model
- domain/entities/payer_model
- domain/entities/payment_info_model
- domain/entities/payment_method_complete_model
- domain/entities/payment_method_model
- domain/entities/plan_models_list
- domain/entities/subscription_model
- domain/entities/token_model
- domain/entities/transfer_model
- domain/interfaces/api_resources_interface
- domain/interfaces/diposable_interface
- errors/failure_interface
- infra/models/request/account_configuration_request_message
- infra/models/request/account_request_message
- infra/models/request/bank_verification_request_message
- infra/models/request/charge_request_message
- infra/models/request/customer_request_message
- infra/models/request/financial_transaction_request_message
- infra/models/request/invoice_duplicate_request_message
- infra/models/request/invoice_request_message
- infra/models/request/payment_token_request
- infra/models/request/plan_request_message
- infra/models/request/subscription_request_message
- infra/models/request/verify_account_request_message
- infra/models/response/account_request_withdraw_response
- infra/models/response/account_response_message
- infra/models/response/charge_response_message
- infra/models/response/error_response_message
- infra/models/response/financial_transaction_response
- infra/models/response/get_account_response_message
- infra/models/response/marketplace_accouts_response
- infra/models/response/pagged_response_message
- infra/models/response/payment_token_response
- infra/models/response/request_withdraw_response_message
- infra/models/response/simple_response_message
- infra/models/response/transfers_report_response_message
- infra/models/response/verify_account_response_message
- infra/repositories/account
- infra/repositories/api_resource
- infra/repositories/charge
- infra/repositories/customer
- infra/repositories/financial_transaction
- infra/repositories/invoice
- infra/repositories/market_place
- infra/repositories/payment_method
- infra/repositories/payment_token
- infra/repositories/plans
- infra/repositories/reports
- infra/repositories/subscription
- infra/repositories/transfers
- iugu
- ui/iugu_client
- utils/constantes
- utils/enums
- utils/utils_iugu