Change items order. It turned out that it is important.
This commit is contained in:
@ -44,16 +44,13 @@ namespace Hcs.Client.Api.Request.Bills
|
|||||||
|
|
||||||
private importPaymentDocumentRequest GetRequestFromPayload(ImportPaymentDocumentPayload payload)
|
private importPaymentDocumentRequest GetRequestFromPayload(ImportPaymentDocumentPayload payload)
|
||||||
{
|
{
|
||||||
var items = new List<object>
|
var items = new List<object>();
|
||||||
{
|
|
||||||
payload.month,
|
|
||||||
payload.year
|
|
||||||
};
|
|
||||||
|
|
||||||
if (payload.confirmAmountsCorrect)
|
if (payload.confirmAmountsCorrect)
|
||||||
{
|
{
|
||||||
items.Add(true);
|
items.Add(true);
|
||||||
}
|
}
|
||||||
|
items.Add(payload.month);
|
||||||
|
items.Add(payload.year);
|
||||||
|
|
||||||
var paymentInformations = new Dictionary<ImportPaymentDocumentPayload.PaymentInformation, importPaymentDocumentRequestPaymentInformation>();
|
var paymentInformations = new Dictionary<ImportPaymentDocumentPayload.PaymentInformation, importPaymentDocumentRequestPaymentInformation>();
|
||||||
foreach (var entry in payload.paymentInformation)
|
foreach (var entry in payload.paymentInformation)
|
||||||
|
|||||||
Reference in New Issue
Block a user