From 97f16748cb549957faf60e712eada74013e7787d Mon Sep 17 00:00:00 2001 From: Jack Ingleton Date: Thu, 26 Sep 2019 14:45:14 +0100 Subject: [PATCH] updates SourceSourceOrder Items field from *SourceSourceOrderItems to *[]SourceSourceOrderItems --- source.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source.go b/source.go index c26294fe1e..44f6650db7 100644 --- a/source.go +++ b/source.go @@ -264,11 +264,11 @@ type SourceSourceOrderItems struct { // SourceSourceOrder describes a source order for a source. type SourceSourceOrder struct { - Amount int64 `json:"amount"` - Currency Currency `json:"currency"` - Email string `json:"email"` - Items *SourceSourceOrderItems `json:"items"` - Shipping *ShippingDetails `json:"shipping"` + Amount int64 `json:"amount"` + Currency Currency `json:"currency"` + Email string `json:"email"` + Items *[]SourceSourceOrderItems `json:"items"` + Shipping *ShippingDetails `json:"shipping"` } // Source is the resource representing a Source.