mirror of
https://github.com/valitydev/capi-v2.git
synced 2024-11-06 10:05:21 +00:00
BA-52: Fix merchstat marshalling (#152)
This commit is contained in:
parent
f653e420a0
commit
1673261ca1
@ -2773,6 +2773,14 @@ merchstat_to_domain({payment_terminal, #merchstat_PaymentTerminal{
|
||||
terminal_type = Type}}
|
||||
) ->
|
||||
{payment_terminal, #domain_PaymentTerminal{terminal_type = Type}};
|
||||
merchstat_to_domain({digital_wallet, #merchstat_DigitalWallet{
|
||||
provider = Provider,
|
||||
id = ID
|
||||
}}) ->
|
||||
{digital_wallet, #domain_DigitalWallet{
|
||||
provider = Provider,
|
||||
id = ID
|
||||
}};
|
||||
merchstat_to_domain({bank_card, #merchstat_PayoutCard{card = BankCard}}) ->
|
||||
merchstat_to_domain({bank_card, BankCard});
|
||||
merchstat_to_domain({bank_account, #merchstat_PayoutAccount{account = #merchstat_BankAccount{
|
||||
|
Loading…
Reference in New Issue
Block a user