Xendit class
xendit helo world heo gais
- Inheritance
-
- Object
- GeneralPaymentCore
- Xendit
- Available extensions
- XenditExtensioncreateAccount
- XenditExtensionCreateInvoice
- XenditExtensioncreatePayOutLink
- XenditExtensiongetAccount
- XenditExtensiongetBalance
- XenditExtensionGetInvoice
- XenditExtensionGetInvoiceByExternalId
- XenditExtensionGetInvoices
- XenditExtensiongetPayOutLinkById
- XenditExtensionsetInvoiceExpireByInvoiceId
- XenditExtensionupdateAccount
- XenditExtensionvoidPayOutLinkById
Constructors
- Xendit.new({required GeneralPaymentFunction onGeneralPayment})
Properties
- generalPayment → GeneralPayment
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- onGeneralPayment → GeneralPaymentFunction
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createAccount(
{required String email, required String type, required String bussiness_name, required String xenditApiKey, Map< String, String> ? headers}) → Future<Account> -
Available on Xendit, provided by the XenditExtensioncreateAccount extension
-
createFeeRule(
{required String name, required String description, required List< Map> routes, required String xenditApiKey, Map<String, String> ? headers}) → Future<TransactionBalanceAccount> -
createInvoice(
{String forUserId = "", String withFeeRule = "", required String external_id, required int amount, String? description, String? payer_email, Map? customer, Map? customer_notification_preference, int? invoice_duration, String? success_redirect_url, String? failure_redirect_url, List< String> ? payment_methods, String? currency, bool? fixed_va, String? callback_virtual_account_id, String? mid_label, String? reminder_time_unit, int? reminder_time, String? locale, List? items, List? fees, bool? should_authenticate_credit_card, required String xenditApiKey, Map<String, String> ? headers}) → Future<Invoice> -
Available on Xendit, provided by the XenditExtensionCreateInvoice extension
invoices -
createPayOutLink(
{String forUserId = "", required String external_id, required int amount, required String email, required String xenditApiKey}) → Future< PayOutLink> -
Available on Xendit, provided by the XenditExtensioncreatePayOutLink extension
-
getAccount(
{required String id, required String xenditApiKey, Map< String, String> ? headers}) → Future<Account> -
Available on Xendit, provided by the XenditExtensiongetAccount extension
-
getBalance(
{String forUserId = "", required String account_type, required String xenditApiKey}) → Future< Balance> -
Available on Xendit, provided by the XenditExtensiongetBalance extension
-
getInvoice(
{String forUserId = "", required String invoice_id, required String xenditApiKey}) → Future< Invoice> -
Available on Xendit, provided by the XenditExtensionGetInvoice extension
-
getInvoiceByExternalId(
{String forUserId = "", required String external_id, required String xenditApiKey}) → Future< Invoice> -
Available on Xendit, provided by the XenditExtensionGetInvoiceByExternalId extension
-
getInvoices(
{String forUserId = "", required String xenditApiKey}) → Future< Invoices> -
Available on Xendit, provided by the XenditExtensionGetInvoices extension
-
getPayOutLinkById(
{String forUserId = "", required String id, required String xenditApiKey}) → Future< PayOutLink> -
Available on Xendit, provided by the XenditExtensiongetPayOutLinkById extension
-
getTransferBalanceAccount(
{required String reference, Map< String, String> ? headers, required String xenditApiKey}) → Future<TransactionBalanceAccount> -
invokeBuilder<
T> ({required GeneralPaymentInvokeParameters< T> parameters}) → FutureOr<T> -
inherited
-
invokeRaw<
T> ({required XenditInvokeParameters< T> parameters}) → FutureOr<T> - request method support all update
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setInvoiceExpireByInvoiceId(
{String forUserId = "", required String invoice_id, required String xenditApiKey}) → Future< Invoice> -
Available on Xendit, provided by the XenditExtensionsetInvoiceExpireByInvoiceId extension
-
toString(
) → String -
A string representation of this object.
inherited
-
transferBalanceAccount(
{required String reference, required int amount, required String source_user_id, required String destination_user_id, required String xenditApiKey, Map< String, String> ? headers}) → Future<TransactionBalanceAccount> -
updateAccount(
{required String id, required String email, required String bussiness_name, Map< String, String> ? headers, required String xenditApiKey}) → Future<Account> -
Available on Xendit, provided by the XenditExtensionupdateAccount extension
-
voidPayOutLinkById(
{String forUserId = "", required String xenditApiKey, required String id}) → Future< PayOutLink> -
Available on Xendit, provided by the XenditExtensionvoidPayOutLinkById extension
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- regExp_http_method → RegExp
-
final