more changes
This commit is contained in:
@@ -111,8 +111,9 @@ type CartPayment struct {
|
||||
}
|
||||
|
||||
type PaymentEvent struct {
|
||||
Name string `json:"name"`
|
||||
Data json.RawMessage `json:"data"`
|
||||
Name string `json:"name"`
|
||||
Success bool `json:"success"`
|
||||
Data json.RawMessage `json:"data"`
|
||||
}
|
||||
|
||||
func (p *CartPayment) IsSettled() bool {
|
||||
@@ -161,7 +162,7 @@ type CartGrain struct {
|
||||
TotalDiscount *Price `json:"totalDiscount"`
|
||||
Deliveries []*CartDelivery `json:"deliveries,omitempty"`
|
||||
Processing bool `json:"processing"`
|
||||
PaymentInProgress bool `json:"paymentInProgress"`
|
||||
PaymentInProgress uint16 `json:"paymentInProgress"`
|
||||
OrderReference string `json:"orderReference,omitempty"`
|
||||
PaymentStatus PaymentStatus `json:"paymentStatus,omitempty"`
|
||||
PaidInFull bool `json:"paidInFull"`
|
||||
|
||||
Reference in New Issue
Block a user