sepa

package
v0.0.0-...-ff628f3 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(configuration *configuration.Configuration, apiClient client.HttpClient) *Client

func (*Client) CancelMandate

func (c *Client) CancelMandate(mandateId string) (*SepaResource, error)

func (*Client) CancelMandateViaPpro

func (c *Client) CancelMandateViaPpro(mandateId string) (*SepaResource, error)

func (*Client) CancelMandateViaPproWithContext

func (c *Client) CancelMandateViaPproWithContext(ctx context.Context, mandateId string) (*SepaResource, error)

func (*Client) CancelMandateWithContext

func (c *Client) CancelMandateWithContext(ctx context.Context, mandateId string) (*SepaResource, error)

func (*Client) GetMandate

func (c *Client) GetMandate(mandateId string) (*MandateResponse, error)

func (*Client) GetMandateViaPpro

func (c *Client) GetMandateViaPpro(mandateId string) (*MandateResponse, error)

func (*Client) GetMandateViaPproWithContext

func (c *Client) GetMandateViaPproWithContext(ctx context.Context, mandateId string) (*MandateResponse, error)

func (*Client) GetMandateWithContext

func (c *Client) GetMandateWithContext(ctx context.Context, mandateId string) (*MandateResponse, error)

type MandateResponse

type MandateResponse struct {
	HttpMetadata        common.HttpMetadata    `json:"http_metadata,omitempty"`
	MandateReference    string                 `json:"mandate_reference,omitempty"`
	CustomerId          string                 `json:"customer_id,omitempty"`
	FirstName           string                 `json:"first_name,omitempty"`
	LastName            string                 `json:"last_name,omitempty"`
	AddressLine1        string                 `json:"address_line1,omitempty"`
	City                string                 `json:"city,omitempty"`
	Zip                 string                 `json:"zip,omitempty"`
	Country             common.Country         `json:"country,omitempty"`
	MaskedAccountIban   string                 `json:"masked_account_iban,omitempty"`
	AccountCurrencyCode string                 `json:"account_currency_code,omitempty"`
	AccountCountryCode  common.Country         `json:"account_country_code,omitempty"`
	MandateState        string                 `json:"mandate_state,omitempty"`
	BillingDescriptor   string                 `json:"billing_descriptor,omitempty"`
	MandateType         string                 `json:"mandate_type,omitempty"`
	Links               map[string]common.Link `json:"_links,omitempty"`
}

type SepaResource

type SepaResource struct {
	HttpMetadata common.HttpMetadata    `json:"http_metadata,omitempty"`
	Links        map[string]common.Link `json:"_links,omitempty"`
}

Jump to

Keyboard shortcuts

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