models

package
v0.0.0-...-3885ffa Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Order

type Order struct {
	OrderId           string  `dynamodbav:"OrderId" json:"orderId"`
	AccountId         string  `dynamodbav:"AccountId" json:"accountId"`
	Currency          string  `dynamodbav:"Currency" json:"currency"`
	Amount            float64 `dynamodbav:"Amount" json:"amount"`
	Status            string  `dynamodbav:"Status" json:"status"`
	RefNumber         string  `dynamodbav:"RefNumber" json:"refNumber,omitempty"`
	OperationId       string  `dynamodbav:"OperationId" json:"operationId,omitempty"`
	Origin            string  `dynamodbav:"Origin" json:"origin,omitempty"`
	AuthorizationCode string  `dynamodbav:"AuthorizationCode" json:"authorizationCode,omitempty"`
}

type PendingOrder

type PendingOrder struct {
	OrderId   string  `dynamodbav:"OrderId" json:"orderId"`
	AccountId string  `dynamodbav:"AccountId" json:"accountId"`
	Currency  string  `dynamodbav:"Currency" json:"currency"`
	Amount    float64 `dynamodbav:"Amount" json:"amount"`
	Status    string  `dynamodbav:"Status" json:"status"`
	RefNumber string  `dynamodbav:"RefNumber" json:"refNumber,omitempty"`
	Origin    string  `dynamodbav:"Origin" json:"origin,omitempty"`
}

Jump to

Keyboard shortcuts

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