BillingExample name config fixed

This commit is contained in:
envy124 2017-08-24 17:43:41 +03:00
parent ce8c1014ec
commit 08b9849c20

View File

@ -6,7 +6,7 @@ import (
"time" "time"
) )
func Example() { func BillingExample() {
plan := pp.BillingPlan{ plan := pp.BillingPlan{
Name: "Plan with Regular and Trial Payment Definitions", Name: "Plan with Regular and Trial Payment Definitions",
Description: "Plan with regular and trial payment definitions.", Description: "Plan with regular and trial payment definitions.",
@ -68,7 +68,7 @@ func Example() {
}, },
}, },
MerchantPreferences: &pp.MerchantPreferences{ MerchantPreferences: &pp.MerchantPreferences{
SetupFee: pp.AmountPayout{ SetupFee: &pp.AmountPayout{
Value: "1", Value: "1",
Currency: "USD", Currency: "USD",
}, },