order

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckBillingOrderComplete

func CheckBillingOrderComplete(sess *session.Session, receipt *datatypes.Container_Product_Order_Receipt) (bool, *datatypes.Billing_Order_Item, error)

CheckBillingOrderComplete returns true if the status of the billing order for the provided product order receipt is "COMPLETE". Returns false otherwise, along with the billing order item used to check the statuses, and any error encountered.

func CheckBillingOrderStatus

func CheckBillingOrderStatus(sess *session.Session, receipt *datatypes.Container_Product_Order_Receipt, statuses []string) (bool, *datatypes.Billing_Order_Item, error)

CheckBillingOrderStatus returns true if the status of the billing order for the provided product order receipt is in the list of provided statuses. Returns false otherwise, along with the billing order item used to check the statuses, and any error encountered.

Types

This section is empty.

Jump to

Keyboard shortcuts

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