sips2: add new payment_means option (ex: VISA,MASTERCARD) (#14160)

This commit is contained in:
Frédéric Péters 2016-11-29 19:45:02 +01:00
parent cc20d93cc9
commit 6ebbb5aa9d
1 changed files with 7 additions and 0 deletions

View File

@ -130,6 +130,11 @@ class Payment(PaymentCommon):
'caption': _('Capture Day'),
'required': False,
},
{
'name': 'payment_means',
'caption': _('Payment Means'),
'required': False
}
],
}
@ -155,6 +160,8 @@ class Payment(PaymentCommon):
data['captureMode'] = self.capture_mode
if self.capture_day:
data['captureDay'] = self.capture_day
if self.payment_means:
data['paymentMeanBrandList'] = self.payment_means
return data
def get_url(self):