From ebf596676edbc13c2ca46deb392735e079833e27 Mon Sep 17 00:00:00 2001 From: ihipop Date: Fri, 18 Nov 2022 22:34:38 +0800 Subject: [PATCH] bring back landing_page option since commit #d355a65df01285c6aa4003099f8bfcb1a48ab517 (#251) --- types.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/types.go b/types.go index bc8ddce..ee645b1 100644 --- a/types.go +++ b/types.go @@ -192,16 +192,16 @@ type ( } // ApplicationContext struct - //Doc: https://developer.paypal.com/docs/api/subscriptions/v1/#definition-application_context + //Doc: https://developer.paypal.com/docs/api/orders/v2/#definition-application_context ApplicationContext struct { BrandName string `json:"brand_name,omitempty"` Locale string `json:"locale,omitempty"` ShippingPreference ShippingPreference `json:"shipping_preference,omitempty"` UserAction UserAction `json:"user_action,omitempty"` PaymentMethod PaymentMethod `json:"payment_method,omitempty"` - //LandingPage string `json:"landing_page,omitempty"` // not found in documentation - ReturnURL string `json:"return_url,omitempty"` - CancelURL string `json:"cancel_url,omitempty"` + LandingPage string `json:"landing_page,omitempty"` + ReturnURL string `json:"return_url,omitempty"` + CancelURL string `json:"cancel_url,omitempty"` } // Invoicing relates structures