databaseadapterdynamodb

package
v0.0.0-...-f5d69d6 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDynamoCheckoutRepository

func NewDynamoCheckoutRepository() cart.ProcessSecondaryPort

NewDynamoCheckoutRepository instantiates the repository for this adapter

Types

type PersistedOrder

type PersistedOrder struct {
	ID        string  `json:"id"`
	Email     string  `json:"email"`
	Amount    float64 `json:"amount"`
	Currency  string  `json:"currency"`
	ProductID int     `json:"productid"`
}

PersistedOrder represents the model for inserting the Order into the database

Jump to

Keyboard shortcuts

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