directdebit

package
v1.0.25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BankAccount

type BankAccount struct {
	AccountNumber *string `json:"masked_bank_account_number"`
	AccountHash   *string `json:"bank_account_hash"`
}

type ChannelCode

type ChannelCode string
const (
	// debit card
	BRI       ChannelCode = "BRI"
	CIMBNIAGA ChannelCode = "CIMBNIAGA"

	// bank account
	BPI       ChannelCode = "BPI"
	Unionbank ChannelCode = "UBP"
	RCBC      ChannelCode = "RCBC"
	CHINABANK ChannelCode = "CHINABANK"
	Mandiri   ChannelCode = "MANDIRI"

	BBL ChannelCode = "BBL"
	SCB ChannelCode = "SCB"
	KTB ChannelCode = "KTB"
	BAY ChannelCode = "BAY"
)

type ChannelProperties

type ChannelProperties map[string]interface{}

type CreateMethod

type CreateMethod struct {
	ChannelCode       ChannelCode       `json:"channel_code"`
	ChannelProperties ChannelProperties `json:"channel_properties"`
}

type DebitCard

type DebitCard struct {
	MobileNumber *string `json:"mobile_number"`
	CardLastFour *string `json:"card_last_four"`
	CardExpiry   *string `json:"card_expiry"`
	Email        *string `json:"email"`
}

type Type

type Type string
const (
	BankAccountType  Type = "BANK_ACCOUNT"
	DebitCardType    Type = "DEBIT_CARD"
	BankRedirectType Type = "BANK_REDIRECT"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL