more functions
This commit is contained in:
@@ -78,6 +78,12 @@ type SubscriptionDetails struct {
|
||||
Meta json.RawMessage `json:"data,omitempty"`
|
||||
}
|
||||
|
||||
type Notice struct {
|
||||
Timestamp time.Time `json:"timestamp"`
|
||||
Message string `json:"message"`
|
||||
Code *string `json:"code,omitempty"`
|
||||
}
|
||||
|
||||
type Marking struct {
|
||||
Type uint32 `json:"type"`
|
||||
Text string `json:"text"`
|
||||
@@ -104,7 +110,7 @@ type CartGrain struct {
|
||||
Vouchers []*Voucher `json:"vouchers,omitempty"`
|
||||
Notifications []CartNotification `json:"cartNotification,omitempty"`
|
||||
SubscriptionDetails map[string]*SubscriptionDetails `json:"subscriptionDetails,omitempty"`
|
||||
PaymentDeclinedAt time.Time `json:"paymentDeclinedAt,omitempty"`
|
||||
PaymentDeclinedNotices []Notice `json:"paymentDeclinedNotices,omitempty"`
|
||||
ConfirmationViewCount int `json:"confirmationViewCount,omitempty"`
|
||||
ConfirmationLastViewedAt time.Time `json:"confirmationLastViewedAt,omitempty"`
|
||||
CheckoutOrderId string `json:"checkoutOrderId,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user