Documentation ¶
Index ¶
- func CheckBillingOrderComplete(sess *session.Session, receipt *datatypes.Container_Product_Order_Receipt) (bool, *datatypes.Billing_Order_Item, error)
- func CheckBillingOrderStatus(sess *session.Session, receipt *datatypes.Container_Product_Order_Receipt, ...) (bool, *datatypes.Billing_Order_Item, error)
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.
Click to show internal directories.
Click to hide internal directories.