Documentation ¶
Index ¶
- type Client
- func (c *Client) CancelMandate(mandateId string) (*SepaResource, error)
- func (c *Client) CancelMandateViaPpro(mandateId string) (*SepaResource, error)
- func (c *Client) GetMandate(mandateId string) (*MandateResponse, error)
- func (c *Client) GetMandateViaPpro(mandateId string) (*MandateResponse, error)
- type MandateResponse
- type SepaResource
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) GetMandate ¶
func (c *Client) GetMandate(mandateId string) (*MandateResponse, error)
func (*Client) GetMandateViaPpro ¶
func (c *Client) GetMandateViaPpro(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"` }
Click to show internal directories.
Click to hide internal directories.