Pedido original

{
    "orderCode": "01-23456789",
    "orderDate": "2018-01-01T12:00:00.000+0000",
    "orderStatus": "CONCLUDED",
    "channelName": "B2W",
    "invoiceDate": "2018-01-02T12:00:00.000+0000",
    "invoiceNumber": "002569",
    "customer": {
        "documentNumber": "684654654",
        "name": "wilson hanks"
    },
    "totalNetValue": 570.00,
    "totalFreightValue": 70.00,
    "interestValue": 0.00,
    "orderIdHubOrigin" : "123654",
    "accountName" : "SELLER_NAME",
    "shippingId" : "20156874689",
    "items": [{
        "idInMarketplace": "012345678901",
        "code": "4MD78",
        "categories": [{
            "code": "962",
            "name": "Eletronicos"
        }],
        "sendDate": "2018-01-03T12:00:00.000+0000",
        "quantity": 2,
        "unitValue": 250.00,
        "freightValue": 70.00,
        "comissionType": "924",
        "height": 6,
        "width": 14,
        "length": 16,
        "weight": 0.3
    }],
    "payments": [{
        "method": "CREDIT_CARD",
        "date": "2018-01-02T10:00:00.000+0000",
        "value": 570.00,
        "installmentQuantity": 4
    }]
}
"comissionPercent": "12"

Pedido transformado com contrato do tipo ciclo/quinzenal

[{
    "id": 463,
    "oi": "205000314.",
    "channelStatus": "CONCLUDED",
    "internalStatus": "INVOICED",
    "orderCode": "01-23456789",
    "orderDate": "2018-01-01T12:00:00.000+0000",
    "paidDate": "2018-01-02T10:00:00.000+0000",
    "invoiceDate": "2018-01-02T12:00:00.000+0000",
    "sentDate": "2018-01-03T12:00:00.000+0000",
    "orderId": "012345678901",
    "origin": "B2W",
    "paymentMethod": "BILLET",
    "plotValue": 570,
    "totalValue": 570,
    "plotsQuantity": 1,
    "plotNumber": 1,
    "extractType": "SALE",
    "expectedValue": 570,
    "releasedValue": null,
    "expectedPercentualComission": null,
    "releasedPercentualComission": null,
    "expectedDate": "2018-02-01T00:00:00.000+0000",
    "releasedDate": null,
    "situation": "WAITING",
    "concilied": false,
    "observation": null,
    "conciliationId": null,
    "channel": "B2W",
    "resolvedInERP": false,
    "orderIdHubOrigin": 123654,
	"accountName": "marketplace_account",
	"invoiceNumber": "002569",
	"customerName": "João da Silva",
	"customerDocumentNumber": 578654448,
	"conciliationInitDate": null,
	"conciliationEndDate": null,
	"partialConcilied": false,
	"originalValue": 570
},
{
    "id": 464,
    "oi": "205000314.",
    "channelStatus": "CONCLUDED",
    "internalStatus": "INVOICED",
    "orderCode": "01-23456789",
    "orderDate": "2018-01-01T12:00:00.000+0000",
    "paidDate": "2018-01-02T10:00:00.000+0000",
    "invoiceDate": "2018-01-02T12:00:00.000+0000",
    "sentDate": "2018-01-03T12:00:00.000+0000",
    "orderId": "012345678901",
    "origin": "B2W",
    "paymentMethod": "BILLET",
    "plotValue": 570,
    "totalValue": 570,
    "plotsQuantity": 1,
    "plotNumber": 1,
    "extractType": "COMISSION",
    "expectedValue": 68.4,
    "releasedValue": null,
    "expectedPercentualComission": 12,
    "releasedPercentualComission": null,
    "expectedDate": "2018-02-01T00:00:00.000+0000",
    "releasedDate": null,
    "situation": "WAITING",
    "concilied": false,
    "observation": null,
    "conciliationId": null,
    "channel": "B2W",
    "resolvedInERP": false,
    "orderIdHubOrigin": 123654,
	"accountName": "marketplace_account",
	"invoiceNumber": "002569",
	"customerName": "João da Silva",
	"customerDocumentNumber": 578654448,
	"conciliationInitDate": null,
	"conciliationEndDate": null,
	"partialConcilied": false,
	"originalValue": 570
}]

Pedido transformado com contrato do tipo parcelado

[{
    "id": 465,
    "oi": "205000314.",
    "channelStatus": "CONCLUDED",
    "internalStatus": "INVOICED",
    "orderCode": "01-23456789",
    "orderDate": "2018-01-01T12:00:00.000+0000",
    "paidDate": "2018-01-02T10:00:00.000+0000",
    "invoiceDate": "2018-01-02T12:00:00.000+0000",
    "sentDate": "2018-01-03T12:00:00.000+0000",
    "orderId": "012345678901",
    "origin": "B2W",
    "paymentMethod": "CREDIT_CARD",
    "plotValue": 142.5,
    "totalValue": 570,
    "plotsQuantity": 4,
    "plotNumber": 1,
    "extractType": "SALE",
    "expectedValue": 142.5,
    "releasedValue": null,
    "expectedPercentualComission": null,
    "releasedPercentualComission": null,
    "expectedDate": "2018-02-02T00:00:00.000+0000",
    "releasedDate": null,
    "situation": "WAITING",
    "concilied": false,
    "observation": null,
    "conciliationId": null,
    "channel": "B2W",
    "resolvedInERP": false,
    "orderIdHubOrigin": 123654,
	"accountName": "marketplace_account",
	"invoiceNumber": "002569",
	"customerName": "João da Silva",
	"customerDocumentNumber": 578654448,
	"conciliationInitDate": null,
	"conciliationEndDate": null,
	"partialConcilied": false,
	"originalValue": 142.5
},
{
    "id": 466,
    "oi": "205000314.",
    "channelStatus": "CONCLUDED",
    "internalStatus": "INVOICED",
    "orderCode": "01-23456789",
    "orderDate": "2018-01-01T12:00:00.000+0000",
    "paidDate": "2018-01-02T10:00:00.000+0000",
    "invoiceDate": "2018-01-02T12:00:00.000+0000",
    "sentDate": "2018-01-03T12:00:00.000+0000",
    "orderId": "012345678901",
    "origin": "B2W",
    "paymentMethod": "CREDIT_CARD",
    "plotValue": 142.5,
    "totalValue": 570,
    "plotsQuantity": 4,
    "plotNumber": 1,
    "extractType": "COMISSION",
    "expectedValue": 17.1,
    "releasedValue": null,
    "expectedPercentualComission": 12,
    "releasedPercentualComission": null,
    "expectedDate": "2018-02-02T00:00:00.000+0000",
    "releasedDate": null,
    "situation": "WAITING",
    "concilied": false,
    "observation": null,
    "conciliationId": null,
    "channel": "B2W",
    "resolvedInERP": false,
    "orderIdHubOrigin": 123654,
	"accountName": "marketplace_account",
	"invoiceNumber": "002569",
	"customerName": "João da Silva",
	"customerDocumentNumber": 578654448,
	"conciliationInitDate": null,
	"conciliationEndDate": null,
	"partialConcilied": false,
	"originalValue": 17.1
},
{
    "id": 467,
    "oi": "205000314.",
    "channelStatus": "CONCLUDED",
    "internalStatus": "INVOICED",
    "orderCode": "01-23456789",
    "orderDate": "2018-01-01T12:00:00.000+0000",
    "paidDate": "2018-01-02T10:00:00.000+0000",
    "invoiceDate": "2018-01-02T12:00:00.000+0000",
    "sentDate": "2018-01-03T12:00:00.000+0000",
    "orderId": "012345678901",
    "origin": "B2W",
    "paymentMethod": "CREDIT_CARD",
    "plotValue": 142.5,
    "totalValue": 570,
    "plotsQuantity": 4,
    "plotNumber": 2,
    "extractType": "SALE",
    "expectedValue": 142.5,
    "releasedValue": null,
    "expectedPercentualComission": null,
    "releasedPercentualComission": null,
    "expectedDate": "2018-03-04T00:00:00.000+0000",
    "releasedDate": null,
    "situation": "WAITING",
    "concilied": false,
    "observation": null,
    "conciliationId": null,
    "channel": "B2W",
    "resolvedInERP": false,
    "orderIdHubOrigin": 123654,
	"accountName": "marketplace_account",
	"invoiceNumber": "002569",
	"customerName": "João da Silva",
	"customerDocumentNumber": 578654448,
	"conciliationInitDate": null,
	"conciliationEndDate": null,
	"partialConcilied": false,
	"originalValue": 142.5
},
{
    "id": 468,
    "oi": "205000314.",
    "channelStatus": "CONCLUDED",
    "internalStatus": "INVOICED",
    "orderCode": "01-23456789",
    "orderDate": "2018-01-01T12:00:00.000+0000",
    "paidDate": "2018-01-02T10:00:00.000+0000",
    "invoiceDate": "2018-01-02T12:00:00.000+0000",
    "sentDate": "2018-01-03T12:00:00.000+0000",
    "orderId": "012345678901",
    "origin": "B2W",
    "paymentMethod": "CREDIT_CARD",
    "plotValue": 142.5,
    "totalValue": 570,
    "plotsQuantity": 4,
    "plotNumber": 2,
    "extractType": "COMISSION",
    "expectedValue": 17.1,
    "releasedValue": null,
    "expectedPercentualComission": 12,
    "releasedPercentualComission": null,
    "expectedDate": "2018-03-04T00:00:00.000+0000",
    "releasedDate": null,
    "situation": "WAITING",
    "concilied": false,
    "observation": null,
    "conciliationId": null,
    "channel": "B2W",
    "resolvedInERP": false,
    "orderIdHubOrigin": 123654,
	"accountName": "marketplace_account",
	"invoiceNumber": "002569",
	"customerName": "João da Silva",
	"customerDocumentNumber": 578654448,
	"conciliationInitDate": null,
	"conciliationEndDate": null,
	"partialConcilied": false,
	"originalValue": 17.1
},
{
    "id": 469,
    "oi": "205000314.",
    "channelStatus": "CONCLUDED",
    "internalStatus": "INVOICED",
    "orderCode": "01-23456789",
    "orderDate": "2018-01-01T12:00:00.000+0000",
    "paidDate": "2018-01-02T10:00:00.000+0000",
    "invoiceDate": "2018-01-02T12:00:00.000+0000",
    "sentDate": "2018-01-03T12:00:00.000+0000",
    "orderId": "012345678901",
    "origin": "B2W",
    "paymentMethod": "CREDIT_CARD",
    "plotValue": 142.5,
    "totalValue": 570,
    "plotsQuantity": 4,
    "plotNumber": 3,
    "extractType": "SALE",
    "expectedValue": 142.5,
    "releasedValue": null,
    "expectedPercentualComission": null,
    "releasedPercentualComission": null,
    "expectedDate": "2018-04-03T00:00:00.000+0000",
    "releasedDate": null,
    "situation": "WAITING",
    "concilied": false,
    "observation": null,
    "conciliationId": null,
    "channel": "B2W",
    "resolvedInERP": false,
    "orderIdHubOrigin": 123654,
	"accountName": "marketplace_account",
	"invoiceNumber": "002569",
	"customerName": "João da Silva",
	"customerDocumentNumber": 578654448,
	"conciliationInitDate": null,
	"conciliationEndDate": null,
	"partialConcilied": false,
	"originalValue": 142.5
},
{
    "id": 470,
    "oi": "205000314.",
    "channelStatus": "CONCLUDED",
    "internalStatus": "INVOICED",
    "orderCode": "01-23456789",
    "orderDate": "2018-01-01T12:00:00.000+0000",
    "paidDate": "2018-01-02T10:00:00.000+0000",
    "invoiceDate": "2018-01-02T12:00:00.000+0000",
    "sentDate": "2018-01-03T12:00:00.000+0000",
    "orderId": "012345678901",
    "origin": "B2W",
    "paymentMethod": "CREDIT_CARD",
    "plotValue": 142.5,
    "totalValue": 570,
    "plotsQuantity": 4,
    "plotNumber": 3,
    "extractType": "COMISSION",
    "expectedValue": 17.1,
    "releasedValue": null,
    "expectedPercentualComission": 12,
    "releasedPercentualComission": null,
    "expectedDate": "2018-04-03T00:00:00.000+0000",
    "releasedDate": null,
    "situation": "WAITING",
    "concilied": false,
    "observation": null,
    "conciliationId": null,
    "channel": "B2W",
    "resolvedInERP": false,
    "orderIdHubOrigin": 123654,
	"accountName": "marketplace_account",
	"invoiceNumber": "002569",
	"customerName": "João da Silva",
	"customerDocumentNumber": 578654448,
	"conciliationInitDate": null,
	"conciliationEndDate": null,
	"partialConcilied": false,
	"originalValue": 17.1
},
{
    "id": 471,
    "oi": "205000314.",
    "channelStatus": "CONCLUDED",
    "internalStatus": "INVOICED",
    "orderCode": "01-23456789",
    "orderDate": "2018-01-01T12:00:00.000+0000",
    "paidDate": "2018-01-02T10:00:00.000+0000",
    "invoiceDate": "2018-01-02T12:00:00.000+0000",
    "sentDate": "2018-01-03T12:00:00.000+0000",
    "orderId": "012345678901",
    "origin": "B2W",
    "paymentMethod": "CREDIT_CARD",
    "plotValue": 142.5,
    "totalValue": 570,
    "plotsQuantity": 4,
    "plotNumber": 4,
    "extractType": "SALE",
    "expectedValue": 142.5,
    "releasedValue": null,
    "expectedPercentualComission": null,
    "releasedPercentualComission": null,
    "expectedDate": "2018-05-03T00:00:00.000+0000",
    "releasedDate": null,
    "situation": "WAITING",
    "concilied": false,
    "observation": null,
    "conciliationId": null,
    "channel": "B2W",
    "resolvedInERP": false,
    "orderIdHubOrigin": 123654,
	"accountName": "marketplace_account",
	"invoiceNumber": "002569",
	"customerName": "João da Silva",
	"customerDocumentNumber": 578654448,
	"conciliationInitDate": null,
	"conciliationEndDate": null,
	"partialConcilied": false,
	"originalValue": 142.5
},
{
    "id": 472,
    "oi": "205000314.",
    "channelStatus": "CONCLUDED",
    "internalStatus": "INVOICED",
    "orderCode": "01-23456789",
    "orderDate": "2018-01-01T12:00:00.000+0000",
    "paidDate": "2018-01-02T10:00:00.000+0000",
    "invoiceDate": "2018-01-02T12:00:00.000+0000",
    "sentDate": "2018-01-03T12:00:00.000+0000",
    "orderId": "012345678901",
    "origin": "B2W",
    "paymentMethod": "CREDIT_CARD",
    "plotValue": 142.5,
    "totalValue": 570,
    "plotsQuantity": 4,
    "plotNumber": 4,
    "extractType": "COMISSION",
    "expectedValue": 17.1,
    "releasedValue": null,
    "expectedPercentualComission": 12,
    "releasedPercentualComission": null,
    "expectedDate": "2018-05-03T00:00:00.000+0000",
    "releasedDate": null,
    "situation": "WAITING",
    "concilied": false,
    "observation": null,
    "conciliationId": null,
    "channel": "B2W",
    "resolvedInERP": false,
    "orderIdHubOrigin": 123654,
	"accountName": "marketplace_account",
	"invoiceNumber": "002569",
	"customerName": "João da Silva",
	"customerDocumentNumber": 578654448,
	"conciliationInitDate": null,
	"conciliationEndDate": null,
	"partialConcilied": false,
	"originalValue": 17.1
}]