account

package
v0.0.0-...-9f74dc9 Latest Latest
Warning

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

Go to latest
Published: May 6, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	Id               string `ion:"Id"`
	Name             string `ion:"Name"`
	TrackingId       string `ion:"TrackingId"`
	ExternalId       string `ion:"ExternalId"`
	DocumentNumber   string `ion:"DocumentNumber"`
	CompanyId        string `ion:"CompanyId"`
	BallastAccountId string `ion:"BallastAccountId"`
	MetadataId       string `ion:"MetadataId"`
	State            string `ion:"State"`
	CreationDate     string `ion:"CreationDate"`
}

type AvailableBalance

type AvailableBalance struct {
	Balance    *ion.Decimal `ion:"Balance"`
	AccountId  string       `ion:"AccountId"`
	Currency   string       `ion:"Currency"`
	MetadataId string       `ion:"MetadataId"`
}

type Repository

type Repository interface {
	CreateAccount(ctx context.Context, account Account) (interface{}, error)
}

type Service

type Service interface {
	CreateAccount(ctx context.Context, account Account) (string, error)
}

Directories

Path Synopsis
pb

Jump to

Keyboard shortcuts

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