@@ 55-59 (lines=5) @@ | ||
52 | $cardDirectPayIn->setStatus($payIn->Status); |
|
53 | $cardDirectPayIn->setCurrency($payIn->DebitedFunds->Currency); |
|
54 | ||
55 | if (isset($payIn->CreditedFunds->Amount)) { |
|
56 | $cardDirectPayIn->setAmount($payIn->CreditedFunds->Amount); |
|
57 | } else { |
|
58 | $cardDirectPayIn->setAmount($payIn->DebitedFunds->Amount); |
|
59 | } |
|
60 | ||
61 | $cardDirectPayIn->setAuthorId($payIn->AuthorId); |
|
62 | $cardDirectPayIn->setFees($payIn->Fees->Amount); |
|
@@ 105-109 (lines=5) @@ | ||
102 | $cardDirectPayIn->setAuthorId($payIn->AuthorId); |
|
103 | $cardDirectPayIn->setCreditedWalletId($payIn->CreditedWalletId); |
|
104 | $cardDirectPayIn->setCreditedUserId($payIn->CreditedUserId); |
|
105 | if (isset($payIn->CreditedFunds->Amount)) { |
|
106 | $cardDirectPayIn->setDeclaredDebitedFundsAmount($payIn->CreditedFunds->Amount); |
|
107 | } else { |
|
108 | $cardDirectPayIn->setDeclaredDebitedFundsAmount($payIn->DebitedFunds->Amount); |
|
109 | } |
|
110 | $cardDirectPayIn->setDeclaredDebitedFundsCurrency($payIn->PaymentDetails->DeclaredDebitedFunds->Currency); |
|
111 | $cardDirectPayIn->setDeclaredFeesAmount($payIn->PaymentDetails->DeclaredFees->Amount); |
|
112 | $cardDirectPayIn->setDeclaredFeesCurrency($payIn->PaymentDetails->DeclaredFees->Currency); |