forked from go-packages/paypal
BillingExample name config fixed
This commit is contained in:
parent
ce8c1014ec
commit
08b9849c20
|
@ -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",
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user