models

package
v0.9.9 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessTokenResponse

type AccessTokenResponse struct {

	// access token
	AccessToken string `json:"accessToken,omitempty"`

	// additional data
	AdditionalData string `json:"additionalData,omitempty"`

	// expires in
	ExpiresIn string `json:"expiresIn,omitempty"`

	// response code
	ResponseCode string `json:"responseCode,omitempty"`

	// response message
	ResponseMessage string `json:"responseMessage,omitempty"`

	// response status
	ResponseStatus string `json:"responseStatus,omitempty"`

	// token type
	TokenType string `json:"tokenType,omitempty"`
}

AccessTokenResponse access token response

swagger:model AccessTokenResponse

func (*AccessTokenResponse) ContextValidate

func (m *AccessTokenResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this access token response based on context it is used

func (*AccessTokenResponse) MarshalBinary

func (m *AccessTokenResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccessTokenResponse) UnmarshalBinary

func (m *AccessTokenResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccessTokenResponse) Validate

func (m *AccessTokenResponse) Validate(formats strfmt.Registry) error

Validate validates this access token response

type AccountInfo

type AccountInfo struct {

	// available balance
	AvailableBalance *BalanceDetail `json:"availableBalance,omitempty"`
}

AccountInfo account info

swagger:model AccountInfo

func (*AccountInfo) ContextValidate

func (m *AccountInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this account info based on the context it is used

func (*AccountInfo) MarshalBinary

func (m *AccountInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccountInfo) UnmarshalBinary

func (m *AccountInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccountInfo) Validate

func (m *AccountInfo) Validate(formats strfmt.Registry) error

Validate validates this account info

type AmountDetail

type AmountDetail struct {

	// currency
	Currency string `json:"currency,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

AmountDetail amount detail

swagger:model AmountDetail

func (*AmountDetail) ContextValidate

func (m *AmountDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this amount detail based on context it is used

func (*AmountDetail) MarshalBinary

func (m *AmountDetail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AmountDetail) UnmarshalBinary

func (m *AmountDetail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AmountDetail) Validate

func (m *AmountDetail) Validate(formats strfmt.Registry) error

Validate validates this amount detail

type Apiv1GenericVirtualAccountAdditionalInfo

type Apiv1GenericVirtualAccountAdditionalInfo struct {

	// Specify whether the fee is borne by the buyer (true) or merchant (false)
	IsFeeChargedToUser bool `json:"isFeeChargedToUser,omitempty"`

	// max amount
	MaxAmount string `json:"maxAmount,omitempty"`

	// min amount
	MinAmount string `json:"minAmount,omitempty"`
}

Apiv1GenericVirtualAccountAdditionalInfo apiv1 generic virtual account additional info

swagger:model apiv1.GenericVirtualAccountAdditionalInfo

func (*Apiv1GenericVirtualAccountAdditionalInfo) ContextValidate

ContextValidate validates this apiv1 generic virtual account additional info based on context it is used

func (*Apiv1GenericVirtualAccountAdditionalInfo) MarshalBinary

func (m *Apiv1GenericVirtualAccountAdditionalInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Apiv1GenericVirtualAccountAdditionalInfo) UnmarshalBinary

func (m *Apiv1GenericVirtualAccountAdditionalInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Apiv1GenericVirtualAccountAdditionalInfo) Validate

Validate validates this apiv1 generic virtual account additional info

type BalanceDetail

type BalanceDetail struct {

	// currency
	Currency string `json:"currency,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

BalanceDetail balance detail

swagger:model BalanceDetail

func (*BalanceDetail) ContextValidate

func (m *BalanceDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this balance detail based on context it is used

func (*BalanceDetail) MarshalBinary

func (m *BalanceDetail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BalanceDetail) UnmarshalBinary

func (m *BalanceDetail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BalanceDetail) Validate

func (m *BalanceDetail) Validate(formats strfmt.Registry) error

Validate validates this balance detail

type BankAccountValidationRequest

type BankAccountValidationRequest struct {

	// additional info
	AdditionalInfo *DisbursementAdditionalData `json:"additionalInfo,omitempty"`

	// beneficiary account no
	BeneficiaryAccountNo string `json:"beneficiaryAccountNo,omitempty"`

	// beneficiary bank code
	BeneficiaryBankCode string `json:"beneficiaryBankCode,omitempty"`

	// partner reference no
	PartnerReferenceNo string `json:"partnerReferenceNo,omitempty"`
}

BankAccountValidationRequest bank account validation request

swagger:model BankAccountValidationRequest

func (*BankAccountValidationRequest) ContextValidate

func (m *BankAccountValidationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this bank account validation request based on the context it is used

func (*BankAccountValidationRequest) MarshalBinary

func (m *BankAccountValidationRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BankAccountValidationRequest) UnmarshalBinary

func (m *BankAccountValidationRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BankAccountValidationRequest) Validate

func (m *BankAccountValidationRequest) Validate(formats strfmt.Registry) error

Validate validates this bank account validation request

type BankAccountValidationResponse

type BankAccountValidationResponse struct {

	// additional info
	AdditionalInfo *DisbursementAdditionalData `json:"additionalInfo,omitempty"`

	// beneficiary account name
	BeneficiaryAccountName string `json:"beneficiaryAccountName,omitempty"`

	// beneficiary account no
	BeneficiaryAccountNo string `json:"beneficiaryAccountNo,omitempty"`

	// beneficiary bank code
	BeneficiaryBankCode string `json:"beneficiaryBankCode,omitempty"`

	// beneficiary bank name
	BeneficiaryBankName string `json:"beneficiaryBankName,omitempty"`

	// currency
	Currency string `json:"currency,omitempty"`

	// partner reference no
	PartnerReferenceNo string `json:"partnerReferenceNo,omitempty"`

	// response code
	ResponseCode string `json:"responseCode,omitempty"`

	// response message
	ResponseMessage string `json:"responseMessage,omitempty"`
}

BankAccountValidationResponse bank account validation response

swagger:model BankAccountValidationResponse

func (*BankAccountValidationResponse) ContextValidate

func (m *BankAccountValidationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this bank account validation response based on the context it is used

func (*BankAccountValidationResponse) MarshalBinary

func (m *BankAccountValidationResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BankAccountValidationResponse) UnmarshalBinary

func (m *BankAccountValidationResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BankAccountValidationResponse) Validate

func (m *BankAccountValidationResponse) Validate(formats strfmt.Registry) error

Validate validates this bank account validation response

type CancelHostToHostPaymentRequest

type CancelHostToHostPaymentRequest struct {

	// additional info
	AdditionalInfo *HostToHostPaymentAdditionalInfo `json:"additionalInfo,omitempty"`

	// original partner reference no
	OriginalPartnerReferenceNo string `json:"originalPartnerReferenceNo,omitempty"`

	// original reference no
	OriginalReferenceNo string `json:"originalReferenceNo,omitempty"`

	// reason
	Reason string `json:"reason,omitempty"`
}

CancelHostToHostPaymentRequest cancel host to host payment request

swagger:model CancelHostToHostPaymentRequest

func (*CancelHostToHostPaymentRequest) ContextValidate

func (m *CancelHostToHostPaymentRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cancel host to host payment request based on the context it is used

func (*CancelHostToHostPaymentRequest) MarshalBinary

func (m *CancelHostToHostPaymentRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CancelHostToHostPaymentRequest) UnmarshalBinary

func (m *CancelHostToHostPaymentRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CancelHostToHostPaymentRequest) Validate

func (m *CancelHostToHostPaymentRequest) Validate(formats strfmt.Registry) error

Validate validates this cancel host to host payment request

type CancelHostToHostPaymentResponse

type CancelHostToHostPaymentResponse struct {

	// additional info
	AdditionalInfo *HostToHostPaymentAdditionalInfo `json:"additionalInfo,omitempty"`

	// original partner reference no
	OriginalPartnerReferenceNo string `json:"originalPartnerReferenceNo,omitempty"`

	// response code
	ResponseCode string `json:"responseCode,omitempty"`

	// response message
	ResponseMessage string `json:"responseMessage,omitempty"`
}

CancelHostToHostPaymentResponse cancel host to host payment response

swagger:model CancelHostToHostPaymentResponse

func (*CancelHostToHostPaymentResponse) ContextValidate

func (m *CancelHostToHostPaymentResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cancel host to host payment response based on the context it is used

func (*CancelHostToHostPaymentResponse) MarshalBinary

func (m *CancelHostToHostPaymentResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CancelHostToHostPaymentResponse) UnmarshalBinary

func (m *CancelHostToHostPaymentResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CancelHostToHostPaymentResponse) Validate

Validate validates this cancel host to host payment response

type CheckPaymentStatusEwalletRequest

type CheckPaymentStatusEwalletRequest struct {

	// additional info
	AdditionalInfo *HostToHostPaymentAdditionalInfo `json:"additionalInfo,omitempty"`

	// original partner reference no
	OriginalPartnerReferenceNo string `json:"originalPartnerReferenceNo,omitempty"`

	// original reference no
	OriginalReferenceNo string `json:"originalReferenceNo,omitempty"`
}

CheckPaymentStatusEwalletRequest check payment status ewallet request

swagger:model CheckPaymentStatusEwalletRequest

func (*CheckPaymentStatusEwalletRequest) ContextValidate

func (m *CheckPaymentStatusEwalletRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this check payment status ewallet request based on the context it is used

func (*CheckPaymentStatusEwalletRequest) MarshalBinary

func (m *CheckPaymentStatusEwalletRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CheckPaymentStatusEwalletRequest) UnmarshalBinary

func (m *CheckPaymentStatusEwalletRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CheckPaymentStatusEwalletRequest) Validate

Validate validates this check payment status ewallet request

type CheckPaymentStatusEwalletResponse

type CheckPaymentStatusEwalletResponse struct {

	// additional info
	AdditionalInfo *HostToHostPaymentAdditionalInfo `json:"additionalInfo,omitempty"`

	// latest transaction status
	LatestTransactionStatus string `json:"latestTransactionStatus,omitempty"`

	// original partner reference no
	OriginalPartnerReferenceNo string `json:"originalPartnerReferenceNo,omitempty"`

	// response code
	ResponseCode string `json:"responseCode,omitempty"`

	// response message
	ResponseMessage string `json:"responseMessage,omitempty"`

	// service code
	ServiceCode string `json:"serviceCode,omitempty"`
}

CheckPaymentStatusEwalletResponse check payment status ewallet response

swagger:model CheckPaymentStatusEwalletResponse

func (*CheckPaymentStatusEwalletResponse) ContextValidate

func (m *CheckPaymentStatusEwalletResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this check payment status ewallet response based on the context it is used

func (*CheckPaymentStatusEwalletResponse) MarshalBinary

func (m *CheckPaymentStatusEwalletResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CheckPaymentStatusEwalletResponse) UnmarshalBinary

func (m *CheckPaymentStatusEwalletResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CheckPaymentStatusEwalletResponse) Validate

Validate validates this check payment status ewallet response

type CheckPaymentStatusVirtualAccountData

type CheckPaymentStatusVirtualAccountData struct {

	// customer no
	CustomerNo string `json:"customerNo,omitempty"`

	// expired date
	ExpiredDate string `json:"expiredDate,omitempty"`

	// inquiry request Id
	InquiryRequestID string `json:"inquiryRequestId,omitempty"`

	// paid amount
	PaidAmount *AmountDetail `json:"paidAmount,omitempty"`

	// partner service Id
	PartnerServiceID string `json:"partnerServiceId,omitempty"`

	// payment flag reason
	PaymentFlagReason *PaymentFlagReason `json:"paymentFlagReason,omitempty"`

	// payment flag status
	PaymentFlagStatus string `json:"paymentFlagStatus,omitempty"`

	// payment request Id
	PaymentRequestID string `json:"paymentRequestId,omitempty"`

	// total amount
	TotalAmount *AmountDetail `json:"totalAmount,omitempty"`

	// trx date time
	TrxDateTime string `json:"trxDateTime,omitempty"`

	// virtual account name
	VirtualAccountName string `json:"virtualAccountName,omitempty"`

	// virtual account no
	VirtualAccountNo string `json:"virtualAccountNo,omitempty"`

	// virtual account trx type
	VirtualAccountTrxType string `json:"virtualAccountTrxType,omitempty"`
}

CheckPaymentStatusVirtualAccountData check payment status virtual account data

swagger:model CheckPaymentStatusVirtualAccountData

func (*CheckPaymentStatusVirtualAccountData) ContextValidate

func (m *CheckPaymentStatusVirtualAccountData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this check payment status virtual account data based on the context it is used

func (*CheckPaymentStatusVirtualAccountData) MarshalBinary

func (m *CheckPaymentStatusVirtualAccountData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CheckPaymentStatusVirtualAccountData) UnmarshalBinary

func (m *CheckPaymentStatusVirtualAccountData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CheckPaymentStatusVirtualAccountData) Validate

Validate validates this check payment status virtual account data

type CheckVirtualAccountPaymentStatusRequest

type CheckVirtualAccountPaymentStatusRequest struct {

	// customer no
	CustomerNo string `json:"customerNo,omitempty"`

	// inquiry request Id
	InquiryRequestID string `json:"inquiryRequestId,omitempty"`

	// partner service Id
	PartnerServiceID string `json:"partnerServiceId,omitempty"`

	// virtual account no
	VirtualAccountNo string `json:"virtualAccountNo,omitempty"`
}

CheckVirtualAccountPaymentStatusRequest check virtual account payment status request

swagger:model CheckVirtualAccountPaymentStatusRequest

func (*CheckVirtualAccountPaymentStatusRequest) ContextValidate

ContextValidate validates this check virtual account payment status request based on context it is used

func (*CheckVirtualAccountPaymentStatusRequest) MarshalBinary

func (m *CheckVirtualAccountPaymentStatusRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CheckVirtualAccountPaymentStatusRequest) UnmarshalBinary

func (m *CheckVirtualAccountPaymentStatusRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CheckVirtualAccountPaymentStatusRequest) Validate

Validate validates this check virtual account payment status request

type CheckVirtualAccountPaymentStatusResponse

type CheckVirtualAccountPaymentStatusResponse struct {

	// response code
	ResponseCode string `json:"responseCode,omitempty"`

	// response message
	ResponseMessage string `json:"responseMessage,omitempty"`

	// virtual account data
	VirtualAccountData *CheckPaymentStatusVirtualAccountData `json:"virtualAccountData,omitempty"`
}

CheckVirtualAccountPaymentStatusResponse check virtual account payment status response

swagger:model CheckVirtualAccountPaymentStatusResponse

func (*CheckVirtualAccountPaymentStatusResponse) ContextValidate

ContextValidate validate this check virtual account payment status response based on the context it is used

func (*CheckVirtualAccountPaymentStatusResponse) MarshalBinary

func (m *CheckVirtualAccountPaymentStatusResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CheckVirtualAccountPaymentStatusResponse) UnmarshalBinary

func (m *CheckVirtualAccountPaymentStatusResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CheckVirtualAccountPaymentStatusResponse) Validate

Validate validates this check virtual account payment status response

type CreateDisbursementRequest

type CreateDisbursementRequest struct {

	// additional info
	AdditionalInfo *DisbursementAdditionalData `json:"additionalInfo,omitempty"`

	// amount
	Amount *AmountDetail `json:"amount,omitempty"`

	// beneficiary account name
	BeneficiaryAccountName string `json:"beneficiaryAccountName,omitempty"`

	// beneficiary account no
	BeneficiaryAccountNo string `json:"beneficiaryAccountNo,omitempty"`

	// beneficiary address
	BeneficiaryAddress string `json:"beneficiaryAddress,omitempty"`

	// beneficiary bank code
	BeneficiaryBankCode string `json:"beneficiaryBankCode,omitempty"`

	// beneficiary bank name
	BeneficiaryBankName string `json:"beneficiaryBankName,omitempty"`

	// beneficiary email
	BeneficiaryEmail string `json:"beneficiaryEmail,omitempty"`

	// currency
	Currency string `json:"currency,omitempty"`

	// customer reference
	CustomerReference string `json:"customerReference,omitempty"`

	// partner reference no
	PartnerReferenceNo string `json:"partnerReferenceNo,omitempty"`

	// source account no
	SourceAccountNo string `json:"sourceAccountNo,omitempty"`

	// transaction date
	TransactionDate string `json:"transactionDate,omitempty"`
}

CreateDisbursementRequest create disbursement request

swagger:model CreateDisbursementRequest

func (*CreateDisbursementRequest) ContextValidate

func (m *CreateDisbursementRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create disbursement request based on the context it is used

func (*CreateDisbursementRequest) MarshalBinary

func (m *CreateDisbursementRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateDisbursementRequest) UnmarshalBinary

func (m *CreateDisbursementRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateDisbursementRequest) Validate

func (m *CreateDisbursementRequest) Validate(formats strfmt.Registry) error

Validate validates this create disbursement request

type CreateDisbursementResponse

type CreateDisbursementResponse struct {

	// additional info
	AdditionalInfo *DisbursementAdditionalData `json:"additionalInfo,omitempty"`

	// amount
	Amount *AmountDetail `json:"amount,omitempty"`

	// beneficiary account no
	BeneficiaryAccountNo string `json:"beneficiaryAccountNo,omitempty"`

	// beneficiary bank code
	BeneficiaryBankCode string `json:"beneficiaryBankCode,omitempty"`

	// partner reference no
	PartnerReferenceNo string `json:"partnerReferenceNo,omitempty"`

	// reference no
	ReferenceNo string `json:"referenceNo,omitempty"`

	// response code
	ResponseCode string `json:"responseCode,omitempty"`

	// response message
	ResponseMessage string `json:"responseMessage,omitempty"`
}

CreateDisbursementResponse create disbursement response

swagger:model CreateDisbursementResponse

func (*CreateDisbursementResponse) ContextValidate

func (m *CreateDisbursementResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create disbursement response based on the context it is used

func (*CreateDisbursementResponse) MarshalBinary

func (m *CreateDisbursementResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateDisbursementResponse) UnmarshalBinary

func (m *CreateDisbursementResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateDisbursementResponse) Validate

func (m *CreateDisbursementResponse) Validate(formats strfmt.Registry) error

Validate validates this create disbursement response

type CreateEwalletRequest

type CreateEwalletRequest struct {

	// additional info
	AdditionalInfo *CreateEwalletRequestAdditionalInfo `json:"additionalInfo,omitempty"`

	// amount
	Amount *AmountDetail `json:"amount,omitempty"`

	// partner reference no
	PartnerReferenceNo string `json:"partnerReferenceNo,omitempty"`

	// point of initiation
	PointOfInitiation string `json:"pointOfInitiation,omitempty"`

	// url param
	URLParam []*URLParam `json:"urlParam"`

	// valid up to
	ValidUpTo string `json:"validUpTo,omitempty"`
}

CreateEwalletRequest create ewallet request

swagger:model CreateEwalletRequest

func (*CreateEwalletRequest) ContextValidate

func (m *CreateEwalletRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create ewallet request based on the context it is used

func (*CreateEwalletRequest) MarshalBinary

func (m *CreateEwalletRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateEwalletRequest) UnmarshalBinary

func (m *CreateEwalletRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateEwalletRequest) Validate

func (m *CreateEwalletRequest) Validate(formats strfmt.Registry) error

Validate validates this create ewallet request

type CreateEwalletRequestAdditionalInfo

type CreateEwalletRequestAdditionalInfo struct {

	// channel
	Channel string `json:"channel,omitempty"`

	// customer email
	CustomerEmail string `json:"customerEmail,omitempty"`

	// customer name
	CustomerName string `json:"customerName,omitempty"`

	// customer phone
	CustomerPhone string `json:"customerPhone,omitempty"`
}

CreateEwalletRequestAdditionalInfo create ewallet request additional info

swagger:model CreateEwalletRequestAdditionalInfo

func (*CreateEwalletRequestAdditionalInfo) ContextValidate

func (m *CreateEwalletRequestAdditionalInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create ewallet request additional info based on context it is used

func (*CreateEwalletRequestAdditionalInfo) MarshalBinary

func (m *CreateEwalletRequestAdditionalInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateEwalletRequestAdditionalInfo) UnmarshalBinary

func (m *CreateEwalletRequestAdditionalInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateEwalletRequestAdditionalInfo) Validate

Validate validates this create ewallet request additional info

type CreateEwalletResponse

type CreateEwalletResponse struct {

	// additional info
	AdditionalInfo *CreateEwalletResponseAdditionalInfo `json:"additionalInfo,omitempty"`

	// app redirect Url
	AppRedirectURL string `json:"appRedirectUrl,omitempty"`

	// partner reference no
	PartnerReferenceNo string `json:"partnerReferenceNo,omitempty"`

	// response code
	ResponseCode string `json:"responseCode,omitempty"`

	// response message
	ResponseMessage string `json:"responseMessage,omitempty"`

	// web redirect Url
	WebRedirectURL string `json:"webRedirectUrl,omitempty"`
}

CreateEwalletResponse create ewallet response

swagger:model CreateEwalletResponse

func (*CreateEwalletResponse) ContextValidate

func (m *CreateEwalletResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create ewallet response based on the context it is used

func (*CreateEwalletResponse) MarshalBinary

func (m *CreateEwalletResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateEwalletResponse) UnmarshalBinary

func (m *CreateEwalletResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateEwalletResponse) Validate

func (m *CreateEwalletResponse) Validate(formats strfmt.Registry) error

Validate validates this create ewallet response

type CreateEwalletResponseAdditionalInfo

type CreateEwalletResponseAdditionalInfo struct {

	// channel code
	ChannelCode string `json:"channelCode,omitempty"`

	// expired time
	ExpiredTime string `json:"expiredTime,omitempty"`

	// original reference no
	OriginalReferenceNo string `json:"originalReferenceNo,omitempty"`
}

CreateEwalletResponseAdditionalInfo create ewallet response additional info

swagger:model CreateEwalletResponseAdditionalInfo

func (*CreateEwalletResponseAdditionalInfo) ContextValidate

func (m *CreateEwalletResponseAdditionalInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create ewallet response additional info based on context it is used

func (*CreateEwalletResponseAdditionalInfo) MarshalBinary

func (m *CreateEwalletResponseAdditionalInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateEwalletResponseAdditionalInfo) UnmarshalBinary

func (m *CreateEwalletResponseAdditionalInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateEwalletResponseAdditionalInfo) Validate

Validate validates this create ewallet response additional info

type CreateEwalletTopupRequest

type CreateEwalletTopupRequest struct {

	// additional info
	AdditionalInfo *DisbursementAdditionalData `json:"additionalInfo,omitempty"`

	// amount
	Amount *AmountDetail `json:"amount,omitempty"`

	// customer name
	CustomerName string `json:"customerName,omitempty"`

	// customer number
	CustomerNumber string `json:"customerNumber,omitempty"`

	// partner reference no
	PartnerReferenceNo string `json:"partnerReferenceNo,omitempty"`
}

CreateEwalletTopupRequest create ewallet topup request

swagger:model CreateEwalletTopupRequest

func (*CreateEwalletTopupRequest) ContextValidate

func (m *CreateEwalletTopupRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create ewallet topup request based on the context it is used

func (*CreateEwalletTopupRequest) MarshalBinary

func (m *CreateEwalletTopupRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateEwalletTopupRequest) UnmarshalBinary

func (m *CreateEwalletTopupRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateEwalletTopupRequest) Validate

func (m *CreateEwalletTopupRequest) Validate(formats strfmt.Registry) error

Validate validates this create ewallet topup request

type CreateEwalletTopupResponse

type CreateEwalletTopupResponse struct {

	// additional info
	AdditionalInfo *DisbursementAdditionalData `json:"additionalInfo,omitempty"`

	// amount
	Amount *AmountDetail `json:"amount,omitempty"`

	// customer number
	CustomerNumber string `json:"customerNumber,omitempty"`

	// partner reference no
	PartnerReferenceNo string `json:"partnerReferenceNo,omitempty"`

	// reference no
	ReferenceNo string `json:"referenceNo,omitempty"`

	// response code
	ResponseCode string `json:"responseCode,omitempty"`

	// response message
	ResponseMessage string `json:"responseMessage,omitempty"`
}

CreateEwalletTopupResponse create ewallet topup response

swagger:model CreateEwalletTopupResponse

func (*CreateEwalletTopupResponse) ContextValidate

func (m *CreateEwalletTopupResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create ewallet topup response based on the context it is used

func (*CreateEwalletTopupResponse) MarshalBinary

func (m *CreateEwalletTopupResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateEwalletTopupResponse) UnmarshalBinary

func (m *CreateEwalletTopupResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateEwalletTopupResponse) Validate

func (m *CreateEwalletTopupResponse) Validate(formats strfmt.Registry) error

Validate validates this create ewallet topup response

type CreateMerchantRequest

type CreateMerchantRequest struct {

	// Business name of the merchant
	// required: true
	// Required: true
	BusinessName *string `json:"business_name"`

	// Name of the merchant
	// required: true
	// Required: true
	Name *string `json:"name"`
}

CreateMerchantRequest create merchant request

swagger:model CreateMerchantRequest

func (*CreateMerchantRequest) ContextValidate

func (m *CreateMerchantRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create merchant request based on context it is used

func (*CreateMerchantRequest) MarshalBinary

func (m *CreateMerchantRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateMerchantRequest) UnmarshalBinary

func (m *CreateMerchantRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateMerchantRequest) Validate

func (m *CreateMerchantRequest) Validate(formats strfmt.Registry) error

Validate validates this create merchant request

type CreateVirtualAccountRequest

type CreateVirtualAccountRequest struct {

	// Object with more details
	AdditionalInfo struct {
		Apiv1GenericVirtualAccountAdditionalInfo
	} `json:"additionalInfo,omitempty"`

	// Nomor untuk VA
	CustomerNo string `json:"customerNo,omitempty"`

	// ISO-8601
	ExpiredDate string `json:"expiredDate,omitempty"`

	// Prefix dari Duitku
	PartnerServiceID string `json:"partnerServiceId,omitempty"`

	// Object with more details
	TotalAmount struct {
		AmountDetail
	} `json:"totalAmount,omitempty"`

	// ID transaksi
	TrxID string `json:"trxId,omitempty"`

	// Nama akan ditampilkan di sisi bank
	VirtualAccountName string `json:"virtualAccountName,omitempty"`

	// PartnerServiceId + CustomerNo
	VirtualAccountNo string `json:"virtualAccountNo,omitempty"`

	// Close Amount : C, Open Amount : O
	VirtualAccountTrxType string `json:"virtualAccountTrxType,omitempty"`
}

CreateVirtualAccountRequest create virtual account request

swagger:model CreateVirtualAccountRequest

func (*CreateVirtualAccountRequest) ContextValidate

func (m *CreateVirtualAccountRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create virtual account request based on the context it is used

func (*CreateVirtualAccountRequest) MarshalBinary

func (m *CreateVirtualAccountRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateVirtualAccountRequest) UnmarshalBinary

func (m *CreateVirtualAccountRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateVirtualAccountRequest) Validate

func (m *CreateVirtualAccountRequest) Validate(formats strfmt.Registry) error

Validate validates this create virtual account request

type CreateVirtualAccountResponse

type CreateVirtualAccountResponse struct {

	// response code
	ResponseCode string `json:"responseCode,omitempty"`

	// response message
	ResponseMessage string `json:"responseMessage,omitempty"`

	// virtual account data
	VirtualAccountData *GenericVirtualAccountData `json:"virtualAccountData,omitempty"`
}

CreateVirtualAccountResponse create virtual account response

swagger:model CreateVirtualAccountResponse

func (*CreateVirtualAccountResponse) ContextValidate

func (m *CreateVirtualAccountResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create virtual account response based on the context it is used

func (*CreateVirtualAccountResponse) MarshalBinary

func (m *CreateVirtualAccountResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateVirtualAccountResponse) UnmarshalBinary

func (m *CreateVirtualAccountResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateVirtualAccountResponse) Validate

func (m *CreateVirtualAccountResponse) Validate(formats strfmt.Registry) error

Validate validates this create virtual account response

type DeleteVirtualAccountRequest

type DeleteVirtualAccountRequest struct {

	// customer no
	CustomerNo string `json:"customerNo,omitempty"`

	// partner service Id
	PartnerServiceID string `json:"partnerServiceId,omitempty"`

	// trx Id
	TrxID string `json:"trxId,omitempty"`

	// virtual account no
	VirtualAccountNo string `json:"virtualAccountNo,omitempty"`
}

DeleteVirtualAccountRequest delete virtual account request

swagger:model DeleteVirtualAccountRequest

func (*DeleteVirtualAccountRequest) ContextValidate

func (m *DeleteVirtualAccountRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete virtual account request based on context it is used

func (*DeleteVirtualAccountRequest) MarshalBinary

func (m *DeleteVirtualAccountRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteVirtualAccountRequest) UnmarshalBinary

func (m *DeleteVirtualAccountRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteVirtualAccountRequest) Validate

func (m *DeleteVirtualAccountRequest) Validate(formats strfmt.Registry) error

Validate validates this delete virtual account request

type DeleteVirtualAccountResponse

type DeleteVirtualAccountResponse struct {

	// response code
	ResponseCode string `json:"responseCode,omitempty"`

	// response message
	ResponseMessage string `json:"responseMessage,omitempty"`

	// virtual account data
	VirtualAccountData *DeleteVirtualAccountRequest `json:"virtualAccountData,omitempty"`
}

DeleteVirtualAccountResponse delete virtual account response

swagger:model DeleteVirtualAccountResponse

func (*DeleteVirtualAccountResponse) ContextValidate

func (m *DeleteVirtualAccountResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delete virtual account response based on the context it is used

func (*DeleteVirtualAccountResponse) MarshalBinary

func (m *DeleteVirtualAccountResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteVirtualAccountResponse) UnmarshalBinary

func (m *DeleteVirtualAccountResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteVirtualAccountResponse) Validate

func (m *DeleteVirtualAccountResponse) Validate(formats strfmt.Registry) error

Validate validates this delete virtual account response

type DisbursementAdditionalData

type DisbursementAdditionalData struct {

	// channel
	Channel string `json:"channel,omitempty"`

	// device Id
	DeviceID string `json:"deviceId,omitempty"`

	// emoney source account no
	EmoneySourceAccountNo string `json:"emoneySourceAccountNo,omitempty"`

	// platform code
	PlatformCode string `json:"platformCode,omitempty"`

	// remark
	Remark string `json:"remark,omitempty"`

	// validation reference no
	ValidationReferenceNo string `json:"validationReferenceNo,omitempty"`
}

DisbursementAdditionalData disbursement additional data

swagger:model DisbursementAdditionalData

func (*DisbursementAdditionalData) ContextValidate

func (m *DisbursementAdditionalData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this disbursement additional data based on context it is used

func (*DisbursementAdditionalData) MarshalBinary

func (m *DisbursementAdditionalData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DisbursementAdditionalData) UnmarshalBinary

func (m *DisbursementAdditionalData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DisbursementAdditionalData) Validate

func (m *DisbursementAdditionalData) Validate(formats strfmt.Registry) error

Validate validates this disbursement additional data

type EmoneyAccountValidationRequest

type EmoneyAccountValidationRequest struct {

	// additional info
	AdditionalInfo *DisbursementAdditionalData `json:"additionalInfo,omitempty"`

	// amount
	Amount *AmountDetail `json:"amount,omitempty"`

	// customer number
	CustomerNumber string `json:"customerNumber,omitempty"`

	// partner reference no
	PartnerReferenceNo string `json:"partnerReferenceNo,omitempty"`

	// transaction date
	TransactionDate string `json:"transactionDate,omitempty"`
}

EmoneyAccountValidationRequest emoney account validation request

swagger:model EmoneyAccountValidationRequest

func (*EmoneyAccountValidationRequest) ContextValidate

func (m *EmoneyAccountValidationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this emoney account validation request based on the context it is used

func (*EmoneyAccountValidationRequest) MarshalBinary

func (m *EmoneyAccountValidationRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EmoneyAccountValidationRequest) UnmarshalBinary

func (m *EmoneyAccountValidationRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EmoneyAccountValidationRequest) Validate

func (m *EmoneyAccountValidationRequest) Validate(formats strfmt.Registry) error

Validate validates this emoney account validation request

type EmoneyAccountValidationResponse

type EmoneyAccountValidationResponse struct {

	// additional info
	AdditionalInfo *DisbursementAdditionalData `json:"additionalInfo,omitempty"`

	// amount
	Amount *AmountDetail `json:"amount,omitempty"`

	// customer name
	CustomerName string `json:"customerName,omitempty"`

	// customer number
	CustomerNumber string `json:"customerNumber,omitempty"`

	// response code
	ResponseCode string `json:"responseCode,omitempty"`

	// response message
	ResponseMessage string `json:"responseMessage,omitempty"`
}

EmoneyAccountValidationResponse emoney account validation response

swagger:model EmoneyAccountValidationResponse

func (*EmoneyAccountValidationResponse) ContextValidate

func (m *EmoneyAccountValidationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this emoney account validation response based on the context it is used

func (*EmoneyAccountValidationResponse) MarshalBinary

func (m *EmoneyAccountValidationResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EmoneyAccountValidationResponse) UnmarshalBinary

func (m *EmoneyAccountValidationResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EmoneyAccountValidationResponse) Validate

Validate validates this emoney account validation response

type GenericVirtualAccountAdditionalInfo

type GenericVirtualAccountAdditionalInfo struct {

	// max amount
	MaxAmount string `json:"maxAmount,omitempty"`

	// min amount
	MinAmount string `json:"minAmount,omitempty"`
}

GenericVirtualAccountAdditionalInfo generic virtual account additional info

swagger:model GenericVirtualAccountAdditionalInfo

func (*GenericVirtualAccountAdditionalInfo) ContextValidate

func (m *GenericVirtualAccountAdditionalInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this generic virtual account additional info based on context it is used

func (*GenericVirtualAccountAdditionalInfo) MarshalBinary

func (m *GenericVirtualAccountAdditionalInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GenericVirtualAccountAdditionalInfo) UnmarshalBinary

func (m *GenericVirtualAccountAdditionalInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GenericVirtualAccountAdditionalInfo) Validate

Validate validates this generic virtual account additional info

type GenericVirtualAccountData

type GenericVirtualAccountData struct {

	// additional info
	AdditionalInfo *Apiv1GenericVirtualAccountAdditionalInfo `json:"additionalInfo,omitempty"`

	// customer no
	CustomerNo string `json:"customerNo,omitempty"`

	// expired date
	ExpiredDate string `json:"expiredDate,omitempty"`

	// partner service Id
	PartnerServiceID string `json:"partnerServiceId,omitempty"`

	// total amount
	TotalAmount *AmountDetail `json:"totalAmount,omitempty"`

	// trx Id
	TrxID string `json:"trxId,omitempty"`

	// virtual account name
	VirtualAccountName string `json:"virtualAccountName,omitempty"`

	// virtual account no
	VirtualAccountNo string `json:"virtualAccountNo,omitempty"`

	// virtual account trx type
	VirtualAccountTrxType string `json:"virtualAccountTrxType,omitempty"`
}

GenericVirtualAccountData generic virtual account data

swagger:model GenericVirtualAccountData

func (*GenericVirtualAccountData) ContextValidate

func (m *GenericVirtualAccountData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this generic virtual account data based on the context it is used

func (*GenericVirtualAccountData) MarshalBinary

func (m *GenericVirtualAccountData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GenericVirtualAccountData) UnmarshalBinary

func (m *GenericVirtualAccountData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GenericVirtualAccountData) Validate

func (m *GenericVirtualAccountData) Validate(formats strfmt.Registry) error

Validate validates this generic virtual account data

type HostToHostPaymentAdditionalInfo

type HostToHostPaymentAdditionalInfo struct {

	// channel
	Channel string `json:"channel,omitempty"`

	// channel code
	ChannelCode string `json:"channelCode,omitempty"`

	// contract Id
	ContractID string `json:"contractId,omitempty"`

	// customer email
	CustomerEmail string `json:"customerEmail,omitempty"`

	// customer name
	CustomerName string `json:"customerName,omitempty"`

	// customer phone
	CustomerPhone string `json:"customerPhone,omitempty"`

	// expired time
	ExpiredTime string `json:"expiredTime,omitempty"`

	// latest transaction status
	LatestTransactionStatus string `json:"latestTransactionStatus,omitempty"`

	// original reference no
	OriginalReferenceNo string `json:"originalReferenceNo,omitempty"`
}

HostToHostPaymentAdditionalInfo host to host payment additional info

swagger:model HostToHostPaymentAdditionalInfo

func (*HostToHostPaymentAdditionalInfo) ContextValidate

func (m *HostToHostPaymentAdditionalInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this host to host payment additional info based on context it is used

func (*HostToHostPaymentAdditionalInfo) MarshalBinary

func (m *HostToHostPaymentAdditionalInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HostToHostPaymentAdditionalInfo) UnmarshalBinary

func (m *HostToHostPaymentAdditionalInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HostToHostPaymentAdditionalInfo) Validate

Validate validates this host to host payment additional info

type InquiryBalanceRequest

type InquiryBalanceRequest struct {

	// account no
	AccountNo string `json:"accountNo,omitempty"`

	// additional info
	AdditionalInfo *DisbursementAdditionalData `json:"additionalInfo,omitempty"`
}

InquiryBalanceRequest inquiry balance request

swagger:model InquiryBalanceRequest

func (*InquiryBalanceRequest) ContextValidate

func (m *InquiryBalanceRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this inquiry balance request based on the context it is used

func (*InquiryBalanceRequest) MarshalBinary

func (m *InquiryBalanceRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InquiryBalanceRequest) UnmarshalBinary

func (m *InquiryBalanceRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InquiryBalanceRequest) Validate

func (m *InquiryBalanceRequest) Validate(formats strfmt.Registry) error

Validate validates this inquiry balance request

type InquiryBalanceResponse

type InquiryBalanceResponse struct {

	// account info
	AccountInfo []*AccountInfo `json:"accountInfo"`

	// response code
	ResponseCode string `json:"responseCode,omitempty"`

	// response message
	ResponseMessage string `json:"responseMessage,omitempty"`
}

InquiryBalanceResponse inquiry balance response

swagger:model InquiryBalanceResponse

func (*InquiryBalanceResponse) ContextValidate

func (m *InquiryBalanceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this inquiry balance response based on the context it is used

func (*InquiryBalanceResponse) MarshalBinary

func (m *InquiryBalanceResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InquiryBalanceResponse) UnmarshalBinary

func (m *InquiryBalanceResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InquiryBalanceResponse) Validate

func (m *InquiryBalanceResponse) Validate(formats strfmt.Registry) error

Validate validates this inquiry balance response

type InquiryDisbursementStatusRequest

type InquiryDisbursementStatusRequest struct {

	// additional info
	AdditionalInfo *DisbursementAdditionalData `json:"additionalInfo,omitempty"`

	// original partner reference no
	OriginalPartnerReferenceNo string `json:"originalPartnerReferenceNo,omitempty"`

	// original reference no
	OriginalReferenceNo string `json:"originalReferenceNo,omitempty"`

	// service code
	ServiceCode string `json:"serviceCode,omitempty"`
}

InquiryDisbursementStatusRequest inquiry disbursement status request

swagger:model InquiryDisbursementStatusRequest

func (*InquiryDisbursementStatusRequest) ContextValidate

func (m *InquiryDisbursementStatusRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this inquiry disbursement status request based on the context it is used

func (*InquiryDisbursementStatusRequest) MarshalBinary

func (m *InquiryDisbursementStatusRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InquiryDisbursementStatusRequest) UnmarshalBinary

func (m *InquiryDisbursementStatusRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InquiryDisbursementStatusRequest) Validate

Validate validates this inquiry disbursement status request

type InquiryDisbursementStatusResponse

type InquiryDisbursementStatusResponse struct {

	// additional info
	AdditionalInfo *DisbursementAdditionalData `json:"additionalInfo,omitempty"`

	// amount
	Amount *AmountDetail `json:"amount,omitempty"`

	// beneficiary account no
	BeneficiaryAccountNo string `json:"beneficiaryAccountNo,omitempty"`

	// beneficiary bank code
	BeneficiaryBankCode string `json:"beneficiaryBankCode,omitempty"`

	// currency
	Currency string `json:"currency,omitempty"`

	// latest transaction status
	LatestTransactionStatus string `json:"latestTransactionStatus,omitempty"`

	// original partner reference no
	OriginalPartnerReferenceNo string `json:"originalPartnerReferenceNo,omitempty"`

	// original reference no
	OriginalReferenceNo string `json:"originalReferenceNo,omitempty"`

	// reference number
	ReferenceNumber string `json:"referenceNumber,omitempty"`

	// response code
	ResponseCode string `json:"responseCode,omitempty"`

	// response message
	ResponseMessage string `json:"responseMessage,omitempty"`

	// service code
	ServiceCode string `json:"serviceCode,omitempty"`

	// source account no
	SourceAccountNo string `json:"sourceAccountNo,omitempty"`

	// transaction Id
	TransactionID string `json:"transactionId,omitempty"`

	// transaction status desc
	TransactionStatusDesc string `json:"transactionStatusDesc,omitempty"`
}

InquiryDisbursementStatusResponse inquiry disbursement status response

swagger:model InquiryDisbursementStatusResponse

func (*InquiryDisbursementStatusResponse) ContextValidate

func (m *InquiryDisbursementStatusResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this inquiry disbursement status response based on the context it is used

func (*InquiryDisbursementStatusResponse) MarshalBinary

func (m *InquiryDisbursementStatusResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InquiryDisbursementStatusResponse) UnmarshalBinary

func (m *InquiryDisbursementStatusResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InquiryDisbursementStatusResponse) Validate

Validate validates this inquiry disbursement status response

type InquiryEwalletTopupStatusRequest

type InquiryEwalletTopupStatusRequest struct {

	// additional info
	AdditionalInfo *DisbursementAdditionalData `json:"additionalInfo,omitempty"`

	// original partner reference no
	OriginalPartnerReferenceNo string `json:"originalPartnerReferenceNo,omitempty"`

	// original reference no
	OriginalReferenceNo string `json:"originalReferenceNo,omitempty"`

	// service code
	ServiceCode string `json:"serviceCode,omitempty"`
}

InquiryEwalletTopupStatusRequest inquiry ewallet topup status request

swagger:model InquiryEwalletTopupStatusRequest

func (*InquiryEwalletTopupStatusRequest) ContextValidate

func (m *InquiryEwalletTopupStatusRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this inquiry ewallet topup status request based on the context it is used

func (*InquiryEwalletTopupStatusRequest) MarshalBinary

func (m *InquiryEwalletTopupStatusRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InquiryEwalletTopupStatusRequest) UnmarshalBinary

func (m *InquiryEwalletTopupStatusRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InquiryEwalletTopupStatusRequest) Validate

Validate validates this inquiry ewallet topup status request

type InquiryEwalletTopupStatusResponse

type InquiryEwalletTopupStatusResponse struct {

	// additional info
	AdditionalInfo *DisbursementAdditionalData `json:"additionalInfo,omitempty"`

	// amount
	Amount *AmountDetail `json:"amount,omitempty"`

	// latest transaction status
	LatestTransactionStatus string `json:"latestTransactionStatus,omitempty"`

	// original partner reference no
	OriginalPartnerReferenceNo string `json:"originalPartnerReferenceNo,omitempty"`

	// original reference no
	OriginalReferenceNo string `json:"originalReferenceNo,omitempty"`

	// response code
	ResponseCode string `json:"responseCode,omitempty"`

	// response message
	ResponseMessage string `json:"responseMessage,omitempty"`

	// service code
	ServiceCode string `json:"serviceCode,omitempty"`

	// transaction status desc
	TransactionStatusDesc string `json:"transactionStatusDesc,omitempty"`
}

InquiryEwalletTopupStatusResponse inquiry ewallet topup status response

swagger:model InquiryEwalletTopupStatusResponse

func (*InquiryEwalletTopupStatusResponse) ContextValidate

func (m *InquiryEwalletTopupStatusResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this inquiry ewallet topup status response based on the context it is used

func (*InquiryEwalletTopupStatusResponse) MarshalBinary

func (m *InquiryEwalletTopupStatusResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InquiryEwalletTopupStatusResponse) UnmarshalBinary

func (m *InquiryEwalletTopupStatusResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InquiryEwalletTopupStatusResponse) Validate

Validate validates this inquiry ewallet topup status response

type InquiryVirtualAccountRequest

type InquiryVirtualAccountRequest struct {

	// customer no
	CustomerNo string `json:"customerNo,omitempty"`

	// partner service Id
	PartnerServiceID string `json:"partnerServiceId,omitempty"`

	// trx Id
	TrxID string `json:"trxId,omitempty"`

	// virtual account no
	VirtualAccountNo string `json:"virtualAccountNo,omitempty"`
}

InquiryVirtualAccountRequest inquiry virtual account request

swagger:model InquiryVirtualAccountRequest

func (*InquiryVirtualAccountRequest) ContextValidate

func (m *InquiryVirtualAccountRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this inquiry virtual account request based on context it is used

func (*InquiryVirtualAccountRequest) MarshalBinary

func (m *InquiryVirtualAccountRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InquiryVirtualAccountRequest) UnmarshalBinary

func (m *InquiryVirtualAccountRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InquiryVirtualAccountRequest) Validate

func (m *InquiryVirtualAccountRequest) Validate(formats strfmt.Registry) error

Validate validates this inquiry virtual account request

type InquiryVirtualAccountResponse

type InquiryVirtualAccountResponse struct {

	// response code
	ResponseCode string `json:"responseCode,omitempty"`

	// response message
	ResponseMessage string `json:"responseMessage,omitempty"`

	// virtual account data
	VirtualAccountData *GenericVirtualAccountData `json:"virtualAccountData,omitempty"`
}

InquiryVirtualAccountResponse inquiry virtual account response

swagger:model InquiryVirtualAccountResponse

func (*InquiryVirtualAccountResponse) ContextValidate

func (m *InquiryVirtualAccountResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this inquiry virtual account response based on the context it is used

func (*InquiryVirtualAccountResponse) MarshalBinary

func (m *InquiryVirtualAccountResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InquiryVirtualAccountResponse) UnmarshalBinary

func (m *InquiryVirtualAccountResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InquiryVirtualAccountResponse) Validate

func (m *InquiryVirtualAccountResponse) Validate(formats strfmt.Registry) error

Validate validates this inquiry virtual account response

type MerchantResponse

type MerchantResponse struct {

	// balance
	Balance *MerchantResponseBalance `json:"balance,omitempty"`

	// merchant
	Merchant *MerchantResponseMerchant `json:"merchant,omitempty"`

	// qr nmid
	QrNmid *MerchantResponseQrNmid `json:"qr_nmid,omitempty"`
}

MerchantResponse merchant response

swagger:model MerchantResponse

func (*MerchantResponse) ContextValidate

func (m *MerchantResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this merchant response based on the context it is used

func (*MerchantResponse) MarshalBinary

func (m *MerchantResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MerchantResponse) UnmarshalBinary

func (m *MerchantResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MerchantResponse) Validate

func (m *MerchantResponse) Validate(formats strfmt.Registry) error

Validate validates this merchant response

type MerchantResponseBalance

type MerchantResponseBalance struct {

	// Current balance amount
	Balance float64 `json:"balance,omitempty"`

	// Merchant reference ID
	MerchantRef string `json:"merchant_ref,omitempty"`
}

MerchantResponseBalance Balance information

swagger:model MerchantResponseBalance

func (*MerchantResponseBalance) ContextValidate

func (m *MerchantResponseBalance) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this merchant response balance based on context it is used

func (*MerchantResponseBalance) MarshalBinary

func (m *MerchantResponseBalance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MerchantResponseBalance) UnmarshalBinary

func (m *MerchantResponseBalance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MerchantResponseBalance) Validate

func (m *MerchantResponseBalance) Validate(formats strfmt.Registry) error

Validate validates this merchant response balance

type MerchantResponseMerchant

type MerchantResponseMerchant struct {

	// Name of the business
	BusinessName string `json:"business_name,omitempty"`

	// Unique reference ID for the merchant
	MerchantRef string `json:"merchant_ref,omitempty"`

	// Name of the merchant
	Name string `json:"name,omitempty"`
}

MerchantResponseMerchant Merchant information

swagger:model MerchantResponseMerchant

func (*MerchantResponseMerchant) ContextValidate

func (m *MerchantResponseMerchant) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this merchant response merchant based on context it is used

func (*MerchantResponseMerchant) MarshalBinary

func (m *MerchantResponseMerchant) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MerchantResponseMerchant) UnmarshalBinary

func (m *MerchantResponseMerchant) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MerchantResponseMerchant) Validate

func (m *MerchantResponseMerchant) Validate(formats strfmt.Registry) error

Validate validates this merchant response merchant

type MerchantResponseQrNmid

type MerchantResponseQrNmid struct {

	// Whether the QR NMID is active
	IsActive bool `json:"IsActive,omitempty"`

	// Issuer information
	Issuer string `json:"Issuer,omitempty"`

	// Merchant PAN number
	MerchantPAN string `json:"MerchantPAN,omitempty"`

	// Store ID
	StoreID string `json:"StoreId,omitempty"`

	// Sub-merchant ID
	SubMerchantID string `json:"SubMerchantId,omitempty"`
}

MerchantResponseQrNmid QR NMID information

swagger:model MerchantResponseQrNmid

func (*MerchantResponseQrNmid) ContextValidate

func (m *MerchantResponseQrNmid) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this merchant response qr nmid based on context it is used

func (*MerchantResponseQrNmid) MarshalBinary

func (m *MerchantResponseQrNmid) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MerchantResponseQrNmid) UnmarshalBinary

func (m *MerchantResponseQrNmid) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MerchantResponseQrNmid) Validate

func (m *MerchantResponseQrNmid) Validate(formats strfmt.Registry) error

Validate validates this merchant response qr nmid

type PaginatedMerchantResponse

type PaginatedMerchantResponse struct {

	// List of merchant data
	Data []*MerchantResponse `json:"data"`

	// pagination
	Pagination *PaginatedMerchantResponsePagination `json:"pagination,omitempty"`
}

PaginatedMerchantResponse paginated merchant response

swagger:model PaginatedMerchantResponse

func (*PaginatedMerchantResponse) ContextValidate

func (m *PaginatedMerchantResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this paginated merchant response based on the context it is used

func (*PaginatedMerchantResponse) MarshalBinary

func (m *PaginatedMerchantResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PaginatedMerchantResponse) UnmarshalBinary

func (m *PaginatedMerchantResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PaginatedMerchantResponse) Validate

func (m *PaginatedMerchantResponse) Validate(formats strfmt.Registry) error

Validate validates this paginated merchant response

type PaginatedMerchantResponsePagination

type PaginatedMerchantResponsePagination struct {

	// Current page number
	CurrentPage int64 `json:"current_page,omitempty"`

	// Number of items per page
	Limit int64 `json:"limit,omitempty"`

	// Total number of items
	TotalItems int64 `json:"total_items,omitempty"`

	// Total number of pages
	TotalPages int64 `json:"total_pages,omitempty"`
}

PaginatedMerchantResponsePagination Pagination information

swagger:model PaginatedMerchantResponsePagination

func (*PaginatedMerchantResponsePagination) ContextValidate

func (m *PaginatedMerchantResponsePagination) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this paginated merchant response pagination based on context it is used

func (*PaginatedMerchantResponsePagination) MarshalBinary

func (m *PaginatedMerchantResponsePagination) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PaginatedMerchantResponsePagination) UnmarshalBinary

func (m *PaginatedMerchantResponsePagination) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PaginatedMerchantResponsePagination) Validate

Validate validates this paginated merchant response pagination

type PartnerAccessTokenRequest

type PartnerAccessTokenRequest struct {

	// The OAuth2 grant type, must be "client_credentials"
	// required: true
	// example: client_credentials
	GrantType string `json:"grantType,omitempty"`
}

PartnerAccessTokenRequest partner access token request

swagger:model PartnerAccessTokenRequest

func (*PartnerAccessTokenRequest) ContextValidate

func (m *PartnerAccessTokenRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this partner access token request based on context it is used

func (*PartnerAccessTokenRequest) MarshalBinary

func (m *PartnerAccessTokenRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PartnerAccessTokenRequest) UnmarshalBinary

func (m *PartnerAccessTokenRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PartnerAccessTokenRequest) Validate

func (m *PartnerAccessTokenRequest) Validate(formats strfmt.Registry) error

Validate validates this partner access token request

type PaymentFlagReason

type PaymentFlagReason struct {

	// english
	English string `json:"english,omitempty"`

	// indonesia
	Indonesia string `json:"indonesia,omitempty"`
}

PaymentFlagReason payment flag reason

swagger:model PaymentFlagReason

func (*PaymentFlagReason) ContextValidate

func (m *PaymentFlagReason) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this payment flag reason based on context it is used

func (*PaymentFlagReason) MarshalBinary

func (m *PaymentFlagReason) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PaymentFlagReason) UnmarshalBinary

func (m *PaymentFlagReason) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PaymentFlagReason) Validate

func (m *PaymentFlagReason) Validate(formats strfmt.Registry) error

Validate validates this payment flag reason

type QrisAmount

type QrisAmount struct {

	// currency
	Currency string `json:"currency,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

QrisAmount qris amount

swagger:model QrisAmount

func (*QrisAmount) ContextValidate

func (m *QrisAmount) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this qris amount based on context it is used

func (*QrisAmount) MarshalBinary

func (m *QrisAmount) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*QrisAmount) UnmarshalBinary

func (m *QrisAmount) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*QrisAmount) Validate

func (m *QrisAmount) Validate(formats strfmt.Registry) error

Validate validates this qris amount

type QrisQueryPaymentRequest

type QrisQueryPaymentRequest struct {

	// external store ID
	ExternalStoreID string `json:"externalStoreID,omitempty"`

	// merchant Id
	MerchantID string `json:"merchantId,omitempty"`

	// original external Id
	OriginalExternalID string `json:"originalExternalId,omitempty"`

	// original partner reference no
	// Required: true
	OriginalPartnerReferenceNo *string `json:"originalPartnerReferenceNo"`

	// original reference no
	// Required: true
	OriginalReferenceNo *string `json:"originalReferenceNo"`

	// service code
	// Required: true
	ServiceCode *string `json:"serviceCode"`

	// sub merchant Id
	SubMerchantID string `json:"subMerchantId,omitempty"`
}

QrisQueryPaymentRequest qris query payment request

swagger:model QrisQueryPaymentRequest

func (*QrisQueryPaymentRequest) ContextValidate

func (m *QrisQueryPaymentRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this qris query payment request based on context it is used

func (*QrisQueryPaymentRequest) MarshalBinary

func (m *QrisQueryPaymentRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*QrisQueryPaymentRequest) UnmarshalBinary

func (m *QrisQueryPaymentRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*QrisQueryPaymentRequest) Validate

func (m *QrisQueryPaymentRequest) Validate(formats strfmt.Registry) error

Validate validates this qris query payment request

type QrisQueryPaymentResponse

type QrisQueryPaymentResponse struct {

	// amount
	Amount *QrisAmount `json:"amount,omitempty"`

	// fee amount
	FeeAmount *QrisAmount `json:"feeAmount,omitempty"`

	// latest transaction status
	LatestTransactionStatus string `json:"latestTransactionStatus,omitempty"`

	// original reference no
	OriginalReferenceNo string `json:"originalReferenceNo,omitempty"`

	// paid time
	PaidTime string `json:"paidTime,omitempty"`

	// response code
	ResponseCode string `json:"responseCode,omitempty"`

	// response message
	ResponseMessage string `json:"responseMessage,omitempty"`

	// service code
	ServiceCode string `json:"serviceCode,omitempty"`
}

QrisQueryPaymentResponse qris query payment response

swagger:model QrisQueryPaymentResponse

func (*QrisQueryPaymentResponse) ContextValidate

func (m *QrisQueryPaymentResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this qris query payment response based on the context it is used

func (*QrisQueryPaymentResponse) MarshalBinary

func (m *QrisQueryPaymentResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*QrisQueryPaymentResponse) UnmarshalBinary

func (m *QrisQueryPaymentResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*QrisQueryPaymentResponse) Validate

func (m *QrisQueryPaymentResponse) Validate(formats strfmt.Registry) error

Validate validates this qris query payment response

type QrisRequestScheme

type QrisRequestScheme struct {

	// additional info
	AdditionalInfo map[string]string `json:"additionalInfo,omitempty"`

	// amount
	Amount *QrisAmount `json:"amount,omitempty"`

	// Merchant identifier that is unique per each merchant (MPAN)
	MerchantID string `json:"merchantId,omitempty"`

	// partner reference no
	PartnerReferenceNo string `json:"partnerReferenceNo,omitempty"`

	// StoreId this should be defined merchant to PG (NMID)
	StoreID string `json:"storeId,omitempty"`

	// SubMerchantId Sub merchant id (MID)
	SubMerchantID string `json:"subMerchantId,omitempty"`

	// validity period
	ValidityPeriod string `json:"validityPeriod,omitempty"`
}

QrisRequestScheme qris request scheme

swagger:model QrisRequestScheme

func (*QrisRequestScheme) ContextValidate

func (m *QrisRequestScheme) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this qris request scheme based on the context it is used

func (*QrisRequestScheme) MarshalBinary

func (m *QrisRequestScheme) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*QrisRequestScheme) UnmarshalBinary

func (m *QrisRequestScheme) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*QrisRequestScheme) Validate

func (m *QrisRequestScheme) Validate(formats strfmt.Registry) error

Validate validates this qris request scheme

type QrisResponseScheme

type QrisResponseScheme struct {

	// additional info
	AdditionalInfo string `json:"additionalInfo,omitempty"`

	// merchant name
	MerchantName string `json:"merchantName,omitempty"`

	// partner reference no
	PartnerReferenceNo string `json:"partnerReferenceNo,omitempty"`

	// qr content
	QrContent string `json:"qrContent,omitempty"`

	// QrImage value is base64 from image QRIS. Max length is unlimited.
	QrImage string `json:"qrImage,omitempty"`

	// qr Url
	QrURL string `json:"qrUrl,omitempty"`

	// reference no
	ReferenceNo string `json:"referenceNo,omitempty"`

	// response code
	ResponseCode string `json:"responseCode,omitempty"`

	// response message
	ResponseMessage string `json:"responseMessage,omitempty"`

	// store Id
	StoreID string `json:"storeId,omitempty"`
}

QrisResponseScheme qris response scheme

swagger:model QrisResponseScheme

func (*QrisResponseScheme) ContextValidate

func (m *QrisResponseScheme) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this qris response scheme based on context it is used

func (*QrisResponseScheme) MarshalBinary

func (m *QrisResponseScheme) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*QrisResponseScheme) UnmarshalBinary

func (m *QrisResponseScheme) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*QrisResponseScheme) Validate

func (m *QrisResponseScheme) Validate(formats strfmt.Registry) error

Validate validates this qris response scheme

type QrisSimulateRequest

type QrisSimulateRequest struct {

	// Reference number of the QRIS transaction to simulate
	// required: true
	ReferenceNo string `json:"referenceNo,omitempty"`
}

QrisSimulateRequest qris simulate request

swagger:model QrisSimulateRequest

func (*QrisSimulateRequest) ContextValidate

func (m *QrisSimulateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this qris simulate request based on context it is used

func (*QrisSimulateRequest) MarshalBinary

func (m *QrisSimulateRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*QrisSimulateRequest) UnmarshalBinary

func (m *QrisSimulateRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*QrisSimulateRequest) Validate

func (m *QrisSimulateRequest) Validate(formats strfmt.Registry) error

Validate validates this qris simulate request

type URLParam

type URLParam struct {

	// is deeplink
	IsDeeplink string `json:"isDeeplink,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// url
	URL string `json:"url,omitempty"`
}

URLParam URL param

swagger:model URLParam

func (*URLParam) ContextValidate

func (m *URLParam) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this URL param based on context it is used

func (*URLParam) MarshalBinary

func (m *URLParam) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*URLParam) UnmarshalBinary

func (m *URLParam) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*URLParam) Validate

func (m *URLParam) Validate(formats strfmt.Registry) error

Validate validates this URL param

type UpdateVirtualAccountRequest

type UpdateVirtualAccountRequest struct {

	// additional info
	AdditionalInfo *Apiv1GenericVirtualAccountAdditionalInfo `json:"additionalInfo,omitempty"`

	// customer no
	CustomerNo string `json:"customerNo,omitempty"`

	// expired date
	ExpiredDate string `json:"expiredDate,omitempty"`

	// partner service Id
	PartnerServiceID string `json:"partnerServiceId,omitempty"`

	// total amount
	TotalAmount *AmountDetail `json:"totalAmount,omitempty"`

	// trx Id
	TrxID string `json:"trxId,omitempty"`

	// virtual account name
	VirtualAccountName string `json:"virtualAccountName,omitempty"`

	// virtual account no
	VirtualAccountNo string `json:"virtualAccountNo,omitempty"`

	// virtual account trx type
	VirtualAccountTrxType string `json:"virtualAccountTrxType,omitempty"`
}

UpdateVirtualAccountRequest update virtual account request

swagger:model UpdateVirtualAccountRequest

func (*UpdateVirtualAccountRequest) ContextValidate

func (m *UpdateVirtualAccountRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update virtual account request based on the context it is used

func (*UpdateVirtualAccountRequest) MarshalBinary

func (m *UpdateVirtualAccountRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateVirtualAccountRequest) UnmarshalBinary

func (m *UpdateVirtualAccountRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateVirtualAccountRequest) Validate

func (m *UpdateVirtualAccountRequest) Validate(formats strfmt.Registry) error

Validate validates this update virtual account request

type UpdateVirtualAccountResponse

type UpdateVirtualAccountResponse struct {

	// response code
	ResponseCode string `json:"responseCode,omitempty"`

	// response message
	ResponseMessage string `json:"responseMessage,omitempty"`

	// virtual account data
	VirtualAccountData *GenericVirtualAccountData `json:"virtualAccountData,omitempty"`
}

UpdateVirtualAccountResponse update virtual account response

swagger:model UpdateVirtualAccountResponse

func (*UpdateVirtualAccountResponse) ContextValidate

func (m *UpdateVirtualAccountResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update virtual account response based on the context it is used

func (*UpdateVirtualAccountResponse) MarshalBinary

func (m *UpdateVirtualAccountResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateVirtualAccountResponse) UnmarshalBinary

func (m *UpdateVirtualAccountResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateVirtualAccountResponse) Validate

func (m *UpdateVirtualAccountResponse) Validate(formats strfmt.Registry) error

Validate validates this update virtual account response

Source Files

Jump to

Keyboard shortcuts

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