entities

package
v0.1.1-0...-bf813a4 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2020 License: OSL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FundCreditRequest

type FundCreditRequest struct {
	AccountID string
	Credit    entities.Credit
}

FundCreditRequest is a request form for funding a credit

func NewFundCreditRequest

func NewFundCreditRequest(accountID string, credit entities.Credit) *FundCreditRequest

NewFundCreditRequest initializes a FundCreditRequest instance

type FundCreditResponse

type FundCreditResponse struct {
	Data FundCreditResponseData `json:"data"`
}

FundCreditResponse is a response wrapper for FundCreditResponseData

func NewFundCreditResponse

func NewFundCreditResponse(txHash string) FundCreditResponse

NewFundCreditResponse initializes a new FundCreditResponse instance

type FundCreditResponseData

type FundCreditResponseData struct {
	TXHash string `json:"txHash"`
}

FundCreditResponseData is a response form for funding a credit

Jump to

Keyboard shortcuts

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