Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestForGetTransaction ¶
func (*RequestForGetTransaction) Method ¶
func (req *RequestForGetTransaction) Method() string
func (*RequestForGetTransaction) Path ¶
func (req *RequestForGetTransaction) Path() string
func (*RequestForGetTransaction) Payload ¶
func (req *RequestForGetTransaction) Payload() []byte
func (*RequestForGetTransaction) Query ¶
func (req *RequestForGetTransaction) Query() string
type RequestForListTransactions ¶
type RequestForListTransactions struct { generic.SignInWithCoinbasePaginationRequest AccountId string `url:"-"` }
func (*RequestForListTransactions) Method ¶
func (req *RequestForListTransactions) Method() string
func (*RequestForListTransactions) Path ¶
func (req *RequestForListTransactions) Path() string
func (*RequestForListTransactions) Payload ¶
func (req *RequestForListTransactions) Payload() []byte
func (*RequestForListTransactions) Query ¶
func (req *RequestForListTransactions) Query() string
type RequestForSendMoney ¶
type RequestForSendMoney struct { AccountId string `json:"-"` To string `json:"to"` Type SendMoneyType `json:"type"` Amount string `json:"amount"` Currency string `json:"currency"` Description string `json:"description,omitempty"` Skipnotifications bool `json:"skip_notifications,omitempty"` Idem string `json:"idem,omitempty"` ToFinancialInstitution string `json:"to_financial_institution,omitempty"` FinancialInstitutionWebsite string `json:"financial_institution_website,omitempty"` }
func (*RequestForSendMoney) Method ¶
func (req *RequestForSendMoney) Method() string
func (*RequestForSendMoney) Path ¶
func (req *RequestForSendMoney) Path() string
func (*RequestForSendMoney) Payload ¶
func (req *RequestForSendMoney) Payload() []byte
func (*RequestForSendMoney) Query ¶
func (req *RequestForSendMoney) Query() string
type RequestForTransferMoney ¶
type RequestForTransferMoney struct { AccountId string `json:"-"` To string `json:"to"` Type TransferMoneyType `json:"type"` Amount string `json:"amount"` Currency string `json:"currency"` Description string `json:"description,omitempty"` }
func (*RequestForTransferMoney) Method ¶
func (req *RequestForTransferMoney) Method() string
func (*RequestForTransferMoney) Path ¶
func (req *RequestForTransferMoney) Path() string
func (*RequestForTransferMoney) Payload ¶
func (req *RequestForTransferMoney) Payload() []byte
func (*RequestForTransferMoney) Query ¶
func (req *RequestForTransferMoney) Query() string
type ResponseForGetTransaction ¶
type ResponseForGetTransaction struct {
Data Transaction `json:"data"`
}
type ResponseForListTransactions ¶
type ResponseForListTransactions struct { generic.SignInWithCoinbasePaginationResponse Data []Transaction `json:"data"` }
type ResponseForSendMoney ¶
type ResponseForSendMoney struct {
Data Transaction `json:"data"`
}
type ResponseForTransferMoney ¶
type ResponseForTransferMoney struct {
Data Transaction `json:"data"`
}
type Transaction ¶
type Transaction struct { Id string `json:"id"` Type string `json:"type"` Status account.Balance `json:"status"` Amount account.Balance `json:"amount"` NativeAmount string `json:"native_amount"` Description string `json:"description"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` Resource string `json:"resource"` ResourcePath string `json:"resource_path"` To map[string]string `json:"to"` Details map[string]string `json:"details"` }
type TransferMoneyType ¶
type TransferMoneyType string
const (
TransferType TransferMoneyType = "transfer"
)
Click to show internal directories.
Click to hide internal directories.