From 08b9849c2056c0caf39e661572c4440d669b37fa Mon Sep 17 00:00:00 2001 From: envy124 Date: Thu, 24 Aug 2017 17:43:41 +0300 Subject: [PATCH] BillingExample name config fixed --- billing_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/billing_test.go b/billing_test.go index 2557bd5..6fb1f9b 100644 --- a/billing_test.go +++ b/billing_test.go @@ -6,7 +6,7 @@ import ( "time" ) -func Example() { +func BillingExample() { plan := pp.BillingPlan{ Name: "Plan with Regular and Trial Payment Definitions", Description: "Plan with regular and trial payment definitions.", @@ -68,7 +68,7 @@ func Example() { }, }, MerchantPreferences: &pp.MerchantPreferences{ - SetupFee: pp.AmountPayout{ + SetupFee: &pp.AmountPayout{ Value: "1", Currency: "USD", },