From 61f8ec387c6a8685177d5bc6c87ce98b7b39ab89 Mon Sep 17 00:00:00 2001 From: Alex Pliutau Date: Mon, 12 Aug 2019 16:09:45 +0200 Subject: [PATCH] #105: Add override_merchant_preferences to BillingAgreement --- types.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/types.go b/types.go index ce1f7d0..0d9d2d0 100644 --- a/types.go +++ b/types.go @@ -169,12 +169,13 @@ type ( // BillingAgreement struct BillingAgreement struct { - Name string `json:"name,omitempty"` - Description string `json:"description,omitempty"` - StartDate JSONTime `json:"start_date,omitempty"` - Plan BillingPlan `json:"plan,omitempty"` - Payer Payer `json:"payer,omitempty"` - ShippingAddress *ShippingAddress `json:"shipping_address,omitempty"` + Name string `json:"name,omitempty"` + Description string `json:"description,omitempty"` + StartDate JSONTime `json:"start_date,omitempty"` + Plan BillingPlan `json:"plan,omitempty"` + Payer Payer `json:"payer,omitempty"` + ShippingAddress *ShippingAddress `json:"shipping_address,omitempty"` + OverrideMerchantPreferences *MerchantPreferences `json:"override_merchant_preferences,omitempty"` } // BillingPlan struct