Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CncrdAdapter ¶
type CncrdAdapter interface { CreatePaylink(ctx context.Context, request PaymentLinkRequestDto) (PaymentLinkDto, error) GetPaylinkById(ctx context.Context, id uint) (PaymentLinkDto, error) }
type Impl ¶
type Impl struct {
// contains filtered or unexported fields
}
func (*Impl) CreatePaylink ¶
func (i *Impl) CreatePaylink(ctx context.Context, request PaymentLinkRequestDto) (PaymentLinkDto, error)
func (*Impl) GetPaylinkById ¶
type PaymentLinkDto ¶
type PaymentLinkDto struct { Title string `json:"title"` Description string `json:"description"` ReferenceId string `json:"reference_id"` Purpose string `json:"purpose"` AmountDue int64 `json:"amount_due"` AmountPaid int64 `json:"amount_paid"` Currency string `json:"currency"` VatRate float64 `json:"vat_rate"` Link string `json:"link"` }
Click to show internal directories.
Click to hide internal directories.