MerchantPreferences.SetupFee omitempty

This commit is contained in:
envy124 2017-08-24 09:08:31 +03:00
parent 3f9821784c
commit d4da804af2

View File

@ -249,12 +249,12 @@ type (
// MerchantPreferences struct
MerchantPreferences struct {
SetupFee AmountPayout `json:"setup_fee,omitempty"`
ReturnUrl string `json:"return_url,omitempty"`
CancelUrl string `json:"cancel_url,omitempty"`
AutoBillAmount string `json:"auto_bill_amount,omitempty"`
InitialFailAmountAction string `json:"initial_fail_amount_action,omitempty"`
MaxFailAttempts string `json:"max_fail_attempts,omitempty"`
SetupFee *AmountPayout `json:"setup_fee,omitempty"`
ReturnUrl string `json:"return_url,omitempty"`
CancelUrl string `json:"cancel_url,omitempty"`
AutoBillAmount string `json:"auto_bill_amount,omitempty"`
InitialFailAmountAction string `json:"initial_fail_amount_action,omitempty"`
MaxFailAttempts string `json:"max_fail_attempts,omitempty"`
}
// Order struct