api

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUUID

func NewUUID() *strfmt.UUID

func NewUUIDValue

func NewUUIDValue() strfmt.UUID

func String

func String(v string) *string

String returns a pointer to the string value passed in.

func StringValue

func StringValue(v *string) string

StringValue returns the value of the string pointer passed in or "" if the pointer is nil.

func UUID

func UUID(s strfmt.UUID) *strfmt.UUID

func UUIDValue

func UUIDValue(s *strfmt.UUID) strfmt.UUID

func UUIDtoStrFmtUUID

func UUIDtoStrFmtUUID(s *uuid.UUID) *strfmt.UUID

Types

type AuthenticatedClient

type AuthenticatedClient struct {
	AccessToken           string
	SecurityClient        *client.Form3CorelibDataStructures
	NotificationClient    *client.Form3CorelibDataStructures
	Config                *client.TransportConfig
	HttpClient            *http.Client
	OrganisationId        string
	OrganisationClient    *client.Form3CorelibDataStructures
	AssociationClient     *client.Form3CorelibDataStructures
	AccountClient         *client.Form3CorelibDataStructures
	LimitsClient          *client.Form3CorelibDataStructures
	PaymentdefaultsClient *client.Form3CorelibDataStructures
	TransactionClient     *client.Form3CorelibDataStructures
	SystemClient          *client.Form3CorelibDataStructures
}

func NewAuthenticatedClient

func NewAuthenticatedClient(config *client.TransportConfig) *AuthenticatedClient

func (*AuthenticatedClient) Authenticate

func (r *AuthenticatedClient) Authenticate(clientId string, clientSecret string) error

type AuthenticatedClientCheckRedirect

type AuthenticatedClientCheckRedirect struct {
}

func (*AuthenticatedClientCheckRedirect) CheckRedirect

func (r *AuthenticatedClientCheckRedirect) CheckRedirect(req *http.Request, via []*http.Request) error

type CachedToken

type CachedToken struct {
	Token   string
	Expires time.Time
}

type LoginResponse

type LoginResponse struct {
	TokenType   string `json:"token_type,omitempty"`
	AccessToken string `json:"access_token"`
	ExpiresIn   int    `json:"expires_in"`
}

type PaymentBuilder

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

func (*PaymentBuilder) Build

func (b *PaymentBuilder) Build() *models.Payment

func (*PaymentBuilder) NewMessageID

func (b *PaymentBuilder) NewMessageID() string

func (*PaymentBuilder) NewSchemeTransactionID

func (b *PaymentBuilder) NewSchemeTransactionID() string

func (*PaymentBuilder) WithAmount

func (b *PaymentBuilder) WithAmount(amount string) *PaymentBuilder

func (*PaymentBuilder) WithBeneficiaryPartyAccountNumber

func (b *PaymentBuilder) WithBeneficiaryPartyAccountNumber(accountNumber string) *PaymentBuilder

func (*PaymentBuilder) WithBeneficiaryPartyAccountWithBankID

func (b *PaymentBuilder) WithBeneficiaryPartyAccountWithBankID(bankID string) *PaymentBuilder

func (*PaymentBuilder) WithDebtorPartyAccountNumber

func (b *PaymentBuilder) WithDebtorPartyAccountNumber(accountNumber string) *PaymentBuilder

func (*PaymentBuilder) WithDebtorPartyAccountWithBankID

func (b *PaymentBuilder) WithDebtorPartyAccountWithBankID(bankID string) *PaymentBuilder

func (*PaymentBuilder) WithDefaults

func (b *PaymentBuilder) WithDefaults() *PaymentBuilder

func (*PaymentBuilder) WithOrganisationID

func (b *PaymentBuilder) WithOrganisationID(id strfmt.UUID) *PaymentBuilder

func (*PaymentBuilder) WithPaymentScheme

func (b *PaymentBuilder) WithPaymentScheme(scheme string) *PaymentBuilder

func (*PaymentBuilder) WithReference

func (b *PaymentBuilder) WithReference(reference string) *PaymentBuilder

func (*PaymentBuilder) WithSchemePaymentType

func (b *PaymentBuilder) WithSchemePaymentType(schemePaymentType string) *PaymentBuilder

func (*PaymentBuilder) WithSchemeTransactionID

func (b *PaymentBuilder) WithSchemeTransactionID(schemeTransactionID string) *PaymentBuilder

Jump to

Keyboard shortcuts

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