Add display name for payment method in rider API JO data. #424
This commit is contained in:
parent
42d086ff5d
commit
47eaa6488f
1 changed files with 4 additions and 1 deletions
|
|
@ -449,6 +449,7 @@ class CMBRiderAPIHandler implements RiderAPIHandlerInterface
|
|||
'items' => $inv_items,
|
||||
],
|
||||
'mode_of_payment' => $jo->getModeOfPayment(),
|
||||
'mode_of_payment_display' => CMBModeOfPayment::getName($jo->getModeOfPayment()),
|
||||
'trade_in_type' => $trade_in_type,
|
||||
'promo' => $promo_data,
|
||||
// TODO: load the actual
|
||||
|
|
@ -587,6 +588,7 @@ class CMBRiderAPIHandler implements RiderAPIHandlerInterface
|
|||
'items' => $inv_items,
|
||||
],
|
||||
'mode_of_payment' => $jo->getModeOfPayment(),
|
||||
'mode_of_payment_display' => CMBModeOfPayment::getName($jo->getModeOfPayment()),
|
||||
'trade_in_type' => $trade_in_type,
|
||||
'promo' => $promo_data,
|
||||
// TODO: load the actual
|
||||
|
|
@ -747,7 +749,8 @@ class CMBRiderAPIHandler implements RiderAPIHandlerInterface
|
|||
'vat' => $inv->getVat(),
|
||||
'items' => $inv_items,
|
||||
],
|
||||
'mode_of_payment' => $jo->getModeOfPayment(),
|
||||
'mode_of_payment' => $jo->getModeOfPayment(),
|
||||
'mode_of_payment_display' => CMBModeOfPayment::getName($jo->getModeOfPayment()),
|
||||
'trade_in_type' => $trade_in_type,
|
||||
'promo' => $promo_data,
|
||||
// TODO: load the actual
|
||||
|
|
|
|||
Loading…
Reference in a new issue