From 20b528c705c5f92b773e80ae4a59f281fa1fcd69 Mon Sep 17 00:00:00 2001 From: Magno Date: Wed, 19 Apr 2023 10:30:55 -0300 Subject: [PATCH] 6.7.9 (#23) Co-authored-by: Unknown --- .phan/config.php | 4 +- README.md | 2 +- composer.json | 9 +- doc/client.md | 2 +- doc/controllers/charges.md | 285 +- doc/controllers/customers.md | 301 +- doc/controllers/invoices.md | 34 +- doc/controllers/orders.md | 251 +- doc/controllers/plans.md | 297 +- doc/controllers/recipients.md | 270 +- doc/controllers/subscriptions.md | 892 ++- doc/controllers/tokens.md | 45 +- doc/controllers/transfers.md | 13 +- doc/models/create-access-token-request.md | 2 +- doc/models/create-apple-pay-header-request.md | 4 +- doc/models/create-apple-pay-request.md | 4 +- doc/models/create-bank-account-request.md | 4 +- doc/models/create-boleto-payment-request.md | 20 +- doc/models/create-cancel-charge-request.md | 56 +- doc/models/create-capture-charge-request.md | 38 +- ...create-card-payment-contactless-request.md | 47 +- doc/models/create-card-request.md | 17 +- ...te-checkout-credit-card-payment-request.md | 32 +- ...ate-checkout-debit-card-payment-request.md | 14 +- doc/models/create-checkout-payment-request.md | 80 +- .../create-checkout-pix-payment-request.md | 15 +- doc/models/create-confirm-payment-request.md | 2 +- .../create-credit-card-payment-request.md | 18 +- .../create-debit-card-payment-request.md | 117 +- doc/models/create-device-request.md | 2 +- doc/models/create-discount-request.md | 4 +- doc/models/create-emv-data-decrypt-request.md | 4 +- doc/models/create-emv-decrypt-request.md | 12 +- doc/models/create-increment-request.md | 4 +- doc/models/create-order-item-request.md | 2 +- .../create-payment-authentication-request.md | 12 +- doc/models/create-payment-request.md | 593 +- doc/models/create-period-request.md | 2 +- doc/models/create-phone-request.md | 6 +- doc/models/create-phones-request.md | 12 +- doc/models/create-pix-payment-request.md | 15 +- doc/models/create-plan-item-request.md | 31 +- doc/models/create-plan-request.md | 91 +- doc/models/create-price-bracket-request.md | 4 +- doc/models/create-pricing-scheme-request.md | 27 +- .../create-private-label-payment-request.md | 13 +- doc/models/create-setup-request.md | 425 +- doc/models/create-shipping-request.md | 4 +- doc/models/create-split-options-request.md | 6 +- doc/models/create-split-request.md | 8 +- doc/models/create-sub-merchant-request.md | 6 +- .../create-subscription-boleto-request.md | 14 +- .../create-subscription-item-request.md | 45 +- doc/models/create-subscription-request.md | 4 +- .../create-subscription-split-request.md | 8 +- doc/models/create-three-d-secure-request.md | 12 +- .../create-transaction-report-file-request.md | 4 +- doc/models/create-transfer.md | 6 +- doc/models/create-usage-request.md | 6 +- doc/models/create-voucher-payment-request.md | 6 +- doc/models/create-withdraw-request.md | 6 +- doc/models/get-access-token-response.md | 103 +- doc/models/get-address-response.md | 131 +- doc/models/get-anticipation-limit-response.md | 4 +- .../get-anticipation-limits-response.md | 10 +- doc/models/get-anticipation-response.md | 147 +- doc/models/get-antifraud-response.md | 10 +- .../get-automatic-anticipation-response.md | 14 +- doc/models/get-balance-response.md | 137 +- doc/models/get-bank-account-response.md | 163 +- .../get-bank-transfer-transaction-response.md | 635 +- doc/models/get-billing-address-response.md | 20 +- doc/models/get-boleto-transaction-response.md | 668 +- doc/models/get-card-response.md | 142 +- doc/models/get-card-token-response.md | 16 +- doc/models/get-cash-transaction-response.md | 771 ++- doc/models/get-charge-response.md | 22 +- doc/models/get-charges-summary-response.md | 2 +- ...checkout-bank-transfer-payment-response.md | 4 +- .../get-checkout-boleto-payment-response.md | 4 +- ...t-checkout-credit-card-payment-response.md | 28 +- ...et-checkout-debit-card-payment-response.md | 13 +- doc/models/get-checkout-payment-response.md | 407 +- .../get-checkout-payment-settings-response.md | 113 +- .../get-checkout-pix-payment-response.md | 13 +- .../get-credit-card-transaction-response.md | 761 ++- doc/models/get-customer-response.md | 140 +- .../get-debit-card-transaction-response.md | 780 ++- doc/models/get-device-response.md | 2 +- doc/models/get-discount-response.md | 2900 +++++++- doc/models/get-fine-response.md | 4 +- doc/models/get-gateway-error-response.md | 2 +- doc/models/get-gateway-recipient-response.md | 10 +- doc/models/get-gateway-response-response.md | 14 +- doc/models/get-increment-response.md | 2900 +++++++- doc/models/get-interest-response.md | 4 +- doc/models/get-invoice-item-response.md | 44 +- doc/models/get-invoice-response.md | 4544 ++++++++++++- doc/models/get-location-response.md | 4 +- doc/models/get-order-item-response.md | 12 +- doc/models/get-order-response.md | 3290 ++++++++- .../get-payment-authentication-response.md | 10 +- doc/models/get-period-response.md | 1366 +++- doc/models/get-phone-response.md | 6 +- doc/models/get-phones-response.md | 12 +- doc/models/get-pix-bank-account-response.md | 8 +- doc/models/get-pix-payer-response.md | 13 +- doc/models/get-pix-transaction-response.md | 654 +- doc/models/get-plan-item-response.md | 330 +- doc/models/get-plan-response.md | 378 +- doc/models/get-price-bracket-response.md | 8 +- doc/models/get-pricing-scheme-response.md | 29 +- .../get-private-label-transaction-response.md | 609 +- doc/models/get-recipient-response.md | 18 +- .../get-safety-pay-transaction-response.md | 467 +- doc/models/get-setup-response.md | 8 +- doc/models/get-shipping-response.md | 111 +- doc/models/get-split-options-response.md | 6 +- doc/models/get-split-response.md | 143 +- doc/models/get-subscription-item-response.md | 5528 ++++++++++++++- doc/models/get-subscription-response.md | 43 +- doc/models/get-subscription-split-response.md | 144 +- doc/models/get-three-d-secure-response.md | 10 +- doc/models/get-token-response.md | 19 +- .../get-transaction-report-file-response.md | 4 +- doc/models/get-transaction-response.md | 769 ++- doc/models/get-transfer-response.md | 152 +- doc/models/get-transfer-settings-response.md | 6 +- doc/models/get-transfer-source-response.md | 4 +- doc/models/get-transfer-target-response.md | 4 +- doc/models/get-transfer.md | 20 +- doc/models/get-usage-report-response.md | 6 +- doc/models/get-usage-response.md | 1556 ++++- .../get-voucher-transaction-response.md | 771 ++- doc/models/get-withdraw-response.md | 36 +- doc/models/get-withdraw-source-response.md | 4 +- doc/models/get-withdraw-target-response.md | 4 +- doc/models/list-access-tokens-response.md | 209 +- doc/models/list-addresses-response.md | 199 +- doc/models/list-anticipation-response.md | 295 +- doc/models/list-cards-response.md | 262 +- .../list-charge-transactions-response.md | 677 +- doc/models/list-charges-response.md | 3072 ++++++++- doc/models/list-customers-response.md | 201 +- doc/models/list-cycles-response.md | 2008 +++++- doc/models/list-discounts-response.md | 1865 ++++- doc/models/list-increments-response.md | 2030 +++++- doc/models/list-invoices-response.md | 2741 +++++++- doc/models/list-order-response.md | 5983 ++++++++++++++++- doc/models/list-plans-response.md | 662 +- doc/models/list-recipient-response.md | 273 +- .../list-subscription-items-response.md | 2865 +++++++- doc/models/list-subscriptions-response.md | 2013 +++++- .../list-transactions-files-response.md | 17 +- doc/models/list-transactions-response.md | 677 +- doc/models/list-transfer-response.md | 288 +- doc/models/list-transfers.md | 45 +- doc/models/list-usages-response.md | 4029 ++++++++++- doc/models/list-withdrawals.md | 77 +- doc/models/paging-response.md | 6 +- doc/models/pix-additional-information.md | 4 +- ...automatic-anticipation-settings-request.md | 10 +- doc/models/update-card-request.md | 2 +- doc/models/update-charge-card-request.md | 23 +- doc/models/update-charge-due-date-request.md | 2 +- .../update-charge-payment-method-request.md | 90 +- .../update-current-cycle-end-date-request.md | 2 +- doc/models/update-customer-request.md | 51 +- doc/models/update-plan-item-request.md | 22 +- doc/models/update-plan-request.md | 4 +- doc/models/update-price-bracket-request.md | 4 +- doc/models/update-pricing-scheme-request.md | 18 +- .../update-subscription-card-request.md | 19 +- .../update-subscription-item-request.md | 24 +- ...date-subscription-minimum-price-request.md | 2 +- ...ate-subscription-payment-method-request.md | 25 +- .../update-subscription-split-request.md | 8 +- .../CreateAccessTokenRequestBuilder.php | 57 + .../Builders/CreateAddressRequestBuilder.php | 71 + .../CreateAnticipationRequestBuilder.php | 48 + .../CreateAntifraudRequestBuilder.php | 49 + .../CreateApplePayHeaderRequestBuilder.php | 66 + .../Builders/CreateApplePayRequestBuilder.php | 54 + ...aticAnticipationSettingsRequestBuilder.php | 50 + .../CreateBankAccountRequestBuilder.php | 103 + ...reateBankTransferPaymentRequestBuilder.php | 48 + .../CreateBoletoPaymentRequestBuilder.php | 172 + .../CreateCancelChargeRequestBuilder.php | 75 + ...teCancelChargeSplitRulesRequestBuilder.php | 48 + ...CreateCancelSubscriptionRequestBuilder.php | 48 + .../CreateCaptureChargeRequestBuilder.php | 66 + .../CreateCardOptionsRequestBuilder.php | 48 + ...ardPaymentContactlessPOIRequestBuilder.php | 61 + ...teCardPaymentContactlessRequestBuilder.php | 78 + .../Builders/CreateCardRequestBuilder.php | 194 + .../CreateCardTokenRequestBuilder.php | 57 + .../CreateCashPaymentRequestBuilder.php | 48 + .../Builders/CreateChargeRequestBuilder.php | 79 + ...eateCheckoutBankTransferRequestBuilder.php | 48 + ...ateCheckoutBoletoPaymentRequestBuilder.php | 48 + ...outCardInstallmentOptionRequestBuilder.php | 48 + ...heckoutCreditCardPaymentRequestBuilder.php | 85 + ...CheckoutDebitCardPaymentRequestBuilder.php | 58 + .../CreateCheckoutPaymentRequestBuilder.php | 150 + ...CreateCheckoutPixPaymentRequestBuilder.php | 75 + .../CreateClearSaleRequestBuilder.php | 48 + .../CreateConfirmPaymentRequestBuilder.php | 57 + .../CreateCreditCardPaymentRequestBuilder.php | 186 + .../Builders/CreateCustomerRequestBuilder.php | 78 + .../CreateDebitCardPaymentRequestBuilder.php | 114 + .../Builders/CreateDeviceRequestBuilder.php | 57 + .../Builders/CreateDiscountRequestBuilder.php | 66 + .../CreateEmvDataDecryptRequestBuilder.php | 58 + ...reateEmvDataDukptDecryptRequestBuilder.php | 48 + .../CreateEmvDataTlvDecryptRequestBuilder.php | 48 + .../CreateEmvDecryptRequestBuilder.php | 59 + .../Builders/CreateFineRequestBuilder.php | 48 + .../CreateGooglePayHeaderRequestBuilder.php | 48 + .../CreateGooglePayRequestBuilder.php | 54 + .../CreateIncrementRequestBuilder.php | 66 + .../Builders/CreateInterestRequestBuilder.php | 48 + .../Builders/CreateInvoiceRequestBuilder.php | 48 + .../Builders/CreateLocationRequestBuilder.php | 48 + .../CreateOrderItemRequestBuilder.php | 57 + .../Builders/CreateOrderRequestBuilder.php | 159 + ...atePaymentAuthenticationRequestBuilder.php | 49 + .../Builders/CreatePaymentRequestBuilder.php | 202 + .../Builders/CreatePeriodRequestBuilder.php | 57 + .../Builders/CreatePhoneRequestBuilder.php | 75 + .../Builders/CreatePhonesRequestBuilder.php | 67 + .../CreatePixPaymentRequestBuilder.php | 75 + .../Builders/CreatePlanItemRequestBuilder.php | 71 + .../Builders/CreatePlanRequestBuilder.php | 114 + .../CreatePriceBracketRequestBuilder.php | 66 + .../CreatePricingSchemeRequestBuilder.php | 84 + ...reatePrivateLabelPaymentRequestBuilder.php | 139 + .../CreateRecipientRequestBuilder.php | 78 + .../Builders/CreateSetupRequestBuilder.php | 49 + .../Builders/CreateShippingRequestBuilder.php | 82 + .../CreateSplitOptionsRequestBuilder.php | 75 + .../Builders/CreateSplitRequestBuilder.php | 67 + .../CreateSubMerchantRequestBuilder.php | 67 + ...CreateSubscriptionBoletoRequestBuilder.php | 86 + .../CreateSubscriptionItemRequestBuilder.php | 84 + .../CreateSubscriptionRequestBuilder.php | 243 + .../CreateSubscriptionSplitRequestBuilder.php | 48 + .../CreateThreeDSecureRequestBuilder.php | 102 + .../Builders/CreateTokenRequestBuilder.php | 49 + ...ateTransactionReportFileRequestBuilder.php | 66 + src/Models/Builders/CreateTransferBuilder.php | 57 + .../Builders/CreateTransferRequestBuilder.php | 48 + .../CreateTransferSettingsRequestBuilder.php | 48 + .../Builders/CreateUsageRequestBuilder.php | 75 + .../CreateVoucherPaymentRequestBuilder.php | 94 + .../Builders/CreateWithdrawRequestBuilder.php | 57 + .../GetAccessTokenResponseBuilder.php | 139 + .../Builders/GetAddressResponseBuilder.php | 355 + .../GetAnticipationLimitResponseBuilder.php | 84 + .../GetAnticipationLimitsResponseBuilder.php | 85 + .../GetAnticipationResponseBuilder.php | 229 + .../Builders/GetAntifraudResponseBuilder.php | 138 + ...etAutomaticAnticipationResponseBuilder.php | 138 + .../Builders/GetBalanceResponseBuilder.php | 139 + .../GetBankAccountResponseBuilder.php | 337 + ...BankTransferTransactionResponseBuilder.php | 430 ++ .../GetBillingAddressResponseBuilder.php | 228 + .../GetBoletoTransactionResponseBuilder.php | 692 ++ .../Builders/GetCardResponseBuilder.php | 356 + .../Builders/GetCardTokenResponseBuilder.php | 192 + .../GetCashTransactionResponseBuilder.php | 403 ++ .../Builders/GetChargeResponseBuilder.php | 430 ++ .../GetChargesSummaryResponseBuilder.php | 66 + ...koutBankTransferPaymentResponseBuilder.php | 66 + ...etCheckoutBoletoPaymentResponseBuilder.php | 84 + ...tCardInstallmentOptionsResponseBuilder.php | 66 + ...eckoutCreditCardPaymentResponseBuilder.php | 103 + ...heckoutDebitCardPaymentResponseBuilder.php | 85 + .../GetCheckoutPaymentResponseBuilder.php | 542 ++ ...CheckoutPaymentSettingsResponseBuilder.php | 193 + .../GetCheckoutPixPaymentResponseBuilder.php | 84 + ...etCreditCardTransactionResponseBuilder.php | 593 ++ .../Builders/GetCustomerResponseBuilder.php | 320 + ...GetDebitCardTransactionResponseBuilder.php | 656 ++ .../Builders/GetDeviceResponseBuilder.php | 66 + .../Builders/GetDiscountResponseBuilder.php | 230 + .../Builders/GetFineResponseBuilder.php | 102 + .../GetGatewayErrorResponseBuilder.php | 66 + .../GetGatewayRecipientResponseBuilder.php | 138 + .../GetGatewayResponseResponseBuilder.php | 84 + .../Builders/GetIncrementResponseBuilder.php | 230 + .../Builders/GetInterestResponseBuilder.php | 102 + .../GetInvoiceItemResponseBuilder.php | 176 + .../Builders/GetInvoiceResponseBuilder.php | 468 ++ .../Builders/GetLocationResponseBuilder.php | 84 + .../Builders/GetOrderItemResponseBuilder.php | 156 + .../Builders/GetOrderResponseBuilder.php | 376 ++ ...etPaymentAuthenticationResponseBuilder.php | 85 + .../Builders/GetPeriodResponseBuilder.php | 229 + .../Builders/GetPhoneResponseBuilder.php | 102 + .../Builders/GetPhonesResponseBuilder.php | 85 + .../GetPixBankAccountResponseBuilder.php | 120 + .../Builders/GetPixPayerResponseBuilder.php | 121 + .../GetPixTransactionResponseBuilder.php | 494 ++ .../Builders/GetPlanItemResponseBuilder.php | 248 + .../Builders/GetPlanResponseBuilder.php | 426 ++ .../GetPriceBracketResponseBuilder.php | 120 + .../GetPricingSchemeResponseBuilder.php | 138 + ...PrivateLabelTransactionResponseBuilder.php | 584 ++ .../Builders/GetRecipientResponseBuilder.php | 357 + ...GetSafetyPayTransactionResponseBuilder.php | 457 ++ .../Builders/GetSetupResponseBuilder.php | 120 + .../Builders/GetShippingResponseBuilder.php | 193 + .../GetSplitOptionsResponseBuilder.php | 102 + .../Builders/GetSplitResponseBuilder.php | 158 + .../GetSubscriptionBoletoResponseBuilder.php | 104 + .../GetSubscriptionItemResponseBuilder.php | 284 + .../GetSubscriptionResponseBuilder.php | 594 ++ .../GetSubscriptionSplitResponseBuilder.php | 84 + .../GetThreeDSecureResponseBuilder.php | 138 + .../Builders/GetTokenResponseBuilder.php | 139 + ...etTransactionReportFileResponseBuilder.php | 84 + .../GetTransactionResponseBuilder.php | 385 ++ src/Models/Builders/GetTransferBuilder.php | 97 + .../Builders/GetTransferResponseBuilder.php | 175 + .../GetTransferSettingsResponseBuilder.php | 102 + .../GetTransferSourceResponseBuilder.php | 84 + .../GetTransferTargetResponseBuilder.php | 84 + .../GetUsageReportResponseBuilder.php | 102 + .../Builders/GetUsageResponseBuilder.php | 247 + .../GetVoucherTransactionResponseBuilder.php | 566 ++ .../Builders/GetWithdrawResponseBuilder.php | 284 + .../GetWithdrawSourceResponseBuilder.php | 84 + .../GetWithdrawTargetResponseBuilder.php | 84 + .../ListAccessTokensResponseBuilder.php | 85 + .../Builders/ListAddressesResponseBuilder.php | 85 + .../ListAnticipationResponseBuilder.php | 85 + .../Builders/ListCardsResponseBuilder.php | 85 + .../ListChargeTransactionsResponseBuilder.php | 85 + .../Builders/ListChargesResponseBuilder.php | 85 + .../Builders/ListCustomersResponseBuilder.php | 85 + .../Builders/ListCyclesResponseBuilder.php | 85 + .../Builders/ListDiscountsResponseBuilder.php | 85 + .../ListIncrementsResponseBuilder.php | 85 + .../Builders/ListInvoicesResponseBuilder.php | 85 + .../Builders/ListOrderResponseBuilder.php | 85 + .../Builders/ListPlansResponseBuilder.php | 85 + .../Builders/ListRecipientResponseBuilder.php | 85 + .../ListSubscriptionItemsResponseBuilder.php | 85 + .../ListSubscriptionsResponseBuilder.php | 85 + .../ListTransactionsFilesResponseBuilder.php | 85 + .../ListTransactionsResponseBuilder.php | 85 + .../Builders/ListTransferResponseBuilder.php | 85 + src/Models/Builders/ListTransfersBuilder.php | 49 + .../Builders/ListUsagesResponseBuilder.php | 85 + .../Builders/ListWithdrawalsBuilder.php | 49 + src/Models/Builders/PagingResponseBuilder.php | 102 + .../PixAdditionalInformationBuilder.php | 84 + .../Builders/UpdateAddressRequestBuilder.php | 48 + ...aticAnticipationSettingsRequestBuilder.php | 93 + .../Builders/UpdateCardRequestBuilder.php | 75 + .../UpdateChargeCardRequestBuilder.php | 53 + .../UpdateChargeDueDateRequestBuilder.php | 57 + ...pdateChargePaymentMethodRequestBuilder.php | 74 + ...pdateCurrentCycleEndDateRequestBuilder.php | 57 + ...UpdateCurrentCycleStatusRequestBuilder.php | 48 + .../Builders/UpdateCustomerRequestBuilder.php | 140 + .../UpdateInvoiceStatusRequestBuilder.php | 48 + .../Builders/UpdateMetadataRequestBuilder.php | 48 + .../UpdateOrderItemRequestBuilder.php | 48 + .../UpdateOrderStatusRequestBuilder.php | 48 + .../Builders/UpdatePlanItemRequestBuilder.php | 71 + .../Builders/UpdatePlanRequestBuilder.php | 93 + .../UpdatePriceBracketRequestBuilder.php | 66 + .../UpdatePricingSchemeRequestBuilder.php | 75 + ...dateRecipientBankAccountRequestBuilder.php | 49 + .../UpdateRecipientRequestBuilder.php | 54 + ...ubscriptionAffiliationIdRequestBuilder.php | 48 + ...eSubscriptionBillingDateRequestBuilder.php | 48 + .../UpdateSubscriptionCardRequestBuilder.php | 49 + ...pdateSubscriptionDueDaysRequestBuilder.php | 48 + .../UpdateSubscriptionItemRequestBuilder.php | 80 + ...SubscriptionMinimumPriceRequestBuilder.php | 57 + ...ubscriptionPaymentMethodRequestBuilder.php | 68 + .../UpdateSubscriptionSplitRequestBuilder.php | 48 + ...pdateSubscriptionStartAtRequestBuilder.php | 48 + .../UpdateTransferSettingsRequestBuilder.php | 48 + src/Models/CreateBankAccountRequest.php | 84 +- src/Models/UpdateCardRequest.php | 44 +- src/PagarmeApiSDKClient.php | 2 +- src/Utils/DateTimeHelper.php | 52 + 390 files changed, 92003 insertions(+), 2539 deletions(-) create mode 100644 src/Models/Builders/CreateAccessTokenRequestBuilder.php create mode 100644 src/Models/Builders/CreateAddressRequestBuilder.php create mode 100644 src/Models/Builders/CreateAnticipationRequestBuilder.php create mode 100644 src/Models/Builders/CreateAntifraudRequestBuilder.php create mode 100644 src/Models/Builders/CreateApplePayHeaderRequestBuilder.php create mode 100644 src/Models/Builders/CreateApplePayRequestBuilder.php create mode 100644 src/Models/Builders/CreateAutomaticAnticipationSettingsRequestBuilder.php create mode 100644 src/Models/Builders/CreateBankAccountRequestBuilder.php create mode 100644 src/Models/Builders/CreateBankTransferPaymentRequestBuilder.php create mode 100644 src/Models/Builders/CreateBoletoPaymentRequestBuilder.php create mode 100644 src/Models/Builders/CreateCancelChargeRequestBuilder.php create mode 100644 src/Models/Builders/CreateCancelChargeSplitRulesRequestBuilder.php create mode 100644 src/Models/Builders/CreateCancelSubscriptionRequestBuilder.php create mode 100644 src/Models/Builders/CreateCaptureChargeRequestBuilder.php create mode 100644 src/Models/Builders/CreateCardOptionsRequestBuilder.php create mode 100644 src/Models/Builders/CreateCardPaymentContactlessPOIRequestBuilder.php create mode 100644 src/Models/Builders/CreateCardPaymentContactlessRequestBuilder.php create mode 100644 src/Models/Builders/CreateCardRequestBuilder.php create mode 100644 src/Models/Builders/CreateCardTokenRequestBuilder.php create mode 100644 src/Models/Builders/CreateCashPaymentRequestBuilder.php create mode 100644 src/Models/Builders/CreateChargeRequestBuilder.php create mode 100644 src/Models/Builders/CreateCheckoutBankTransferRequestBuilder.php create mode 100644 src/Models/Builders/CreateCheckoutBoletoPaymentRequestBuilder.php create mode 100644 src/Models/Builders/CreateCheckoutCardInstallmentOptionRequestBuilder.php create mode 100644 src/Models/Builders/CreateCheckoutCreditCardPaymentRequestBuilder.php create mode 100644 src/Models/Builders/CreateCheckoutDebitCardPaymentRequestBuilder.php create mode 100644 src/Models/Builders/CreateCheckoutPaymentRequestBuilder.php create mode 100644 src/Models/Builders/CreateCheckoutPixPaymentRequestBuilder.php create mode 100644 src/Models/Builders/CreateClearSaleRequestBuilder.php create mode 100644 src/Models/Builders/CreateConfirmPaymentRequestBuilder.php create mode 100644 src/Models/Builders/CreateCreditCardPaymentRequestBuilder.php create mode 100644 src/Models/Builders/CreateCustomerRequestBuilder.php create mode 100644 src/Models/Builders/CreateDebitCardPaymentRequestBuilder.php create mode 100644 src/Models/Builders/CreateDeviceRequestBuilder.php create mode 100644 src/Models/Builders/CreateDiscountRequestBuilder.php create mode 100644 src/Models/Builders/CreateEmvDataDecryptRequestBuilder.php create mode 100644 src/Models/Builders/CreateEmvDataDukptDecryptRequestBuilder.php create mode 100644 src/Models/Builders/CreateEmvDataTlvDecryptRequestBuilder.php create mode 100644 src/Models/Builders/CreateEmvDecryptRequestBuilder.php create mode 100644 src/Models/Builders/CreateFineRequestBuilder.php create mode 100644 src/Models/Builders/CreateGooglePayHeaderRequestBuilder.php create mode 100644 src/Models/Builders/CreateGooglePayRequestBuilder.php create mode 100644 src/Models/Builders/CreateIncrementRequestBuilder.php create mode 100644 src/Models/Builders/CreateInterestRequestBuilder.php create mode 100644 src/Models/Builders/CreateInvoiceRequestBuilder.php create mode 100644 src/Models/Builders/CreateLocationRequestBuilder.php create mode 100644 src/Models/Builders/CreateOrderItemRequestBuilder.php create mode 100644 src/Models/Builders/CreateOrderRequestBuilder.php create mode 100644 src/Models/Builders/CreatePaymentAuthenticationRequestBuilder.php create mode 100644 src/Models/Builders/CreatePaymentRequestBuilder.php create mode 100644 src/Models/Builders/CreatePeriodRequestBuilder.php create mode 100644 src/Models/Builders/CreatePhoneRequestBuilder.php create mode 100644 src/Models/Builders/CreatePhonesRequestBuilder.php create mode 100644 src/Models/Builders/CreatePixPaymentRequestBuilder.php create mode 100644 src/Models/Builders/CreatePlanItemRequestBuilder.php create mode 100644 src/Models/Builders/CreatePlanRequestBuilder.php create mode 100644 src/Models/Builders/CreatePriceBracketRequestBuilder.php create mode 100644 src/Models/Builders/CreatePricingSchemeRequestBuilder.php create mode 100644 src/Models/Builders/CreatePrivateLabelPaymentRequestBuilder.php create mode 100644 src/Models/Builders/CreateRecipientRequestBuilder.php create mode 100644 src/Models/Builders/CreateSetupRequestBuilder.php create mode 100644 src/Models/Builders/CreateShippingRequestBuilder.php create mode 100644 src/Models/Builders/CreateSplitOptionsRequestBuilder.php create mode 100644 src/Models/Builders/CreateSplitRequestBuilder.php create mode 100644 src/Models/Builders/CreateSubMerchantRequestBuilder.php create mode 100644 src/Models/Builders/CreateSubscriptionBoletoRequestBuilder.php create mode 100644 src/Models/Builders/CreateSubscriptionItemRequestBuilder.php create mode 100644 src/Models/Builders/CreateSubscriptionRequestBuilder.php create mode 100644 src/Models/Builders/CreateSubscriptionSplitRequestBuilder.php create mode 100644 src/Models/Builders/CreateThreeDSecureRequestBuilder.php create mode 100644 src/Models/Builders/CreateTokenRequestBuilder.php create mode 100644 src/Models/Builders/CreateTransactionReportFileRequestBuilder.php create mode 100644 src/Models/Builders/CreateTransferBuilder.php create mode 100644 src/Models/Builders/CreateTransferRequestBuilder.php create mode 100644 src/Models/Builders/CreateTransferSettingsRequestBuilder.php create mode 100644 src/Models/Builders/CreateUsageRequestBuilder.php create mode 100644 src/Models/Builders/CreateVoucherPaymentRequestBuilder.php create mode 100644 src/Models/Builders/CreateWithdrawRequestBuilder.php create mode 100644 src/Models/Builders/GetAccessTokenResponseBuilder.php create mode 100644 src/Models/Builders/GetAddressResponseBuilder.php create mode 100644 src/Models/Builders/GetAnticipationLimitResponseBuilder.php create mode 100644 src/Models/Builders/GetAnticipationLimitsResponseBuilder.php create mode 100644 src/Models/Builders/GetAnticipationResponseBuilder.php create mode 100644 src/Models/Builders/GetAntifraudResponseBuilder.php create mode 100644 src/Models/Builders/GetAutomaticAnticipationResponseBuilder.php create mode 100644 src/Models/Builders/GetBalanceResponseBuilder.php create mode 100644 src/Models/Builders/GetBankAccountResponseBuilder.php create mode 100644 src/Models/Builders/GetBankTransferTransactionResponseBuilder.php create mode 100644 src/Models/Builders/GetBillingAddressResponseBuilder.php create mode 100644 src/Models/Builders/GetBoletoTransactionResponseBuilder.php create mode 100644 src/Models/Builders/GetCardResponseBuilder.php create mode 100644 src/Models/Builders/GetCardTokenResponseBuilder.php create mode 100644 src/Models/Builders/GetCashTransactionResponseBuilder.php create mode 100644 src/Models/Builders/GetChargeResponseBuilder.php create mode 100644 src/Models/Builders/GetChargesSummaryResponseBuilder.php create mode 100644 src/Models/Builders/GetCheckoutBankTransferPaymentResponseBuilder.php create mode 100644 src/Models/Builders/GetCheckoutBoletoPaymentResponseBuilder.php create mode 100644 src/Models/Builders/GetCheckoutCardInstallmentOptionsResponseBuilder.php create mode 100644 src/Models/Builders/GetCheckoutCreditCardPaymentResponseBuilder.php create mode 100644 src/Models/Builders/GetCheckoutDebitCardPaymentResponseBuilder.php create mode 100644 src/Models/Builders/GetCheckoutPaymentResponseBuilder.php create mode 100644 src/Models/Builders/GetCheckoutPaymentSettingsResponseBuilder.php create mode 100644 src/Models/Builders/GetCheckoutPixPaymentResponseBuilder.php create mode 100644 src/Models/Builders/GetCreditCardTransactionResponseBuilder.php create mode 100644 src/Models/Builders/GetCustomerResponseBuilder.php create mode 100644 src/Models/Builders/GetDebitCardTransactionResponseBuilder.php create mode 100644 src/Models/Builders/GetDeviceResponseBuilder.php create mode 100644 src/Models/Builders/GetDiscountResponseBuilder.php create mode 100644 src/Models/Builders/GetFineResponseBuilder.php create mode 100644 src/Models/Builders/GetGatewayErrorResponseBuilder.php create mode 100644 src/Models/Builders/GetGatewayRecipientResponseBuilder.php create mode 100644 src/Models/Builders/GetGatewayResponseResponseBuilder.php create mode 100644 src/Models/Builders/GetIncrementResponseBuilder.php create mode 100644 src/Models/Builders/GetInterestResponseBuilder.php create mode 100644 src/Models/Builders/GetInvoiceItemResponseBuilder.php create mode 100644 src/Models/Builders/GetInvoiceResponseBuilder.php create mode 100644 src/Models/Builders/GetLocationResponseBuilder.php create mode 100644 src/Models/Builders/GetOrderItemResponseBuilder.php create mode 100644 src/Models/Builders/GetOrderResponseBuilder.php create mode 100644 src/Models/Builders/GetPaymentAuthenticationResponseBuilder.php create mode 100644 src/Models/Builders/GetPeriodResponseBuilder.php create mode 100644 src/Models/Builders/GetPhoneResponseBuilder.php create mode 100644 src/Models/Builders/GetPhonesResponseBuilder.php create mode 100644 src/Models/Builders/GetPixBankAccountResponseBuilder.php create mode 100644 src/Models/Builders/GetPixPayerResponseBuilder.php create mode 100644 src/Models/Builders/GetPixTransactionResponseBuilder.php create mode 100644 src/Models/Builders/GetPlanItemResponseBuilder.php create mode 100644 src/Models/Builders/GetPlanResponseBuilder.php create mode 100644 src/Models/Builders/GetPriceBracketResponseBuilder.php create mode 100644 src/Models/Builders/GetPricingSchemeResponseBuilder.php create mode 100644 src/Models/Builders/GetPrivateLabelTransactionResponseBuilder.php create mode 100644 src/Models/Builders/GetRecipientResponseBuilder.php create mode 100644 src/Models/Builders/GetSafetyPayTransactionResponseBuilder.php create mode 100644 src/Models/Builders/GetSetupResponseBuilder.php create mode 100644 src/Models/Builders/GetShippingResponseBuilder.php create mode 100644 src/Models/Builders/GetSplitOptionsResponseBuilder.php create mode 100644 src/Models/Builders/GetSplitResponseBuilder.php create mode 100644 src/Models/Builders/GetSubscriptionBoletoResponseBuilder.php create mode 100644 src/Models/Builders/GetSubscriptionItemResponseBuilder.php create mode 100644 src/Models/Builders/GetSubscriptionResponseBuilder.php create mode 100644 src/Models/Builders/GetSubscriptionSplitResponseBuilder.php create mode 100644 src/Models/Builders/GetThreeDSecureResponseBuilder.php create mode 100644 src/Models/Builders/GetTokenResponseBuilder.php create mode 100644 src/Models/Builders/GetTransactionReportFileResponseBuilder.php create mode 100644 src/Models/Builders/GetTransactionResponseBuilder.php create mode 100644 src/Models/Builders/GetTransferBuilder.php create mode 100644 src/Models/Builders/GetTransferResponseBuilder.php create mode 100644 src/Models/Builders/GetTransferSettingsResponseBuilder.php create mode 100644 src/Models/Builders/GetTransferSourceResponseBuilder.php create mode 100644 src/Models/Builders/GetTransferTargetResponseBuilder.php create mode 100644 src/Models/Builders/GetUsageReportResponseBuilder.php create mode 100644 src/Models/Builders/GetUsageResponseBuilder.php create mode 100644 src/Models/Builders/GetVoucherTransactionResponseBuilder.php create mode 100644 src/Models/Builders/GetWithdrawResponseBuilder.php create mode 100644 src/Models/Builders/GetWithdrawSourceResponseBuilder.php create mode 100644 src/Models/Builders/GetWithdrawTargetResponseBuilder.php create mode 100644 src/Models/Builders/ListAccessTokensResponseBuilder.php create mode 100644 src/Models/Builders/ListAddressesResponseBuilder.php create mode 100644 src/Models/Builders/ListAnticipationResponseBuilder.php create mode 100644 src/Models/Builders/ListCardsResponseBuilder.php create mode 100644 src/Models/Builders/ListChargeTransactionsResponseBuilder.php create mode 100644 src/Models/Builders/ListChargesResponseBuilder.php create mode 100644 src/Models/Builders/ListCustomersResponseBuilder.php create mode 100644 src/Models/Builders/ListCyclesResponseBuilder.php create mode 100644 src/Models/Builders/ListDiscountsResponseBuilder.php create mode 100644 src/Models/Builders/ListIncrementsResponseBuilder.php create mode 100644 src/Models/Builders/ListInvoicesResponseBuilder.php create mode 100644 src/Models/Builders/ListOrderResponseBuilder.php create mode 100644 src/Models/Builders/ListPlansResponseBuilder.php create mode 100644 src/Models/Builders/ListRecipientResponseBuilder.php create mode 100644 src/Models/Builders/ListSubscriptionItemsResponseBuilder.php create mode 100644 src/Models/Builders/ListSubscriptionsResponseBuilder.php create mode 100644 src/Models/Builders/ListTransactionsFilesResponseBuilder.php create mode 100644 src/Models/Builders/ListTransactionsResponseBuilder.php create mode 100644 src/Models/Builders/ListTransferResponseBuilder.php create mode 100644 src/Models/Builders/ListTransfersBuilder.php create mode 100644 src/Models/Builders/ListUsagesResponseBuilder.php create mode 100644 src/Models/Builders/ListWithdrawalsBuilder.php create mode 100644 src/Models/Builders/PagingResponseBuilder.php create mode 100644 src/Models/Builders/PixAdditionalInformationBuilder.php create mode 100644 src/Models/Builders/UpdateAddressRequestBuilder.php create mode 100644 src/Models/Builders/UpdateAutomaticAnticipationSettingsRequestBuilder.php create mode 100644 src/Models/Builders/UpdateCardRequestBuilder.php create mode 100644 src/Models/Builders/UpdateChargeCardRequestBuilder.php create mode 100644 src/Models/Builders/UpdateChargeDueDateRequestBuilder.php create mode 100644 src/Models/Builders/UpdateChargePaymentMethodRequestBuilder.php create mode 100644 src/Models/Builders/UpdateCurrentCycleEndDateRequestBuilder.php create mode 100644 src/Models/Builders/UpdateCurrentCycleStatusRequestBuilder.php create mode 100644 src/Models/Builders/UpdateCustomerRequestBuilder.php create mode 100644 src/Models/Builders/UpdateInvoiceStatusRequestBuilder.php create mode 100644 src/Models/Builders/UpdateMetadataRequestBuilder.php create mode 100644 src/Models/Builders/UpdateOrderItemRequestBuilder.php create mode 100644 src/Models/Builders/UpdateOrderStatusRequestBuilder.php create mode 100644 src/Models/Builders/UpdatePlanItemRequestBuilder.php create mode 100644 src/Models/Builders/UpdatePlanRequestBuilder.php create mode 100644 src/Models/Builders/UpdatePriceBracketRequestBuilder.php create mode 100644 src/Models/Builders/UpdatePricingSchemeRequestBuilder.php create mode 100644 src/Models/Builders/UpdateRecipientBankAccountRequestBuilder.php create mode 100644 src/Models/Builders/UpdateRecipientRequestBuilder.php create mode 100644 src/Models/Builders/UpdateSubscriptionAffiliationIdRequestBuilder.php create mode 100644 src/Models/Builders/UpdateSubscriptionBillingDateRequestBuilder.php create mode 100644 src/Models/Builders/UpdateSubscriptionCardRequestBuilder.php create mode 100644 src/Models/Builders/UpdateSubscriptionDueDaysRequestBuilder.php create mode 100644 src/Models/Builders/UpdateSubscriptionItemRequestBuilder.php create mode 100644 src/Models/Builders/UpdateSubscriptionMinimumPriceRequestBuilder.php create mode 100644 src/Models/Builders/UpdateSubscriptionPaymentMethodRequestBuilder.php create mode 100644 src/Models/Builders/UpdateSubscriptionSplitRequestBuilder.php create mode 100644 src/Models/Builders/UpdateSubscriptionStartAtRequestBuilder.php create mode 100644 src/Models/Builders/UpdateTransferSettingsRequestBuilder.php diff --git a/.phan/config.php b/.phan/config.php index 1a5a2fc..a2a89d9 100644 --- a/.phan/config.php +++ b/.phan/config.php @@ -26,11 +26,9 @@ // your application should be included in this list. 'directory_list' => [ 'src', - 'tests', $vendor_dir . '/apimatic/unirest-php', $vendor_dir . '/apimatic/core', - $vendor_dir . '/apimatic/core-interfaces', - $vendor_dir . '/phpunit/phpunit' + $vendor_dir . '/apimatic/core-interfaces' ], // A directory list that defines files that will be excluded diff --git a/README.md b/README.md index a4d378f..24a6ea3 100644 --- a/README.md +++ b/README.md @@ -120,7 +120,7 @@ The following parameters are configurable for the API Client: The API client can be initialized as follows: ```php -$client = PagarmeApiSDKLib\PagarmeApiSDKClientBuilder::init() +$client = PagarmeApiSDKClientBuilder::init() ->basicAuthUserName('BasicAuthUserName') ->basicAuthPassword('BasicAuthPassword') ->build(); diff --git a/composer.json b/composer.json index cd0b619..2d1122e 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "php": ">=7.2 <8.2", + "php": "^7.2 || ^8.0", "ext-json": "*", "apimatic/unirest-php": "^4.0.0", "apimatic/core-interfaces": "~0.1.0", @@ -27,7 +27,7 @@ }, "require-dev": { "squizlabs/php_codesniffer": "^3.5", - "phan/phan": "5.3.1" + "phan/phan": "5.4.2" }, "autoload": { "psr-4": { @@ -42,12 +42,9 @@ "scripts": { "lint-src": "phpcs --standard=phpcs-ruleset.xml src/", "lint-src-fix": "phpcbf --standard=phpcs-ruleset.xml src/", - "lint-tests": "phpcs --standard=phpcs-ruleset.xml tests/", - "lint-tests-fix": "phpcbf --standard=phpcs-ruleset.xml tests/", "analyze": "phan --allow-polyfill-parser", "lint": [ - "@lint-src", - "@lint-tests" + "@lint-src" ] } } \ No newline at end of file diff --git a/doc/client.md b/doc/client.md index 45ae3ee..af306c5 100644 --- a/doc/client.md +++ b/doc/client.md @@ -20,7 +20,7 @@ The following parameters are configurable for the API Client: The API client can be initialized as follows: ```php -$client = PagarmeApiSDKLib\PagarmeApiSDKClientBuilder::init() +$client = PagarmeApiSDKClientBuilder::init() ->basicAuthUserName('BasicAuthUserName') ->basicAuthPassword('BasicAuthPassword') ->build(); diff --git a/doc/controllers/charges.md b/doc/controllers/charges.md index dfeb2dd..640e5c6 100644 --- a/doc/controllers/charges.md +++ b/doc/controllers/charges.md @@ -53,12 +53,17 @@ function updateChargeMetadata( ```php $chargeId = 'charge_id8'; -$request_metadata = ['key0' => 'metadata3']; -$request = new Models\UpdateMetadataRequest( - $request_metadata -); -$result = $chargesController->updateChargeMetadata($chargeId, $request); +$request = UpdateMetadataRequestBuilder::init( + [ + 'key0' => 'metadata3' + ] +)->build(); + +$result = $chargesController->updateChargeMetadata( + $chargeId, + $request +); ``` @@ -90,74 +95,60 @@ function updateChargePaymentMethod( ```php $chargeId = 'charge_id8'; -$request_updateSubscription = false; -$request_paymentMethod = 'payment_method4'; -$request_creditCard = new Models\CreateCreditCardPaymentRequest(); -$request_debitCard = new Models\CreateDebitCardPaymentRequest(); -$request_boleto_retries = 10; -$request_boleto_bank = 'bank4'; -$request_boleto_instructions = 'instructions4'; -$request_boleto_billingAddress_street = 'street8'; -$request_boleto_billingAddress_number = 'number4'; -$request_boleto_billingAddress_zipCode = 'zip_code2'; -$request_boleto_billingAddress_neighborhood = 'neighborhood4'; -$request_boleto_billingAddress_city = 'city2'; -$request_boleto_billingAddress_state = 'state6'; -$request_boleto_billingAddress_country = 'country2'; -$request_boleto_billingAddress_complement = 'complement6'; -$request_boleto_billingAddress_metadata = ['key0' => 'metadata5']; -$request_boleto_billingAddress_line1 = 'line_18'; -$request_boleto_billingAddress_line2 = 'line_26'; -$request_boleto_billingAddress = new Models\CreateAddressRequest( - $request_boleto_billingAddress_street, - $request_boleto_billingAddress_number, - $request_boleto_billingAddress_zipCode, - $request_boleto_billingAddress_neighborhood, - $request_boleto_billingAddress_city, - $request_boleto_billingAddress_state, - $request_boleto_billingAddress_country, - $request_boleto_billingAddress_complement, - $request_boleto_billingAddress_metadata, - $request_boleto_billingAddress_line1, - $request_boleto_billingAddress_line2 -); -$request_boleto_documentNumber = 'document_number0'; -$request_boleto_statementDescriptor = 'statement_descriptor6'; -$request_boleto = new Models\CreateBoletoPaymentRequest( - $request_boleto_retries, - $request_boleto_bank, - $request_boleto_instructions, - $request_boleto_billingAddress, - $request_boleto_documentNumber, - $request_boleto_statementDescriptor -); -$request_voucher = new Models\CreateVoucherPaymentRequest(); -$request_cash_description = 'description6'; -$request_cash_confirm = false; -$request_cash = new Models\CreateCashPaymentRequest( - $request_cash_description, - $request_cash_confirm -); -$request_bankTransfer_bank = 'bank4'; -$request_bankTransfer_retries = 204; -$request_bankTransfer = new Models\CreateBankTransferPaymentRequest( - $request_bankTransfer_bank, - $request_bankTransfer_retries -); -$request_privateLabel = new Models\CreatePrivateLabelPaymentRequest(); -$request = new Models\UpdateChargePaymentMethodRequest( - $request_updateSubscription, - $request_paymentMethod, - $request_creditCard, - $request_debitCard, - $request_boleto, - $request_voucher, - $request_cash, - $request_bankTransfer, - $request_privateLabel -); -$result = $chargesController->updateChargePaymentMethod($chargeId, $request); +$request = UpdateChargePaymentMethodRequestBuilder::init( + false, + 'payment_method4', + CreateCreditCardPaymentRequestBuilder::init() + ->installments(1) + ->capture(true) + ->recurrencyCycle('"first" or "subsequent"') + ->build(), + CreateDebitCardPaymentRequestBuilder::init()->build(), + CreateBoletoPaymentRequestBuilder::init( + 10, + 'bank4', + 'instructions4', + CreateAddressRequestBuilder::init( + 'street8', + 'number4', + 'zip_code2', + 'neighborhood4', + 'city2', + 'state6', + 'country2', + 'complement6', + [ + 'key0' => 'metadata5' + ], + 'line_18', + 'line_26' + )->build(), + 'document_number0', + 'statement_descriptor6' + )->build(), + CreateVoucherPaymentRequestBuilder::init() + ->recurrencyCycle('"first" or "subsequent"') + ->build(), + CreateCashPaymentRequestBuilder::init( + 'description6', + false + )->build(), + CreateBankTransferPaymentRequestBuilder::init( + 'bank4', + 204 + )->build(), + CreatePrivateLabelPaymentRequestBuilder::init() + ->installments(1) + ->capture(true) + ->recurrencyCycle('"first" or "subsequent"') + ->build() +)->build(); + +$result = $chargesController->updateChargePaymentMethod( + $chargeId, + $request +); ``` @@ -220,9 +211,13 @@ function updateChargeDueDate( ```php $chargeId = 'charge_id8'; -$request = new Models\UpdateChargeDueDateRequest(); -$result = $chargesController->updateChargeDueDate($chargeId, $request); +$request = UpdateChargeDueDateRequestBuilder::init()->build(); + +$result = $chargesController->updateChargeDueDate( + $chargeId, + $request +); ``` @@ -330,18 +325,20 @@ function updateChargeCard( ```php $chargeId = 'charge_id8'; -$request_updateSubscription = false; -$request_cardId = 'card_id2'; -$request_card = new Models\CreateCardRequest(); -$request_recurrence = false; -$request = new Models\UpdateChargeCardRequest( - $request_updateSubscription, - $request_cardId, - $request_card, - $request_recurrence -); -$result = $chargesController->updateChargeCard($chargeId, $request); +$request = UpdateChargeCardRequestBuilder::init( + false, + 'card_id2', + CreateCardRequestBuilder::init() + ->type('credit') + ->build(), + false +)->build(); + +$result = $chargesController->updateChargeCard( + $chargeId, + $request +); ``` @@ -486,77 +483,55 @@ function createCharge(CreateChargeRequest $request, ?string $idempotencyKey = nu ## Example Usage ```php -$request_code = 'code4'; -$request_amount = 242; -$request_customerId = 'customer_id4'; -$request_customer_name = '{ +$request = CreateChargeRequestBuilder::init( + 'code4', + 242, + 'customer_id4', + CreateCustomerRequestBuilder::init( + '{ "name": "Tony Stark" -}'; -$request_customer_email = 'email0'; -$request_customer_document = 'document0'; -$request_customer_type = 'type4'; -$request_customer_address_street = 'street2'; -$request_customer_address_number = 'number0'; -$request_customer_address_zipCode = 'zip_code6'; -$request_customer_address_neighborhood = 'neighborhood8'; -$request_customer_address_city = 'city2'; -$request_customer_address_state = 'state8'; -$request_customer_address_country = 'country6'; -$request_customer_address_complement = 'complement8'; -$request_customer_address_metadata = ['key0' => 'metadata7', 'key1' => 'metadata6']; -$request_customer_address_line1 = 'line_16'; -$request_customer_address_line2 = 'line_20'; -$request_customer_address = new Models\CreateAddressRequest( - $request_customer_address_street, - $request_customer_address_number, - $request_customer_address_zipCode, - $request_customer_address_neighborhood, - $request_customer_address_city, - $request_customer_address_state, - $request_customer_address_country, - $request_customer_address_complement, - $request_customer_address_metadata, - $request_customer_address_line1, - $request_customer_address_line2 -); -$request_customer_metadata = ['key0' => 'metadata3', 'key1' => 'metadata2', 'key2' => 'metadata1']; -$request_customer_phones = new Models\CreatePhonesRequest(); -$request_customer_code = 'code4'; -$request_customer = new Models\CreateCustomerRequest( - $request_customer_name, - $request_customer_email, - $request_customer_document, - $request_customer_type, - $request_customer_address, - $request_customer_metadata, - $request_customer_phones, - $request_customer_code -); -$request_payment_paymentMethod = 'payment_method2'; -$request_payment = new Models\CreatePaymentRequest( - $request_payment_paymentMethod -); -$request_metadata = ['key0' => 'metadata3']; -$request_antifraud_type = 'type0'; -$request_antifraud_clearsale_customSla = 52; -$request_antifraud_clearsale = new Models\CreateClearSaleRequest( - $request_antifraud_clearsale_customSla -); -$request_antifraud = new Models\CreateAntifraudRequest( - $request_antifraud_type, - $request_antifraud_clearsale -); -$request_orderId = 'order_id0'; -$request = new Models\CreateChargeRequest( - $request_code, - $request_amount, - $request_customerId, - $request_customer, - $request_payment, - $request_metadata, - $request_antifraud, - $request_orderId -); +}', + 'email0', + 'document0', + 'type4', + CreateAddressRequestBuilder::init( + 'street2', + 'number0', + 'zip_code6', + 'neighborhood8', + 'city2', + 'state8', + 'country6', + 'complement8', + [ + 'key0' => 'metadata7', + 'key1' => 'metadata6' + ], + 'line_16', + 'line_20' + )->build(), + [ + 'key0' => 'metadata3', + 'key1' => 'metadata2', + 'key2' => 'metadata1' + ], + CreatePhonesRequestBuilder::init()->build(), + 'code4' + )->build(), + CreatePaymentRequestBuilder::init( + 'payment_method2' + )->build(), + [ + 'key0' => 'metadata3' + ], + CreateAntifraudRequestBuilder::init( + 'type0', + CreateClearSaleRequestBuilder::init( + 52 + )->build() + )->build(), + 'order_id0' +)->build(); $result = $chargesController->createCharge($request); ``` diff --git a/doc/controllers/customers.md b/doc/controllers/customers.md index dff838e..b31439e 100644 --- a/doc/controllers/customers.md +++ b/doc/controllers/customers.md @@ -63,48 +63,40 @@ function updateCard( ```php $customerId = 'customer_id8'; + $cardId = 'card_id4'; -$request_holderName = 'holder_name2'; -$request_expMonth = 10; -$request_expYear = 30; -$request_billingAddressId = 'billing_address_id2'; -$request_billingAddress_street = 'street8'; -$request_billingAddress_number = 'number4'; -$request_billingAddress_zipCode = 'zip_code2'; -$request_billingAddress_neighborhood = 'neighborhood4'; -$request_billingAddress_city = 'city8'; -$request_billingAddress_state = 'state4'; -$request_billingAddress_country = 'country2'; -$request_billingAddress_complement = 'complement6'; -$request_billingAddress_metadata = ['key0' => 'metadata5', 'key1' => 'metadata6']; -$request_billingAddress_line1 = 'line_18'; -$request_billingAddress_line2 = 'line_26'; -$request_billingAddress = new Models\CreateAddressRequest( - $request_billingAddress_street, - $request_billingAddress_number, - $request_billingAddress_zipCode, - $request_billingAddress_neighborhood, - $request_billingAddress_city, - $request_billingAddress_state, - $request_billingAddress_country, - $request_billingAddress_complement, - $request_billingAddress_metadata, - $request_billingAddress_line1, - $request_billingAddress_line2 -); -$request_metadata = ['key0' => 'metadata3']; -$request_label = 'label6'; -$request = new Models\UpdateCardRequest( - $request_holderName, - $request_expMonth, - $request_expYear, - $request_billingAddressId, - $request_billingAddress, - $request_metadata, - $request_label -); -$result = $customersController->updateCard($customerId, $cardId, $request); +$request = UpdateCardRequestBuilder::init( + 'holder_name2', + 10, + 30, + CreateAddressRequestBuilder::init( + 'street8', + 'number4', + 'zip_code2', + 'neighborhood4', + 'city8', + 'state4', + 'country2', + 'complement6', + [ + 'key0' => 'metadata5', + 'key1' => 'metadata6' + ], + 'line_18', + 'line_26' + )->build(), + [ + 'key0' => 'metadata3' + ], + 'label6' +)->build(); + +$result = $customersController->updateCard( + $customerId, + $cardId, + $request +); ``` @@ -138,19 +130,23 @@ function updateAddress( ```php $customerId = 'customer_id8'; + $addressId = 'address_id0'; -$request_number = 'number4'; -$request_complement = 'complement2'; -$request_metadata = ['key0' => 'metadata3']; -$request_line2 = 'line_24'; -$request = new Models\UpdateAddressRequest( - $request_number, - $request_complement, - $request_metadata, - $request_line2 -); -$result = $customersController->updateAddress($customerId, $addressId, $request); +$request = UpdateAddressRequestBuilder::init( + 'number4', + 'complement2', + [ + 'key0' => 'metadata3' + ], + 'line_24' +)->build(); + +$result = $customersController->updateAddress( + $customerId, + $addressId, + $request +); ``` @@ -182,9 +178,13 @@ function deleteAccessToken( ```php $customerId = 'customer_id8'; + $tokenId = 'token_id6'; -$result = $customersController->deleteAccessToken($customerId, $tokenId); +$result = $customersController->deleteAccessToken( + $customerId, + $tokenId +); ``` @@ -210,49 +210,34 @@ function createCustomer(CreateCustomerRequest $request, ?string $idempotencyKey ## Example Usage ```php -$request_name = '{ +$request = CreateCustomerRequestBuilder::init( + '{ "name": "Tony Stark" -}'; -$request_email = 'email0'; -$request_document = 'document0'; -$request_type = 'type4'; -$request_address_street = 'street2'; -$request_address_number = 'number0'; -$request_address_zipCode = 'zip_code6'; -$request_address_neighborhood = 'neighborhood8'; -$request_address_city = 'city2'; -$request_address_state = 'state8'; -$request_address_country = 'country6'; -$request_address_complement = 'complement8'; -$request_address_metadata = ['key0' => 'metadata7']; -$request_address_line1 = 'line_16'; -$request_address_line2 = 'line_20'; -$request_address = new Models\CreateAddressRequest( - $request_address_street, - $request_address_number, - $request_address_zipCode, - $request_address_neighborhood, - $request_address_city, - $request_address_state, - $request_address_country, - $request_address_complement, - $request_address_metadata, - $request_address_line1, - $request_address_line2 -); -$request_metadata = ['key0' => 'metadata3']; -$request_phones = new Models\CreatePhonesRequest(); -$request_code = 'code4'; -$request = new Models\CreateCustomerRequest( - $request_name, - $request_email, - $request_document, - $request_type, - $request_address, - $request_metadata, - $request_phones, - $request_code -); +}', + 'email0', + 'document0', + 'type4', + CreateAddressRequestBuilder::init( + 'street2', + 'number0', + 'zip_code6', + 'neighborhood8', + 'city2', + 'state8', + 'country6', + 'complement8', + [ + 'key0' => 'metadata7' + ], + 'line_16', + 'line_20' + )->build(), + [ + 'key0' => 'metadata3' + ], + CreatePhonesRequestBuilder::init()->build(), + 'code4' +)->build(); $result = $customersController->createCustomer($request); ``` @@ -286,32 +271,27 @@ function createAddress( ```php $customerId = 'customer_id8'; -$request_street = 'street6'; -$request_number = 'number4'; -$request_zipCode = 'zip_code0'; -$request_neighborhood = 'neighborhood2'; -$request_city = 'city6'; -$request_state = 'state2'; -$request_country = 'country0'; -$request_complement = 'complement2'; -$request_metadata = ['key0' => 'metadata3']; -$request_line1 = 'line_10'; -$request_line2 = 'line_24'; -$request = new Models\CreateAddressRequest( - $request_street, - $request_number, - $request_zipCode, - $request_neighborhood, - $request_city, - $request_state, - $request_country, - $request_complement, - $request_metadata, - $request_line1, - $request_line2 -); -$result = $customersController->createAddress($customerId, $request); +$request = CreateAddressRequestBuilder::init( + 'street6', + 'number4', + 'zip_code0', + 'neighborhood2', + 'city6', + 'state2', + 'country0', + 'complement2', + [ + 'key0' => 'metadata3' + ], + 'line_10', + 'line_24' +)->build(); + +$result = $customersController->createAddress( + $customerId, + $request +); ``` @@ -365,9 +345,13 @@ function getAddress(string $customerId, string $addressId): GetAddressResponse ```php $customerId = 'customer_id8'; + $addressId = 'address_id0'; -$result = $customersController->getAddress($customerId, $addressId); +$result = $customersController->getAddress( + $customerId, + $addressId +); ``` @@ -399,9 +383,13 @@ function deleteAddress( ```php $customerId = 'customer_id8'; + $addressId = 'address_id0'; -$result = $customersController->deleteAddress($customerId, $addressId); +$result = $customersController->deleteAddress( + $customerId, + $addressId +); ``` @@ -433,9 +421,15 @@ function createCard( ```php $customerId = 'customer_id8'; -$request = new Models\CreateCardRequest(); -$result = $customersController->createCard($customerId, $request); +$request = CreateCardRequestBuilder::init() + ->type('credit') + ->build(); + +$result = $customersController->createCard( + $customerId, + $request +); ``` @@ -473,9 +467,13 @@ function getCustomers( ```php $page = 1; + $size = 10; -$result = $customersController->getCustomers(null, null, $page, $size); +$result = $customersController->getCustomers( + $page, + $size +); ``` @@ -507,9 +505,13 @@ function updateCustomer( ```php $customerId = 'customer_id8'; -$request = new Models\UpdateCustomerRequest(); -$result = $customersController->updateCustomer($customerId, $request); +$request = UpdateCustomerRequestBuilder::init()->build(); + +$result = $customersController->updateCustomer( + $customerId, + $request +); ``` @@ -541,9 +543,13 @@ function createAccessToken( ```php $customerId = 'customer_id8'; -$request = new Models\CreateAccessTokenRequest(); -$result = $customersController->createAccessToken($customerId, $request); +$request = CreateAccessTokenRequestBuilder::init()->build(); + +$result = $customersController->createAccessToken( + $customerId, + $request +); ``` @@ -629,9 +635,13 @@ function renewCard(string $customerId, string $cardId, ?string $idempotencyKey = ```php $customerId = 'customer_id8'; + $cardId = 'card_id4'; -$result = $customersController->renewCard($customerId, $cardId); +$result = $customersController->renewCard( + $customerId, + $cardId +); ``` @@ -658,9 +668,13 @@ function getAccessToken(string $customerId, string $tokenId): GetAccessTokenResp ```php $customerId = 'customer_id8'; + $tokenId = 'token_id6'; -$result = $customersController->getAccessToken($customerId, $tokenId); +$result = $customersController->getAccessToken( + $customerId, + $tokenId +); ``` @@ -692,12 +706,17 @@ function updateCustomerMetadata( ```php $customerId = 'customer_id8'; -$request_metadata = ['key0' => 'metadata3']; -$request = new Models\UpdateMetadataRequest( - $request_metadata -); -$result = $customersController->updateCustomerMetadata($customerId, $request); +$request = UpdateMetadataRequestBuilder::init( + [ + 'key0' => 'metadata3' + ] +)->build(); + +$result = $customersController->updateCustomerMetadata( + $customerId, + $request +); ``` @@ -725,9 +744,13 @@ function deleteCard(string $customerId, string $cardId, ?string $idempotencyKey ```php $customerId = 'customer_id8'; + $cardId = 'card_id4'; -$result = $customersController->deleteCard($customerId, $cardId); +$result = $customersController->deleteCard( + $customerId, + $cardId +); ``` @@ -810,8 +833,12 @@ function getCard(string $customerId, string $cardId): GetCardResponse ```php $customerId = 'customer_id8'; + $cardId = 'card_id4'; -$result = $customersController->getCard($customerId, $cardId); +$result = $customersController->getCard( + $customerId, + $cardId +); ``` diff --git a/doc/controllers/invoices.md b/doc/controllers/invoices.md index 5738c13..7fa3f00 100644 --- a/doc/controllers/invoices.md +++ b/doc/controllers/invoices.md @@ -47,12 +47,17 @@ function updateInvoiceMetadata( ```php $invoiceId = 'invoice_id0'; -$request_metadata = ['key0' => 'metadata3']; -$request = new Models\UpdateMetadataRequest( - $request_metadata -); -$result = $invoicesController->updateInvoiceMetadata($invoiceId, $request); +$request = UpdateMetadataRequestBuilder::init( + [ + 'key0' => 'metadata3' + ] +)->build(); + +$result = $invoicesController->updateInvoiceMetadata( + $invoiceId, + $request +); ``` @@ -139,9 +144,13 @@ function createInvoice( ```php $subscriptionId = 'subscription_id0'; + $cycleId = 'cycle_id6'; -$result = $invoicesController->createInvoice($subscriptionId, $cycleId); +$result = $invoicesController->createInvoice( + $subscriptionId, + $cycleId +); ``` @@ -247,11 +256,14 @@ function updateInvoiceStatus( ```php $invoiceId = 'invoice_id0'; -$request_status = 'status8'; -$request = new Models\UpdateInvoiceStatusRequest( - $request_status -); -$result = $invoicesController->updateInvoiceStatus($invoiceId, $request); +$request = UpdateInvoiceStatusRequestBuilder::init( + 'status8' +)->build(); + +$result = $invoicesController->updateInvoiceStatus( + $invoiceId, + $request +); ``` diff --git a/doc/controllers/orders.md b/doc/controllers/orders.md index 196c6cc..7974c90 100644 --- a/doc/controllers/orders.md +++ b/doc/controllers/orders.md @@ -89,19 +89,21 @@ function updateOrderItem( ```php $orderId = 'orderId2'; + $itemId = 'itemId8'; -$request_amount = 242; -$request_description = 'description6'; -$request_quantity = 100; -$request_category = 'category4'; -$request = new Models\UpdateOrderItemRequest( - $request_amount, - $request_description, - $request_quantity, - $request_category -); -$result = $ordersController->updateOrderItem($orderId, $itemId, $request); +$request = UpdateOrderItemRequestBuilder::init( + 242, + 'description6', + 100, + 'category4' +)->build(); + +$result = $ordersController->updateOrderItem( + $orderId, + $itemId, + $request +); ``` @@ -153,9 +155,13 @@ function deleteOrderItem(string $orderId, string $itemId, ?string $idempotencyKe ```php $orderId = 'orderId2'; + $itemId = 'itemId8'; -$result = $ordersController->deleteOrderItem($orderId, $itemId); +$result = $ordersController->deleteOrderItem( + $orderId, + $itemId +); ``` @@ -185,12 +191,15 @@ function closeOrder( ```php $id = 'id0'; -$request_status = 'status8'; -$request = new Models\UpdateOrderStatusRequest( - $request_status -); -$result = $ordersController->closeOrder($id, $request); +$request = UpdateOrderStatusRequestBuilder::init( + 'status8' +)->build(); + +$result = $ordersController->closeOrder( + $id, + $request +); ``` @@ -216,107 +225,72 @@ function createOrder(CreateOrderRequest $body, ?string $idempotencyKey = null): ## Example Usage ```php -$body_items = []; - -$body_items_0_amount = 101; -$body_items_0_description = 'description3'; -$body_items_0_quantity = 215; -$body_items_0_category = 'category1'; -$body_items[0] = new Models\CreateOrderItemRequest( - $body_items_0_amount, - $body_items_0_description, - $body_items_0_quantity, - $body_items_0_category -); - -$body_items_1_amount = 102; -$body_items_1_description = 'description4'; -$body_items_1_quantity = 216; -$body_items_1_category = 'category2'; -$body_items[1] = new Models\CreateOrderItemRequest( - $body_items_1_amount, - $body_items_1_description, - $body_items_1_quantity, - $body_items_1_category -); - -$body_items_2_amount = 103; -$body_items_2_description = 'description5'; -$body_items_2_quantity = 217; -$body_items_2_category = 'category3'; -$body_items[2] = new Models\CreateOrderItemRequest( - $body_items_2_amount, - $body_items_2_description, - $body_items_2_quantity, - $body_items_2_category -); - -$body_customer_name = '{ +$body = CreateOrderRequestBuilder::init( + [ + CreateOrderItemRequestBuilder::init( + 101, + 'description3', + 215, + 'category1' + )->build(), + CreateOrderItemRequestBuilder::init( + 102, + 'description4', + 216, + 'category2' + )->build(), + CreateOrderItemRequestBuilder::init( + 103, + 'description5', + 217, + 'category3' + )->build() + ], + CreateCustomerRequestBuilder::init( + '{ "name": "Tony Stark" -}'; -$body_customer_email = 'email2'; -$body_customer_document = 'document2'; -$body_customer_type = 'type6'; -$body_customer_address_street = 'street0'; -$body_customer_address_number = 'number8'; -$body_customer_address_zipCode = 'zip_code4'; -$body_customer_address_neighborhood = 'neighborhood6'; -$body_customer_address_city = 'city0'; -$body_customer_address_state = 'state6'; -$body_customer_address_country = 'country4'; -$body_customer_address_complement = 'complement6'; -$body_customer_address_metadata = ['key0' => 'metadata7', 'key1' => 'metadata6']; -$body_customer_address_line1 = 'line_16'; -$body_customer_address_line2 = 'line_28'; -$body_customer_address = new Models\CreateAddressRequest( - $body_customer_address_street, - $body_customer_address_number, - $body_customer_address_zipCode, - $body_customer_address_neighborhood, - $body_customer_address_city, - $body_customer_address_state, - $body_customer_address_country, - $body_customer_address_complement, - $body_customer_address_metadata, - $body_customer_address_line1, - $body_customer_address_line2 -); -$body_customer_metadata = ['key0' => 'metadata9', 'key1' => 'metadata0']; -$body_customer_phones = new Models\CreatePhonesRequest(); -$body_customer_code = 'code2'; -$body_customer = new Models\CreateCustomerRequest( - $body_customer_name, - $body_customer_email, - $body_customer_document, - $body_customer_type, - $body_customer_address, - $body_customer_metadata, - $body_customer_phones, - $body_customer_code -); -$body_payments = []; - -$body_payments_0_paymentMethod = 'payment_method0'; -$body_payments[0] = new Models\CreatePaymentRequest( - $body_payments_0_paymentMethod -); - -$body_payments_1_paymentMethod = 'payment_method9'; -$body_payments[1] = new Models\CreatePaymentRequest( - $body_payments_1_paymentMethod -); - -$body_code = 'code4'; -$body_metadata = ['key0' => 'metadata7', 'key1' => 'metadata8']; -$body_closed = true; -$body = new Models\CreateOrderRequest( - $body_items, - $body_customer, - $body_payments, - $body_code, - $body_metadata, - $body_closed -); +}', + 'email2', + 'document2', + 'type6', + CreateAddressRequestBuilder::init( + 'street0', + 'number8', + 'zip_code4', + 'neighborhood6', + 'city0', + 'state6', + 'country4', + 'complement6', + [ + 'key0' => 'metadata7', + 'key1' => 'metadata6' + ], + 'line_16', + 'line_28' + )->build(), + [ + 'key0' => 'metadata9', + 'key1' => 'metadata0' + ], + CreatePhonesRequestBuilder::init()->build(), + 'code2' + )->build(), + [ + CreatePaymentRequestBuilder::init( + 'payment_method0' + )->build(), + CreatePaymentRequestBuilder::init( + 'payment_method9' + )->build() + ], + 'code4', + [ + 'key0' => 'metadata7', + 'key1' => 'metadata8' + ], + true +)->build(); $result = $ordersController->createOrder($body); ``` @@ -348,18 +322,18 @@ function createOrderItem( ```php $orderId = 'orderId2'; -$request_amount = 242; -$request_description = 'description6'; -$request_quantity = 100; -$request_category = 'category4'; -$request = new Models\CreateOrderItemRequest( - $request_amount, - $request_description, - $request_quantity, - $request_category -); -$result = $ordersController->createOrderItem($orderId, $request); +$request = CreateOrderItemRequestBuilder::init( + 242, + 'description6', + 100, + 'category4' +)->build(); + +$result = $ordersController->createOrderItem( + $orderId, + $request +); ``` @@ -384,9 +358,13 @@ function getOrderItem(string $orderId, string $itemId): GetOrderItemResponse ```php $orderId = 'orderId2'; + $itemId = 'itemId8'; -$result = $ordersController->getOrderItem($orderId, $itemId); +$result = $ordersController->getOrderItem( + $orderId, + $itemId +); ``` @@ -418,12 +396,17 @@ function updateOrderMetadata( ```php $orderId = 'order_id6'; -$request_metadata = ['key0' => 'metadata3']; -$request = new Models\UpdateMetadataRequest( - $request_metadata -); -$result = $ordersController->updateOrderMetadata($orderId, $request); +$request = UpdateMetadataRequestBuilder::init( + [ + 'key0' => 'metadata3' + ] +)->build(); + +$result = $ordersController->updateOrderMetadata( + $orderId, + $request +); ``` diff --git a/doc/controllers/plans.md b/doc/controllers/plans.md index dc81862..0705c28 100644 --- a/doc/controllers/plans.md +++ b/doc/controllers/plans.md @@ -105,12 +105,17 @@ function updatePlanMetadata( ```php $planId = 'plan_id8'; -$request_metadata = ['key0' => 'metadata3']; -$request = new Models\UpdateMetadataRequest( - $request_metadata -); -$result = $plansController->updatePlanMetadata($planId, $request); +$request = UpdateMetadataRequestBuilder::init( + [ + 'key0' => 'metadata3' + ] +)->build(); + +$result = $plansController->updatePlanMetadata( + $planId, + $request +); ``` @@ -144,39 +149,33 @@ function updatePlanItem( ```php $planId = 'plan_id8'; -$planItemId = 'plan_item_id0'; -$body_name = 'name6'; -$body_description = 'description4'; -$body_status = 'status2'; -$body_pricingScheme_schemeType = 'scheme_type2'; -$body_pricingScheme_priceBrackets = []; - -$body_pricingScheme_priceBrackets_0_startQuantity = 31; -$body_pricingScheme_priceBrackets_0_price = 225; -$body_pricingScheme_priceBrackets[0] = new Models\UpdatePriceBracketRequest( - $body_pricingScheme_priceBrackets_0_startQuantity, - $body_pricingScheme_priceBrackets_0_price -); -$body_pricingScheme_priceBrackets_1_startQuantity = 32; -$body_pricingScheme_priceBrackets_1_price = 226; -$body_pricingScheme_priceBrackets[1] = new Models\UpdatePriceBracketRequest( - $body_pricingScheme_priceBrackets_1_startQuantity, - $body_pricingScheme_priceBrackets_1_price -); +$planItemId = 'plan_item_id0'; -$body_pricingScheme = new Models\UpdatePricingSchemeRequest( - $body_pricingScheme_schemeType, - $body_pricingScheme_priceBrackets -); -$body = new Models\UpdatePlanItemRequest( - $body_name, - $body_description, - $body_status, - $body_pricingScheme +$body = UpdatePlanItemRequestBuilder::init( + 'name6', + 'description4', + 'status2', + UpdatePricingSchemeRequestBuilder::init( + 'scheme_type2', + [ + UpdatePriceBracketRequestBuilder::init( + 31, + 225 + )->build(), + UpdatePriceBracketRequestBuilder::init( + 32, + 226 + )->build() + ] + )->build() +)->build(); + +$result = $plansController->updatePlanItem( + $planId, + $planItemId, + $body ); - -$result = $plansController->updatePlanItem($planId, $planItemId, $body); ``` @@ -208,21 +207,20 @@ function createPlanItem( ```php $planId = 'plan_id8'; -$request_name = 'name6'; -$request_pricingScheme_schemeType = 'scheme_type2'; -$request_pricingScheme = new Models\CreatePricingSchemeRequest( - $request_pricingScheme_schemeType -); -$request_id = 'id6'; -$request_description = 'description6'; -$request = new Models\CreatePlanItemRequest( - $request_name, - $request_pricingScheme, - $request_id, - $request_description -); -$result = $plansController->createPlanItem($planId, $request); +$request = CreatePlanItemRequestBuilder::init( + 'name6', + CreatePricingSchemeRequestBuilder::init( + 'scheme_type2' + )->build(), + 'id6', + 'description6' +)->build(); + +$result = $plansController->createPlanItem( + $planId, + $request +); ``` @@ -249,9 +247,13 @@ function getPlanItem(string $planId, string $planItemId): GetPlanItemResponse ```php $planId = 'plan_id8'; + $planItemId = 'plan_item_id0'; -$result = $plansController->getPlanItem($planId, $planItemId); +$result = $plansController->getPlanItem( + $planId, + $planItemId +); ``` @@ -277,82 +279,59 @@ function createPlan(CreatePlanRequest $body, ?string $idempotencyKey = null): Ge ## Example Usage ```php -$body_name = 'name6'; -$body_description = 'description4'; -$body_statementDescriptor = 'statement_descriptor6'; -$body_items = []; - -$body_items_0_name = 'name3'; -$body_items_0_pricingScheme_schemeType = 'scheme_type5'; -$body_items_0_pricingScheme = new Models\CreatePricingSchemeRequest( - $body_items_0_pricingScheme_schemeType -); -$body_items_0_id = 'id3'; -$body_items_0_description = 'description3'; -$body_items[0] = new Models\CreatePlanItemRequest( - $body_items_0_name, - $body_items_0_pricingScheme, - $body_items_0_id, - $body_items_0_description -); - -$body_items_1_name = 'name4'; -$body_items_1_pricingScheme_schemeType = 'scheme_type4'; -$body_items_1_pricingScheme = new Models\CreatePricingSchemeRequest( - $body_items_1_pricingScheme_schemeType -); -$body_items_1_id = 'id4'; -$body_items_1_description = 'description4'; -$body_items[1] = new Models\CreatePlanItemRequest( - $body_items_1_name, - $body_items_1_pricingScheme, - $body_items_1_id, - $body_items_1_description -); - -$body_items_2_name = 'name5'; -$body_items_2_pricingScheme_schemeType = 'scheme_type3'; -$body_items_2_pricingScheme = new Models\CreatePricingSchemeRequest( - $body_items_2_pricingScheme_schemeType -); -$body_items_2_id = 'id5'; -$body_items_2_description = 'description5'; -$body_items[2] = new Models\CreatePlanItemRequest( - $body_items_2_name, - $body_items_2_pricingScheme, - $body_items_2_id, - $body_items_2_description -); - -$body_shippable = false; -$body_paymentMethods = ['payment_methods9']; -$body_installments = [207]; -$body_currency = 'currency6'; -$body_interval = 'interval6'; -$body_intervalCount = 170; -$body_billingDays = [201, 200]; -$body_billingType = 'billing_type0'; -$body_pricingScheme_schemeType = 'scheme_type2'; -$body_pricingScheme = new Models\CreatePricingSchemeRequest( - $body_pricingScheme_schemeType -); -$body_metadata = ['key0' => 'metadata7', 'key1' => 'metadata8']; -$body = new Models\CreatePlanRequest( - $body_name, - $body_description, - $body_statementDescriptor, - $body_items, - $body_shippable, - $body_paymentMethods, - $body_installments, - $body_currency, - $body_interval, - $body_intervalCount, - $body_billingDays, - $body_billingType, - $body_pricingScheme, - $body_metadata -); +$body = CreatePlanRequestBuilder::init( + 'name6', + 'description4', + 'statement_descriptor6', + [ + CreatePlanItemRequestBuilder::init( + 'name3', + CreatePricingSchemeRequestBuilder::init( + 'scheme_type5' + )->build(), + 'id3', + 'description3' + )->build(), + CreatePlanItemRequestBuilder::init( + 'name4', + CreatePricingSchemeRequestBuilder::init( + 'scheme_type4' + )->build(), + 'id4', + 'description4' + )->build(), + CreatePlanItemRequestBuilder::init( + 'name5', + CreatePricingSchemeRequestBuilder::init( + 'scheme_type3' + )->build(), + 'id5', + 'description5' + )->build() + ], + false, + [ + 'payment_methods9' + ], + [ + 207 + ], + 'currency6', + 'interval6', + 170, + [ + 201, + 200 + ], + 'billing_type0', + CreatePricingSchemeRequestBuilder::init( + 'scheme_type2' + )->build(), + [ + 'key0' => 'metadata7', + 'key1' => 'metadata8' + ] +)->build(); $result = $plansController->createPlan($body); ``` @@ -382,9 +361,13 @@ function deletePlanItem(string $planId, string $planItemId, ?string $idempotency ```php $planId = 'plan_id8'; + $planItemId = 'plan_item_id0'; -$result = $plansController->deletePlanItem($planId, $planItemId); +$result = $plansController->deletePlanItem( + $planId, + $planItemId +); ``` @@ -451,35 +434,37 @@ function updatePlan(string $planId, UpdatePlanRequest $request, ?string $idempot ```php $planId = 'plan_id8'; -$request_name = 'name6'; -$request_description = 'description6'; -$request_installments = [151, 152]; -$request_statementDescriptor = 'statement_descriptor6'; -$request_currency = 'currency6'; -$request_interval = 'interval4'; -$request_intervalCount = 114; -$request_paymentMethods = ['payment_methods1', 'payment_methods0', 'payment_methods9']; -$request_billingType = 'billing_type0'; -$request_status = 'status8'; -$request_shippable = false; -$request_billingDays = [115]; -$request_metadata = ['key0' => 'metadata3']; -$request = new Models\UpdatePlanRequest( - $request_name, - $request_description, - $request_installments, - $request_statementDescriptor, - $request_currency, - $request_interval, - $request_intervalCount, - $request_paymentMethods, - $request_billingType, - $request_status, - $request_shippable, - $request_billingDays, - $request_metadata -); -$result = $plansController->updatePlan($planId, $request); +$request = UpdatePlanRequestBuilder::init( + 'name6', + 'description6', + [ + 151, + 152 + ], + 'statement_descriptor6', + 'currency6', + 'interval4', + 114, + [ + 'payment_methods1', + 'payment_methods0', + 'payment_methods9' + ], + 'billing_type0', + 'status8', + false, + [ + 115 + ], + [ + 'key0' => 'metadata3' + ] +)->build(); + +$result = $plansController->updatePlan( + $planId, + $request +); ``` diff --git a/doc/controllers/recipients.md b/doc/controllers/recipients.md index f5d02a7..3faa9db 100644 --- a/doc/controllers/recipients.md +++ b/doc/controllers/recipients.md @@ -61,22 +61,22 @@ function updateRecipient( ```php $recipientId = 'recipient_id0'; -$request_name = 'name6'; -$request_email = 'email0'; -$request_description = 'description6'; -$request_type = 'type4'; -$request_status = 'status8'; -$request_metadata = ['key0' => 'metadata3']; -$request = new Models\UpdateRecipientRequest( - $request_name, - $request_email, - $request_description, - $request_type, - $request_status, - $request_metadata -); -$result = $recipientsController->updateRecipient($recipientId, $request); +$request = UpdateRecipientRequestBuilder::init( + 'name6', + 'email0', + 'description6', + 'type4', + 'status8', + [ + 'key0' => 'metadata3' + ] +)->build(); + +$result = $recipientsController->updateRecipient( + $recipientId, + $request +); ``` @@ -108,16 +108,17 @@ function createAnticipation( ```php $recipientId = 'recipient_id0'; -$request_amount = 242; -$request_timeframe = 'timeframe8'; -$request_paymentDate = DateTimeHelper::fromRfc3339DateTime('2016-03-13T12:52:32.123Z'); -$request = new Models\CreateAnticipationRequest( - $request_amount, - $request_timeframe, - $request_paymentDate -); -$result = $recipientsController->createAnticipation($recipientId, $request); +$request = CreateAnticipationRequestBuilder::init( + 242, + 'timeframe8', + DateTimeHelper::fromRfc3339DateTimeRequired('2016-03-13T12:52:32.123Z') +)->build(); + +$result = $recipientsController->createAnticipation( + $recipientId, + $request +); ``` @@ -149,10 +150,16 @@ function getAnticipationLimits( ```php $recipientId = 'recipient_id0'; + $timeframe = 'timeframe2'; -$paymentDate = DateTimeHelper::fromRfc3339DateTime('2016-03-13T12:52:32.123Z'); -$result = $recipientsController->getAnticipationLimits($recipientId, $timeframe, $paymentDate); +$paymentDate = DateTimeHelper::fromRfc3339DateTimeRequired('2016-03-13T12:52:32.123Z'); + +$result = $recipientsController->getAnticipationLimits( + $recipientId, + $timeframe, + $paymentDate +); ``` @@ -203,9 +210,13 @@ function getWithdrawById(string $recipientId, string $withdrawalId): GetWithdraw ```php $recipientId = 'recipient_id0'; + $withdrawalId = 'withdrawal_id2'; -$result = $recipientsController->getWithdrawById($recipientId, $withdrawalId); +$result = $recipientsController->getWithdrawById( + $recipientId, + $withdrawalId +); ``` @@ -237,37 +248,29 @@ function updateRecipientDefaultBankAccount( ```php $recipientId = 'recipient_id0'; -$request_bankAccount_holderName = 'holder_name6'; -$request_bankAccount_holderType = 'holder_type2'; -$request_bankAccount_holderDocument = 'holder_document4'; -$request_bankAccount_bank = 'bank8'; -$request_bankAccount_branchNumber = 'branch_number6'; -$request_bankAccount_branchCheckDigit = 'branch_check_digit6'; -$request_bankAccount_accountNumber = 'account_number0'; -$request_bankAccount_accountCheckDigit = 'account_check_digit6'; -$request_bankAccount_type = 'type0'; -$request_bankAccount_metadata = ['key0' => 'metadata9', 'key1' => 'metadata8']; -$request_bankAccount_pixKey = 'pix_key4'; -$request_bankAccount = new Models\CreateBankAccountRequest( - $request_bankAccount_holderName, - $request_bankAccount_holderType, - $request_bankAccount_holderDocument, - $request_bankAccount_bank, - $request_bankAccount_branchNumber, - $request_bankAccount_branchCheckDigit, - $request_bankAccount_accountNumber, - $request_bankAccount_accountCheckDigit, - $request_bankAccount_type, - $request_bankAccount_metadata, - $request_bankAccount_pixKey -); -$request_paymentMode = 'bank_transfer'; -$request = new Models\UpdateRecipientBankAccountRequest( - $request_bankAccount, - $request_paymentMode -); -$result = $recipientsController->updateRecipientDefaultBankAccount($recipientId, $request); +$request = UpdateRecipientBankAccountRequestBuilder::init( + CreateBankAccountRequestBuilder::init( + 'holder_name6', + 'holder_type2', + 'holder_document4', + 'bank8', + 'branch_number6', + 'account_number0', + 'account_check_digit6', + 'type0', + [ + 'key0' => 'metadata9', + 'key1' => 'metadata8' + ] + )->build(), + 'bank_transfer' +)->build(); + +$result = $recipientsController->updateRecipientDefaultBankAccount( + $recipientId, + $request +); ``` @@ -299,12 +302,17 @@ function updateRecipientMetadata( ```php $recipientId = 'recipient_id0'; -$request_metadata = ['key0' => 'metadata3']; -$request = new Models\UpdateMetadataRequest( - $request_metadata -); -$result = $recipientsController->updateRecipientMetadata($recipientId, $request); +$request = UpdateMetadataRequestBuilder::init( + [ + 'key0' => 'metadata3' + ] +)->build(); + +$result = $recipientsController->updateRecipientMetadata( + $recipientId, + $request +); ``` @@ -370,9 +378,13 @@ function getTransfer(string $recipientId, string $transferId): GetTransferRespon ```php $recipientId = 'recipient_id0'; + $transferId = 'transfer_id6'; -$result = $recipientsController->getTransfer($recipientId, $transferId); +$result = $recipientsController->getTransfer( + $recipientId, + $transferId +); ``` @@ -397,12 +409,15 @@ function createWithdraw(string $recipientId, CreateWithdrawRequest $request): Ge ```php $recipientId = 'recipient_id0'; -$request_amount = 242; -$request = new Models\CreateWithdrawRequest( - $request_amount -); -$result = $recipientsController->createWithdraw($recipientId, $request); +$request = CreateWithdrawRequestBuilder::init( + 242 +)->build(); + +$result = $recipientsController->createWithdraw( + $recipientId, + $request +); ``` @@ -434,9 +449,13 @@ function updateAutomaticAnticipationSettings( ```php $recipientId = 'recipient_id0'; -$request = new Models\UpdateAutomaticAnticipationSettingsRequest(); -$result = $recipientsController->updateAutomaticAnticipationSettings($recipientId, $request); +$request = UpdateAutomaticAnticipationSettingsRequestBuilder::init()->build(); + +$result = $recipientsController->updateAutomaticAnticipationSettings( + $recipientId, + $request +); ``` @@ -463,9 +482,13 @@ function getAnticipation(string $recipientId, string $anticipationId): GetAntici ```php $recipientId = 'recipient_id0'; + $anticipationId = 'anticipation_id0'; -$result = $recipientsController->getAnticipation($recipientId, $anticipationId); +$result = $recipientsController->getAnticipation( + $recipientId, + $anticipationId +); ``` @@ -495,16 +518,17 @@ function updateRecipientTransferSettings( ```php $recipientId = 'recipient_id0'; -$request_transferEnabled = 'transfer_enabled2'; -$request_transferInterval = 'transfer_interval6'; -$request_transferDay = 'transfer_day6'; -$request = new Models\UpdateTransferSettingsRequest( - $request_transferEnabled, - $request_transferInterval, - $request_transferDay -); -$result = $recipientsController->updateRecipientTransferSettings($recipientId, $request); +$request = UpdateTransferSettingsRequestBuilder::init( + 'transfer_enabled2', + 'transfer_interval6', + 'transfer_day6' +)->build(); + +$result = $recipientsController->updateRecipientTransferSettings( + $recipientId, + $request +); ``` @@ -674,14 +698,18 @@ function createTransfer( ```php $recipientId = 'recipient_id0'; -$request_amount = 242; -$request_metadata = ['key0' => 'metadata3']; -$request = new Models\CreateTransferRequest( - $request_amount, - $request_metadata -); -$result = $recipientsController->createTransfer($recipientId, $request); +$request = CreateTransferRequestBuilder::init( + 242, + [ + 'key0' => 'metadata3' + ] +)->build(); + +$result = $recipientsController->createTransfer( + $recipientId, + $request +); ``` @@ -707,49 +735,31 @@ function createRecipient(CreateRecipientRequest $request, ?string $idempotencyKe ## Example Usage ```php -$request_name = 'name6'; -$request_email = 'email0'; -$request_description = 'description6'; -$request_document = 'document0'; -$request_type = 'type4'; -$request_defaultBankAccount_holderName = 'holder_name0'; -$request_defaultBankAccount_holderType = 'holder_type6'; -$request_defaultBankAccount_holderDocument = 'holder_document8'; -$request_defaultBankAccount_bank = 'bank2'; -$request_defaultBankAccount_branchNumber = 'branch_number0'; -$request_defaultBankAccount_branchCheckDigit = 'branch_check_digit0'; -$request_defaultBankAccount_accountNumber = 'account_number4'; -$request_defaultBankAccount_accountCheckDigit = 'account_check_digit0'; -$request_defaultBankAccount_type = 'type4'; -$request_defaultBankAccount_metadata = ['key0' => 'metadata5']; -$request_defaultBankAccount_pixKey = 'pix_key8'; -$request_defaultBankAccount = new Models\CreateBankAccountRequest( - $request_defaultBankAccount_holderName, - $request_defaultBankAccount_holderType, - $request_defaultBankAccount_holderDocument, - $request_defaultBankAccount_bank, - $request_defaultBankAccount_branchNumber, - $request_defaultBankAccount_branchCheckDigit, - $request_defaultBankAccount_accountNumber, - $request_defaultBankAccount_accountCheckDigit, - $request_defaultBankAccount_type, - $request_defaultBankAccount_metadata, - $request_defaultBankAccount_pixKey -); -$request_metadata = ['key0' => 'metadata3']; -$request_code = 'code4'; -$request_paymentMode = 'bank_transfer'; -$request = new Models\CreateRecipientRequest( - $request_name, - $request_email, - $request_description, - $request_document, - $request_type, - $request_defaultBankAccount, - $request_metadata, - $request_code, - $request_paymentMode -); +$request = CreateRecipientRequestBuilder::init( + 'name6', + 'email0', + 'description6', + 'document0', + 'type4', + CreateBankAccountRequestBuilder::init( + 'holder_name0', + 'holder_type6', + 'holder_document8', + 'bank2', + 'branch_number0', + 'account_number4', + 'account_check_digit0', + 'type4', + [ + 'key0' => 'metadata5' + ] + )->build(), + [ + 'key0' => 'metadata3' + ], + 'code4', + 'bank_transfer' +)->build(); $result = $recipientsController->createRecipient($request); ``` diff --git a/doc/controllers/subscriptions.md b/doc/controllers/subscriptions.md index 9093d87..5e2226a 100644 --- a/doc/controllers/subscriptions.md +++ b/doc/controllers/subscriptions.md @@ -102,14 +102,18 @@ function updateSubscriptionCard( ```php $subscriptionId = 'subscription_id0'; -$request_card = new Models\CreateCardRequest(); -$request_cardId = 'card_id2'; -$request = new Models\UpdateSubscriptionCardRequest( - $request_card, - $request_cardId -); -$result = $subscriptionsController->updateSubscriptionCard($subscriptionId, $request); +$request = UpdateSubscriptionCardRequestBuilder::init( + CreateCardRequestBuilder::init() + ->type('credit') + ->build(), + 'card_id2' +)->build(); + +$result = $subscriptionsController->updateSubscriptionCard( + $subscriptionId, + $request +); ``` @@ -143,10 +147,16 @@ function deleteUsage( ```php $subscriptionId = 'subscription_id0'; + $itemId = 'item_id0'; + $usageId = 'usage_id0'; -$result = $subscriptionsController->deleteUsage($subscriptionId, $itemId, $usageId); +$result = $subscriptionsController->deleteUsage( + $subscriptionId, + $itemId, + $usageId +); ``` @@ -178,16 +188,17 @@ function createDiscount( ```php $subscriptionId = 'subscription_id0'; -$request_value = 185.28; -$request_discountType = 'discount_type4'; -$request_itemId = 'item_id6'; -$request = new Models\CreateDiscountRequest( - $request_value, - $request_discountType, - $request_itemId -); -$result = $subscriptionsController->createDiscount($subscriptionId, $request); +$request = CreateDiscountRequestBuilder::init( + 185.28, + 'discount_type4', + 'item_id6' +)->build(); + +$result = $subscriptionsController->createDiscount( + $subscriptionId, + $request +); ``` @@ -215,9 +226,13 @@ function createAnUsage(string $subscriptionId, string $itemId, ?string $idempote ```php $subscriptionId = 'subscription_id0'; + $itemId = 'item_id0'; -$result = $subscriptionsController->createAnUsage($subscriptionId, $itemId); +$result = $subscriptionsController->createAnUsage( + $subscriptionId, + $itemId +); ``` @@ -247,12 +262,15 @@ function updateCurrentCycleStatus( ```php $subscriptionId = 'subscription_id0'; -$request_status = 'status8'; -$request = new Models\UpdateCurrentCycleStatusRequest( - $request_status -); -$subscriptionsController->updateCurrentCycleStatus($subscriptionId, $request); +$request = UpdateCurrentCycleStatusRequestBuilder::init( + 'status8' +)->build(); + +$subscriptionsController->updateCurrentCycleStatus( + $subscriptionId, + $request +); ``` @@ -284,9 +302,13 @@ function deleteDiscount( ```php $subscriptionId = 'subscription_id0'; + $discountId = 'discount_id8'; -$result = $subscriptionsController->deleteDiscount($subscriptionId, $discountId); +$result = $subscriptionsController->deleteDiscount( + $subscriptionId, + $discountId +); ``` @@ -363,16 +385,19 @@ function updateSubscriptionPaymentMethod( ```php $subscriptionId = 'subscription_id0'; -$request_paymentMethod = 'payment_method4'; -$request_cardId = 'card_id2'; -$request_card = new Models\CreateCardRequest(); -$request = new Models\UpdateSubscriptionPaymentMethodRequest( - $request_paymentMethod, - $request_cardId, - $request_card -); -$result = $subscriptionsController->updateSubscriptionPaymentMethod($subscriptionId, $request); +$request = UpdateSubscriptionPaymentMethodRequestBuilder::init( + 'payment_method4', + 'card_id2', + CreateCardRequestBuilder::init() + ->type('credit') + ->build() +)->build(); + +$result = $subscriptionsController->updateSubscriptionPaymentMethod( + $subscriptionId, + $request +); ``` @@ -399,9 +424,13 @@ function getSubscriptionItem(string $subscriptionId, string $itemId): GetSubscri ```php $subscriptionId = 'subscription_id0'; + $itemId = 'item_id0'; -$result = $subscriptionsController->getSubscriptionItem($subscriptionId, $itemId); +$result = $subscriptionsController->getSubscriptionItem( + $subscriptionId, + $itemId +); ``` @@ -482,12 +511,15 @@ function cancelSubscription( ```php $subscriptionId = 'subscription_id0'; -$request_cancelPendingInvoices = true; -$request = new Models\CreateCancelSubscriptionRequest( - $request_cancelPendingInvoices -); -$result = $subscriptionsController->cancelSubscription($subscriptionId, $request); +$request = CreateCancelSubscriptionRequestBuilder::init( + true +)->build(); + +$result = $subscriptionsController->cancelSubscription( + $subscriptionId, + $request +); ``` @@ -519,16 +551,17 @@ function createIncrement( ```php $subscriptionId = 'subscription_id0'; -$request_value = 185.28; -$request_incrementType = 'increment_type8'; -$request_itemId = 'item_id6'; -$request = new Models\CreateIncrementRequest( - $request_value, - $request_incrementType, - $request_itemId -); -$result = $subscriptionsController->createIncrement($subscriptionId, $request); +$request = CreateIncrementRequestBuilder::init( + 185.28, + 'increment_type8', + 'item_id6' +)->build(); + +$result = $subscriptionsController->createIncrement( + $subscriptionId, + $request +); ``` @@ -562,17 +595,20 @@ function createUsage( ```php $subscriptionId = 'subscription_id0'; + $itemId = 'item_id0'; -$body_quantity = 156; -$body_description = 'description4'; -$body_usedAt = DateTimeHelper::fromRfc3339DateTime('2016-03-13T12:52:32.123Z'); -$body = new Models\CreateUsageRequest( - $body_quantity, - $body_description, - $body_usedAt -); -$result = $subscriptionsController->createUsage($subscriptionId, $itemId, $body); +$body = CreateUsageRequestBuilder::init( + 156, + 'description4', + DateTimeHelper::fromRfc3339DateTimeRequired('2016-03-13T12:52:32.123Z') +)->build(); + +$result = $subscriptionsController->createUsage( + $subscriptionId, + $itemId, + $body +); ``` @@ -597,9 +633,13 @@ function getDiscountById(string $subscriptionId, string $discountId): GetDiscoun ```php $subscriptionId = 'subscription_id0'; + $discountId = 'discountId0'; -$result = $subscriptionsController->getDiscountById($subscriptionId, $discountId); +$result = $subscriptionsController->getDiscountById( + $subscriptionId, + $discountId +); ``` @@ -628,273 +668,169 @@ function createSubscription( ## Example Usage ```php -$body_customer_name = '{ +$body = CreateSubscriptionRequestBuilder::init( + CreateCustomerRequestBuilder::init( + '{ "name": "Tony Stark" -}'; -$body_customer_email = 'email2'; -$body_customer_document = 'document2'; -$body_customer_type = 'type6'; -$body_customer_address_street = 'street0'; -$body_customer_address_number = 'number8'; -$body_customer_address_zipCode = 'zip_code4'; -$body_customer_address_neighborhood = 'neighborhood6'; -$body_customer_address_city = 'city0'; -$body_customer_address_state = 'state6'; -$body_customer_address_country = 'country4'; -$body_customer_address_complement = 'complement6'; -$body_customer_address_metadata = ['key0' => 'metadata7', 'key1' => 'metadata6']; -$body_customer_address_line1 = 'line_16'; -$body_customer_address_line2 = 'line_28'; -$body_customer_address = new Models\CreateAddressRequest( - $body_customer_address_street, - $body_customer_address_number, - $body_customer_address_zipCode, - $body_customer_address_neighborhood, - $body_customer_address_city, - $body_customer_address_state, - $body_customer_address_country, - $body_customer_address_complement, - $body_customer_address_metadata, - $body_customer_address_line1, - $body_customer_address_line2 -); -$body_customer_metadata = ['key0' => 'metadata9', 'key1' => 'metadata0']; -$body_customer_phones = new Models\CreatePhonesRequest(); -$body_customer_code = 'code2'; -$body_customer = new Models\CreateCustomerRequest( - $body_customer_name, - $body_customer_email, - $body_customer_document, - $body_customer_type, - $body_customer_address, - $body_customer_metadata, - $body_customer_phones, - $body_customer_code -); -$body_card = new Models\CreateCardRequest(); -$body_code = 'code4'; -$body_paymentMethod = 'payment_method4'; -$body_billingType = 'billing_type0'; -$body_statementDescriptor = 'statement_descriptor6'; -$body_description = 'description4'; -$body_currency = 'currency6'; -$body_interval = 'interval6'; -$body_intervalCount = 170; -$body_pricingScheme_schemeType = 'scheme_type2'; -$body_pricingScheme = new Models\CreatePricingSchemeRequest( - $body_pricingScheme_schemeType -); -$body_items = []; - -$body_items_0_description = 'description3'; -$body_items_0_pricingScheme_schemeType = 'scheme_type5'; -$body_items_0_pricingScheme = new Models\CreatePricingSchemeRequest( - $body_items_0_pricingScheme_schemeType -); -$body_items_0_id = 'id3'; -$body_items_0_planItemId = 'plan_item_id3'; -$body_items_0_discounts = []; - -$body_items_0_discounts_0_value = 65.46; -$body_items_0_discounts_0_discountType = 'discount_type2'; -$body_items_0_discounts_0_itemId = 'item_id4'; -$body_items_0_discounts[0] = new Models\CreateDiscountRequest( - $body_items_0_discounts_0_value, - $body_items_0_discounts_0_discountType, - $body_items_0_discounts_0_itemId -); - -$body_items_0_name = 'name3'; -$body_items[0] = new Models\CreateSubscriptionItemRequest( - $body_items_0_description, - $body_items_0_pricingScheme, - $body_items_0_id, - $body_items_0_planItemId, - $body_items_0_discounts, - $body_items_0_name -); - -$body_items_1_description = 'description4'; -$body_items_1_pricingScheme_schemeType = 'scheme_type4'; -$body_items_1_pricingScheme = new Models\CreatePricingSchemeRequest( - $body_items_1_pricingScheme_schemeType -); -$body_items_1_id = 'id4'; -$body_items_1_planItemId = 'plan_item_id4'; -$body_items_1_discounts = []; - -$body_items_1_discounts_0_value = 65.47; -$body_items_1_discounts_0_discountType = 'discount_type3'; -$body_items_1_discounts_0_itemId = 'item_id5'; -$body_items_1_discounts[0] = new Models\CreateDiscountRequest( - $body_items_1_discounts_0_value, - $body_items_1_discounts_0_discountType, - $body_items_1_discounts_0_itemId -); - -$body_items_1_discounts_1_value = 65.48; -$body_items_1_discounts_1_discountType = 'discount_type4'; -$body_items_1_discounts_1_itemId = 'item_id6'; -$body_items_1_discounts[1] = new Models\CreateDiscountRequest( - $body_items_1_discounts_1_value, - $body_items_1_discounts_1_discountType, - $body_items_1_discounts_1_itemId -); - -$body_items_1_name = 'name4'; -$body_items[1] = new Models\CreateSubscriptionItemRequest( - $body_items_1_description, - $body_items_1_pricingScheme, - $body_items_1_id, - $body_items_1_planItemId, - $body_items_1_discounts, - $body_items_1_name -); - -$body_items_2_description = 'description5'; -$body_items_2_pricingScheme_schemeType = 'scheme_type3'; -$body_items_2_pricingScheme = new Models\CreatePricingSchemeRequest( - $body_items_2_pricingScheme_schemeType -); -$body_items_2_id = 'id5'; -$body_items_2_planItemId = 'plan_item_id5'; -$body_items_2_discounts = []; - -$body_items_2_discounts_0_value = 65.48; -$body_items_2_discounts_0_discountType = 'discount_type4'; -$body_items_2_discounts_0_itemId = 'item_id6'; -$body_items_2_discounts[0] = new Models\CreateDiscountRequest( - $body_items_2_discounts_0_value, - $body_items_2_discounts_0_discountType, - $body_items_2_discounts_0_itemId -); - -$body_items_2_discounts_1_value = 65.49; -$body_items_2_discounts_1_discountType = 'discount_type5'; -$body_items_2_discounts_1_itemId = 'item_id7'; -$body_items_2_discounts[1] = new Models\CreateDiscountRequest( - $body_items_2_discounts_1_value, - $body_items_2_discounts_1_discountType, - $body_items_2_discounts_1_itemId -); - -$body_items_2_discounts_2_value = 65.5; -$body_items_2_discounts_2_discountType = 'discount_type6'; -$body_items_2_discounts_2_itemId = 'item_id8'; -$body_items_2_discounts[2] = new Models\CreateDiscountRequest( - $body_items_2_discounts_2_value, - $body_items_2_discounts_2_discountType, - $body_items_2_discounts_2_itemId -); - -$body_items_2_name = 'name5'; -$body_items[2] = new Models\CreateSubscriptionItemRequest( - $body_items_2_description, - $body_items_2_pricingScheme, - $body_items_2_id, - $body_items_2_planItemId, - $body_items_2_discounts, - $body_items_2_name -); - -$body_shipping_amount = 140; -$body_shipping_description = 'description0'; -$body_shipping_recipientName = 'recipient_name8'; -$body_shipping_recipientPhone = 'recipient_phone2'; -$body_shipping_addressId = 'address_id0'; -$body_shipping_address_street = 'street6'; -$body_shipping_address_number = 'number4'; -$body_shipping_address_zipCode = 'zip_code0'; -$body_shipping_address_neighborhood = 'neighborhood2'; -$body_shipping_address_city = 'city6'; -$body_shipping_address_state = 'state2'; -$body_shipping_address_country = 'country0'; -$body_shipping_address_complement = 'complement2'; -$body_shipping_address_metadata = ['key0' => 'metadata3', 'key1' => 'metadata2']; -$body_shipping_address_line1 = 'line_10'; -$body_shipping_address_line2 = 'line_24'; -$body_shipping_address = new Models\CreateAddressRequest( - $body_shipping_address_street, - $body_shipping_address_number, - $body_shipping_address_zipCode, - $body_shipping_address_neighborhood, - $body_shipping_address_city, - $body_shipping_address_state, - $body_shipping_address_country, - $body_shipping_address_complement, - $body_shipping_address_metadata, - $body_shipping_address_line1, - $body_shipping_address_line2 -); -$body_shipping_type = 'type0'; -$body_shipping = new Models\CreateShippingRequest( - $body_shipping_amount, - $body_shipping_description, - $body_shipping_recipientName, - $body_shipping_recipientPhone, - $body_shipping_addressId, - $body_shipping_address, - $body_shipping_type -); -$body_discounts = []; - -$body_discounts_0_value = 95.59; -$body_discounts_0_discountType = 'discount_type5'; -$body_discounts_0_itemId = 'item_id7'; -$body_discounts[0] = new Models\CreateDiscountRequest( - $body_discounts_0_value, - $body_discounts_0_discountType, - $body_discounts_0_itemId -); - -$body_metadata = ['key0' => 'metadata7', 'key1' => 'metadata8']; -$body_increments = []; - -$body_increments_0_value = 38.83; -$body_increments_0_incrementType = 'increment_type3'; -$body_increments_0_itemId = 'item_id9'; -$body_increments[0] = new Models\CreateIncrementRequest( - $body_increments_0_value, - $body_increments_0_incrementType, - $body_increments_0_itemId -); - -$body_increments_1_value = 38.84; -$body_increments_1_incrementType = 'increment_type4'; -$body_increments_1_itemId = 'item_id8'; -$body_increments[1] = new Models\CreateIncrementRequest( - $body_increments_1_value, - $body_increments_1_incrementType, - $body_increments_1_itemId -); - -$body_increments_2_value = 38.85; -$body_increments_2_incrementType = 'increment_type5'; -$body_increments_2_itemId = 'item_id7'; -$body_increments[2] = new Models\CreateIncrementRequest( - $body_increments_2_value, - $body_increments_2_incrementType, - $body_increments_2_itemId -); - -$body = new Models\CreateSubscriptionRequest( - $body_customer, - $body_card, - $body_code, - $body_paymentMethod, - $body_billingType, - $body_statementDescriptor, - $body_description, - $body_currency, - $body_interval, - $body_intervalCount, - $body_pricingScheme, - $body_items, - $body_shipping, - $body_discounts, - $body_metadata, - $body_increments -); +}', + 'email2', + 'document2', + 'type6', + CreateAddressRequestBuilder::init( + 'street0', + 'number8', + 'zip_code4', + 'neighborhood6', + 'city0', + 'state6', + 'country4', + 'complement6', + [ + 'key0' => 'metadata7', + 'key1' => 'metadata6' + ], + 'line_16', + 'line_28' + )->build(), + [ + 'key0' => 'metadata9', + 'key1' => 'metadata0' + ], + CreatePhonesRequestBuilder::init()->build(), + 'code2' + )->build(), + CreateCardRequestBuilder::init() + ->type('credit') + ->build(), + 'code4', + 'payment_method4', + 'billing_type0', + 'statement_descriptor6', + 'description4', + 'currency6', + 'interval6', + 170, + CreatePricingSchemeRequestBuilder::init( + 'scheme_type2' + )->build(), + [ + CreateSubscriptionItemRequestBuilder::init( + 'description3', + CreatePricingSchemeRequestBuilder::init( + 'scheme_type5' + )->build(), + 'id3', + 'plan_item_id3', + [ + CreateDiscountRequestBuilder::init( + 65.46, + 'discount_type2', + 'item_id4' + )->build() + ], + 'name3' + )->build(), + CreateSubscriptionItemRequestBuilder::init( + 'description4', + CreatePricingSchemeRequestBuilder::init( + 'scheme_type4' + )->build(), + 'id4', + 'plan_item_id4', + [ + CreateDiscountRequestBuilder::init( + 65.47, + 'discount_type3', + 'item_id5' + )->build(), + CreateDiscountRequestBuilder::init( + 65.48, + 'discount_type4', + 'item_id6' + )->build() + ], + 'name4' + )->build(), + CreateSubscriptionItemRequestBuilder::init( + 'description5', + CreatePricingSchemeRequestBuilder::init( + 'scheme_type3' + )->build(), + 'id5', + 'plan_item_id5', + [ + CreateDiscountRequestBuilder::init( + 65.48, + 'discount_type4', + 'item_id6' + )->build(), + CreateDiscountRequestBuilder::init( + 65.49, + 'discount_type5', + 'item_id7' + )->build(), + CreateDiscountRequestBuilder::init( + 65.5, + 'discount_type6', + 'item_id8' + )->build() + ], + 'name5' + )->build() + ], + CreateShippingRequestBuilder::init( + 140, + 'description0', + 'recipient_name8', + 'recipient_phone2', + 'address_id0', + CreateAddressRequestBuilder::init( + 'street6', + 'number4', + 'zip_code0', + 'neighborhood2', + 'city6', + 'state2', + 'country0', + 'complement2', + [ + 'key0' => 'metadata3', + 'key1' => 'metadata2' + ], + 'line_10', + 'line_24' + )->build(), + 'type0' + )->build(), + [ + CreateDiscountRequestBuilder::init( + 95.59, + 'discount_type5', + 'item_id7' + )->build() + ], + [ + 'key0' => 'metadata7', + 'key1' => 'metadata8' + ], + [ + CreateIncrementRequestBuilder::init( + 38.83, + 'increment_type3', + 'item_id9' + )->build(), + CreateIncrementRequestBuilder::init( + 38.84, + 'increment_type4', + 'item_id8' + )->build(), + CreateIncrementRequestBuilder::init( + 38.85, + 'increment_type5', + 'item_id7' + )->build() + ] +)->build(); $result = $subscriptionsController->createSubscription($body); ``` @@ -921,9 +857,13 @@ function getIncrementById(string $subscriptionId, string $incrementId): GetIncre ```php $subscriptionId = 'subscription_id0'; + $incrementId = 'increment_id8'; -$result = $subscriptionsController->getIncrementById($subscriptionId, $incrementId); +$result = $subscriptionsController->getIncrementById( + $subscriptionId, + $incrementId +); ``` @@ -953,12 +893,15 @@ function updateSubscriptionAffiliationId( ```php $subscriptionId = 'subscription_id0'; -$request_gatewayAffiliationId = 'gateway_affiliation_id2'; -$request = new Models\UpdateSubscriptionAffiliationIdRequest( - $request_gatewayAffiliationId -); -$result = $subscriptionsController->updateSubscriptionAffiliationId($subscriptionId, $request); +$request = UpdateSubscriptionAffiliationIdRequestBuilder::init( + 'gateway_affiliation_id2' +)->build(); + +$result = $subscriptionsController->updateSubscriptionAffiliationId( + $subscriptionId, + $request +); ``` @@ -990,12 +933,17 @@ function updateSubscriptionMetadata( ```php $subscriptionId = 'subscription_id0'; -$request_metadata = ['key0' => 'metadata3']; -$request = new Models\UpdateMetadataRequest( - $request_metadata -); -$result = $subscriptionsController->updateSubscriptionMetadata($subscriptionId, $request); +$request = UpdateMetadataRequestBuilder::init( + [ + 'key0' => 'metadata3' + ] +)->build(); + +$result = $subscriptionsController->updateSubscriptionMetadata( + $subscriptionId, + $request +); ``` @@ -1027,9 +975,13 @@ function deleteIncrement( ```php $subscriptionId = 'subscription_id0'; + $incrementId = 'increment_id8'; -$result = $subscriptionsController->deleteIncrement($subscriptionId, $incrementId); +$result = $subscriptionsController->deleteIncrement( + $subscriptionId, + $incrementId +); ``` @@ -1055,10 +1007,16 @@ function getSubscriptionCycles(string $subscriptionId, string $page, string $siz ```php $subscriptionId = 'subscription_id0'; + $page = 'page8'; + $size = 'size0'; -$result = $subscriptionsController->getSubscriptionCycles($subscriptionId, $page, $size); +$result = $subscriptionsController->getSubscriptionCycles( + $subscriptionId, + $page, + $size +); ``` @@ -1084,10 +1042,16 @@ function getDiscounts(string $subscriptionId, int $page, int $size): ListDiscoun ```php $subscriptionId = 'subscription_id0'; + $page = 30; + $size = 18; -$result = $subscriptionsController->getDiscounts($subscriptionId, $page, $size); +$result = $subscriptionsController->getDiscounts( + $subscriptionId, + $page, + $size +); ``` @@ -1119,12 +1083,15 @@ function updateSubscriptionBillingDate( ```php $subscriptionId = 'subscription_id0'; -$request_nextBillingAt = DateTimeHelper::fromRfc3339DateTime('2016-03-13T12:52:32.123Z'); -$request = new Models\UpdateSubscriptionBillingDateRequest( - $request_nextBillingAt -); -$result = $subscriptionsController->updateSubscriptionBillingDate($subscriptionId, $request); +$request = UpdateSubscriptionBillingDateRequestBuilder::init( + DateTimeHelper::fromRfc3339DateTimeRequired('2016-03-13T12:52:32.123Z') +)->build(); + +$result = $subscriptionsController->updateSubscriptionBillingDate( + $subscriptionId, + $request +); ``` @@ -1156,9 +1123,13 @@ function deleteSubscriptionItem( ```php $subscriptionId = 'subscription_id0'; + $subscriptionItemId = 'subscription_item_id4'; -$result = $subscriptionsController->deleteSubscriptionItem($subscriptionId, $subscriptionItemId); +$result = $subscriptionsController->deleteSubscriptionItem( + $subscriptionId, + $subscriptionItemId +); ``` @@ -1217,12 +1188,15 @@ function updateSubscriptionDueDays( ```php $subscriptionId = 'subscription_id0'; -$request_boletoDueDays = 226; -$request = new Models\UpdateSubscriptionDueDaysRequest( - $request_boletoDueDays -); -$result = $subscriptionsController->updateSubscriptionDueDays($subscriptionId, $request); +$request = UpdateSubscriptionDueDaysRequestBuilder::init( + 226 +)->build(); + +$result = $subscriptionsController->updateSubscriptionDueDays( + $subscriptionId, + $request +); ``` @@ -1254,12 +1228,15 @@ function updateSubscriptionStartAt( ```php $subscriptionId = 'subscription_id0'; -$request_startAt = DateTimeHelper::fromRfc3339DateTime('2016-03-13T12:52:32.123Z'); -$request = new Models\UpdateSubscriptionStartAtRequest( - $request_startAt -); -$result = $subscriptionsController->updateSubscriptionStartAt($subscriptionId, $request); +$request = UpdateSubscriptionStartAtRequestBuilder::init( + DateTimeHelper::fromRfc3339DateTimeRequired('2016-03-13T12:52:32.123Z') +)->build(); + +$result = $subscriptionsController->updateSubscriptionStartAt( + $subscriptionId, + $request +); ``` @@ -1293,39 +1270,33 @@ function updateSubscriptionItem( ```php $subscriptionId = 'subscription_id0'; -$itemId = 'item_id0'; -$body_description = 'description4'; -$body_status = 'status2'; -$body_pricingScheme_schemeType = 'scheme_type2'; -$body_pricingScheme_priceBrackets = []; - -$body_pricingScheme_priceBrackets_0_startQuantity = 31; -$body_pricingScheme_priceBrackets_0_price = 225; -$body_pricingScheme_priceBrackets[0] = new Models\UpdatePriceBracketRequest( - $body_pricingScheme_priceBrackets_0_startQuantity, - $body_pricingScheme_priceBrackets_0_price -); -$body_pricingScheme_priceBrackets_1_startQuantity = 32; -$body_pricingScheme_priceBrackets_1_price = 226; -$body_pricingScheme_priceBrackets[1] = new Models\UpdatePriceBracketRequest( - $body_pricingScheme_priceBrackets_1_startQuantity, - $body_pricingScheme_priceBrackets_1_price -); +$itemId = 'item_id0'; -$body_pricingScheme = new Models\UpdatePricingSchemeRequest( - $body_pricingScheme_schemeType, - $body_pricingScheme_priceBrackets -); -$body_name = 'name6'; -$body = new Models\UpdateSubscriptionItemRequest( - $body_description, - $body_status, - $body_pricingScheme, - $body_name +$body = UpdateSubscriptionItemRequestBuilder::init( + 'description4', + 'status2', + UpdatePricingSchemeRequestBuilder::init( + 'scheme_type2', + [ + UpdatePriceBracketRequestBuilder::init( + 31, + 225 + )->build(), + UpdatePriceBracketRequestBuilder::init( + 32, + 226 + )->build() + ] + )->build(), + 'name6' +)->build(); + +$result = $subscriptionsController->updateSubscriptionItem( + $subscriptionId, + $itemId, + $body ); - -$result = $subscriptionsController->updateSubscriptionItem($subscriptionId, $itemId, $body); ``` @@ -1357,44 +1328,33 @@ function createSubscriptionItem( ```php $subscriptionId = 'subscription_id0'; -$request_description = 'description6'; -$request_pricingScheme_schemeType = 'scheme_type2'; -$request_pricingScheme = new Models\CreatePricingSchemeRequest( - $request_pricingScheme_schemeType -); -$request_id = 'id6'; -$request_planItemId = 'plan_item_id6'; -$request_discounts = []; - -$request_discounts_0_value = 199.99; -$request_discounts_0_discountType = 'discount_type5'; -$request_discounts_0_itemId = 'item_id7'; -$request_discounts[0] = new Models\CreateDiscountRequest( - $request_discounts_0_value, - $request_discounts_0_discountType, - $request_discounts_0_itemId -); -$request_discounts_1_value = 200; -$request_discounts_1_discountType = 'discount_type6'; -$request_discounts_1_itemId = 'item_id8'; -$request_discounts[1] = new Models\CreateDiscountRequest( - $request_discounts_1_value, - $request_discounts_1_discountType, - $request_discounts_1_itemId +$request = CreateSubscriptionItemRequestBuilder::init( + 'description6', + CreatePricingSchemeRequestBuilder::init( + 'scheme_type2' + )->build(), + 'id6', + 'plan_item_id6', + [ + CreateDiscountRequestBuilder::init( + 199.99, + 'discount_type5', + 'item_id7' + )->build(), + CreateDiscountRequestBuilder::init( + 200, + 'discount_type6', + 'item_id8' + )->build() + ], + 'name6' +)->build(); + +$result = $subscriptionsController->createSubscriptionItem( + $subscriptionId, + $request ); - -$request_name = 'name6'; -$request = new Models\CreateSubscriptionItemRequest( - $request_description, - $request_pricingScheme, - $request_id, - $request_planItemId, - $request_discounts, - $request_name -); - -$result = $subscriptionsController->createSubscriptionItem($subscriptionId, $request); ``` @@ -1463,9 +1423,13 @@ function getUsages( ```php $subscriptionId = 'subscription_id0'; + $itemId = 'item_id0'; -$result = $subscriptionsController->getUsages($subscriptionId, $itemId); +$result = $subscriptionsController->getUsages( + $subscriptionId, + $itemId +); ``` @@ -1495,9 +1459,13 @@ function updateLatestPeriodEndAt( ```php $subscriptionId = 'subscription_id0'; -$request = new Models\UpdateCurrentCycleEndDateRequest(); -$result = $subscriptionsController->updateLatestPeriodEndAt($subscriptionId, $request); +$request = UpdateCurrentCycleEndDateRequestBuilder::init()->build(); + +$result = $subscriptionsController->updateLatestPeriodEndAt( + $subscriptionId, + $request +); ``` @@ -1529,9 +1497,13 @@ function updateSubscriptionMiniumPrice( ```php $subscriptionId = 'subscription_id0'; -$request = new Models\UpdateSubscriptionMinimumPriceRequest(); -$result = $subscriptionsController->updateSubscriptionMiniumPrice($subscriptionId, $request); +$request = UpdateSubscriptionMinimumPriceRequestBuilder::init()->build(); + +$result = $subscriptionsController->updateSubscriptionMiniumPrice( + $subscriptionId, + $request +); ``` @@ -1556,9 +1528,13 @@ function getSubscriptionCycleById(string $subscriptionId, string $cycleId): GetP ```php $subscriptionId = 'subscription_id0'; + $cycleId = 'cycleId0'; -$result = $subscriptionsController->getSubscriptionCycleById($subscriptionId, $cycleId); +$result = $subscriptionsController->getSubscriptionCycleById( + $subscriptionId, + $cycleId +); ``` @@ -1583,9 +1559,13 @@ function getUsageReport(string $subscriptionId, string $periodId): GetUsageRepor ```php $subscriptionId = 'subscription_id0'; + $periodId = 'period_id0'; -$result = $subscriptionsController->getUsageReport($subscriptionId, $periodId); +$result = $subscriptionsController->getUsageReport( + $subscriptionId, + $periodId +); ``` @@ -1610,41 +1590,31 @@ function updateSplitSubscription(string $id, UpdateSubscriptionSplitRequest $req ```php $id = 'id0'; -$request_enabled = false; -$request_rules = []; - -$request_rules_0_type = 'type6'; -$request_rules_0_amount = 222; -$request_rules_0_recipientId = 'recipient_id6'; -$request_rules[0] = new Models\CreateSplitRequest( - $request_rules_0_type, - $request_rules_0_amount, - $request_rules_0_recipientId -); - -$request_rules_1_type = 'type5'; -$request_rules_1_amount = 223; -$request_rules_1_recipientId = 'recipient_id5'; -$request_rules[1] = new Models\CreateSplitRequest( - $request_rules_1_type, - $request_rules_1_amount, - $request_rules_1_recipientId -); -$request_rules_2_type = 'type4'; -$request_rules_2_amount = 224; -$request_rules_2_recipientId = 'recipient_id4'; -$request_rules[2] = new Models\CreateSplitRequest( - $request_rules_2_type, - $request_rules_2_amount, - $request_rules_2_recipientId +$request = UpdateSubscriptionSplitRequestBuilder::init( + false, + [ + CreateSplitRequestBuilder::init( + 'type6', + 222, + 'recipient_id6' + )->build(), + CreateSplitRequestBuilder::init( + 'type5', + 223, + 'recipient_id5' + )->build(), + CreateSplitRequestBuilder::init( + 'type4', + 224, + 'recipient_id4' + )->build() + ] +)->build(); + +$result = $subscriptionsController->updateSplitSubscription( + $id, + $request ); - -$request = new Models\UpdateSubscriptionSplitRequest( - $request_enabled, - $request_rules -); - -$result = $subscriptionsController->updateSplitSubscription($id, $request); ``` diff --git a/doc/controllers/tokens.md b/doc/controllers/tokens.md index 652b973..4812c49 100644 --- a/doc/controllers/tokens.md +++ b/doc/controllers/tokens.md @@ -42,29 +42,24 @@ function createToken( ```php $publicKey = 'public_key6'; -$request_type = 'card'; -$request_card_number = 'number2'; -$request_card_holderName = 'holder_name6'; -$request_card_expMonth = 80; -$request_card_expYear = 216; -$request_card_cvv = 'cvv8'; -$request_card_brand = 'brand4'; -$request_card_label = 'label0'; -$request_card = new Models\CreateCardTokenRequest( - $request_card_number, - $request_card_holderName, - $request_card_expMonth, - $request_card_expYear, - $request_card_cvv, - $request_card_brand, - $request_card_label -); -$request = new Models\CreateTokenRequest( - $request_type, - $request_card -); -$result = $tokensController->createToken($publicKey, $request); +$request = CreateTokenRequestBuilder::init( + 'card', + CreateCardTokenRequestBuilder::init( + 'number2', + 'holder_name6', + 80, + 216, + 'cvv8', + 'brand4', + 'label0' + )->build() +)->build(); + +$result = $tokensController->createToken( + $publicKey, + $request +); ``` @@ -93,8 +88,12 @@ function getToken(string $id, string $publicKey): GetTokenResponse ```php $id = 'id0'; + $publicKey = 'public_key6'; -$result = $tokensController->getToken($id, $publicKey); +$result = $tokensController->getToken( + $id, + $publicKey +); ``` diff --git a/doc/controllers/transfers.md b/doc/controllers/transfers.md index bd8cc20..36eb1cb 100644 --- a/doc/controllers/transfers.md +++ b/doc/controllers/transfers.md @@ -59,14 +59,11 @@ function createTransfer(CreateTransfer $request): GetTransfer ## Example Usage ```php -$request_amount = 242; -$request_sourceId = 'source_id0'; -$request_targetId = 'target_id6'; -$request = new Models\CreateTransfer( - $request_amount, - $request_sourceId, - $request_targetId -); +$request = CreateTransferBuilder::init( + 242, + 'source_id0', + 'target_id6' +)->build(); $result = $transfersController->createTransfer($request); ``` diff --git a/doc/models/create-access-token-request.md b/doc/models/create-access-token-request.md index b520a3a..dae4860 100644 --- a/doc/models/create-access-token-request.md +++ b/doc/models/create-access-token-request.md @@ -17,7 +17,7 @@ Request for creating a new Access Token ```json { - "expires_in": null + "expires_in": 226 } ``` diff --git a/doc/models/create-apple-pay-header-request.md b/doc/models/create-apple-pay-header-request.md index 8c428bf..49a3ef3 100644 --- a/doc/models/create-apple-pay-header-request.md +++ b/doc/models/create-apple-pay-header-request.md @@ -19,9 +19,9 @@ The ApplePay header request ```json { - "public_key_hash": null, + "public_key_hash": "public_key_hash8", "ephemeral_public_key": "ephemeral_public_key0", - "transaction_id": null + "transaction_id": "transaction_id8" } ``` diff --git a/doc/models/create-apple-pay-request.md b/doc/models/create-apple-pay-request.md index 23f0716..3133922 100644 --- a/doc/models/create-apple-pay-request.md +++ b/doc/models/create-apple-pay-request.md @@ -24,9 +24,9 @@ The ApplePay Token Payment Request "version": "version4", "data": "data0", "header": { - "public_key_hash": null, + "public_key_hash": "public_key_hash4", "ephemeral_public_key": "ephemeral_public_key6", - "transaction_id": null + "transaction_id": "transaction_id4" }, "signature": "signature8", "merchant_identifier": "merchant_identifier4" diff --git a/doc/models/create-bank-account-request.md b/doc/models/create-bank-account-request.md index 504c1bc..305e762 100644 --- a/doc/models/create-bank-account-request.md +++ b/doc/models/create-bank-account-request.md @@ -16,12 +16,12 @@ Request for creating a bank account | `holderDocument` | `string` | Required | Bank account holder document | getHolderDocument(): string | setHolderDocument(string holderDocument): void | | `bank` | `string` | Required | Bank | getBank(): string | setBank(string bank): void | | `branchNumber` | `string` | Required | Branch number | getBranchNumber(): string | setBranchNumber(string branchNumber): void | -| `branchCheckDigit` | `string` | Required | Branch check digit | getBranchCheckDigit(): string | setBranchCheckDigit(string branchCheckDigit): void | +| `branchCheckDigit` | `?string` | Optional | Branch check digit | getBranchCheckDigit(): ?string | setBranchCheckDigit(?string branchCheckDigit): void | | `accountNumber` | `string` | Required | Account number | getAccountNumber(): string | setAccountNumber(string accountNumber): void | | `accountCheckDigit` | `string` | Required | Account check digit | getAccountCheckDigit(): string | setAccountCheckDigit(string accountCheckDigit): void | | `type` | `string` | Required | Bank account type | getType(): string | setType(string type): void | | `metadata` | `array` | Required | Metadata | getMetadata(): array | setMetadata(array metadata): void | -| `pixKey` | `string` | Required | Pix key | getPixKey(): string | setPixKey(string pixKey): void | +| `pixKey` | `?string` | Optional | Pix key | getPixKey(): ?string | setPixKey(?string pixKey): void | ## Example (as JSON) diff --git a/doc/models/create-boleto-payment-request.md b/doc/models/create-boleto-payment-request.md index 9aa55be..8d997b4 100644 --- a/doc/models/create-boleto-payment-request.md +++ b/doc/models/create-boleto-payment-request.md @@ -31,7 +31,7 @@ Contains the settings for creating a boleto payment "retries": 230, "bank": "bank8", "instructions": "instructions2", - "due_at": null, + "due_at": "2016-03-13T12:52:32.123Z", "billing_address": { "street": "street8", "number": "number4", @@ -48,13 +48,21 @@ Contains the settings for creating a boleto payment "line_1": "line_18", "line_2": "line_26" }, - "billing_address_id": null, - "nosso_numero": null, + "billing_address_id": "billing_address_id6", + "nosso_numero": "nosso_numero0", "document_number": "document_number6", "statement_descriptor": "statement_descriptor0", - "interest": null, - "fine": null, - "max_days_to_pay_past_due": null + "interest": { + "days": 156, + "type": "type0", + "amount": 230 + }, + "fine": { + "days": 138, + "type": "type2", + "amount": 212 + }, + "max_days_to_pay_past_due": 122 } ``` diff --git a/doc/models/create-cancel-charge-request.md b/doc/models/create-cancel-charge-request.md index 6d2edfd..04a6698 100644 --- a/doc/models/create-cancel-charge-request.md +++ b/doc/models/create-cancel-charge-request.md @@ -20,9 +20,59 @@ Request for canceling a charge. ```json { - "amount": null, - "split_rules": null, - "split": null, + "amount": 46, + "split_rules": [ + { + "id": "id6", + "Amount": 172, + "type": "type4" + }, + { + "id": "id7", + "Amount": 173, + "type": "type3" + }, + { + "id": "id8", + "Amount": 174, + "type": "type2" + } + ], + "split": [ + { + "type": "type6", + "amount": 28, + "recipient_id": "recipient_id6", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": false + }, + "split_rule_id": "split_rule_id6" + }, + { + "type": "type5", + "amount": 27, + "recipient_id": "recipient_id5", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": true + }, + "split_rule_id": "split_rule_id7" + }, + { + "type": "type4", + "amount": 26, + "recipient_id": "recipient_id4", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": false + }, + "split_rule_id": "split_rule_id8" + } + ], "operation_reference": "operation_reference0" } ``` diff --git a/doc/models/create-capture-charge-request.md b/doc/models/create-capture-charge-request.md index b56d2c6..d178c04 100644 --- a/doc/models/create-capture-charge-request.md +++ b/doc/models/create-capture-charge-request.md @@ -21,8 +21,42 @@ Request for capturing a charge ```json { "code": "code8", - "amount": null, - "split": null, + "amount": 46, + "split": [ + { + "type": "type6", + "amount": 28, + "recipient_id": "recipient_id6", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": false + }, + "split_rule_id": "split_rule_id6" + }, + { + "type": "type5", + "amount": 27, + "recipient_id": "recipient_id5", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": true + }, + "split_rule_id": "split_rule_id7" + }, + { + "type": "type4", + "amount": 26, + "recipient_id": "recipient_id4", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": false + }, + "split_rule_id": "split_rule_id8" + } + ], "operation_reference": "operation_reference0" } ``` diff --git a/doc/models/create-card-payment-contactless-request.md b/doc/models/create-card-payment-contactless-request.md index 8bb6245..653368a 100644 --- a/doc/models/create-card-payment-contactless-request.md +++ b/doc/models/create-card-payment-contactless-request.md @@ -21,9 +21,50 @@ The card payment contactless request ```json { "type": "type0", - "apple_pay": null, - "google_pay": null, - "emv": null + "apple_pay": { + "version": "version6", + "data": "data0", + "header": { + "public_key_hash": "public_key_hash4", + "ephemeral_public_key": "ephemeral_public_key6", + "transaction_id": "transaction_id4" + }, + "signature": "signature8", + "merchant_identifier": "merchant_identifier4" + }, + "google_pay": { + "version": "version4", + "data": "data8", + "header": { + "ephemeral_public_key": "ephemeral_public_key2" + }, + "signature": "signature6", + "merchant_identifier": "merchant_identifier2" + }, + "emv": { + "icc_data": "icc_data8", + "card_sequence_number": "card_sequence_number4", + "data": { + "cipher": "cipher8", + "dukpt": { + "ksn": "ksn4" + }, + "tags": [ + { + "tag": "tag3", + "lenght": "lenght1", + "value": "value1" + } + ] + }, + "poi": { + "system_name": "system_name0", + "model": "model8", + "provider": "provider8", + "serial_number": "serial_number4", + "version_number": "version_number0" + } + } } ``` diff --git a/doc/models/create-card-request.md b/doc/models/create-card-request.md index 27030da..b6e19a0 100644 --- a/doc/models/create-card-request.md +++ b/doc/models/create-card-request.md @@ -32,22 +32,7 @@ Card data ```json { - "number": null, - "holder_name": null, - "exp_month": null, - "exp_year": null, - "cvv": null, - "billing_address": null, - "brand": null, - "billing_address_id": null, - "metadata": null, - "type": null, - "options": null, - "holder_document": null, - "private_label": null, - "label": null, - "id": null, - "token": null + "type": "credit" } ``` diff --git a/doc/models/create-checkout-credit-card-payment-request.md b/doc/models/create-checkout-credit-card-payment-request.md index 1513222..a0cf5d3 100644 --- a/doc/models/create-checkout-credit-card-payment-request.md +++ b/doc/models/create-checkout-credit-card-payment-request.md @@ -20,10 +20,34 @@ Checkout card payment request ```json { - "statement_descriptor": null, - "installments": null, - "authentication": null, - "capture": null + "statement_descriptor": "statement_descriptor0", + "installments": [ + { + "number": 217, + "total": 109 + }, + { + "number": 218, + "total": 110 + }, + { + "number": 219, + "total": 111 + } + ], + "authentication": { + "type": "type2", + "threed_secure": { + "mpi": "mpi6", + "cavv": "cavv2", + "eci": "eci6", + "transaction_id": "transaction_id4", + "success_url": "success_url8", + "ds_transaction_id": "ds_transaction_id4", + "version": "version2" + } + }, + "capture": false } ``` diff --git a/doc/models/create-checkout-debit-card-payment-request.md b/doc/models/create-checkout-debit-card-payment-request.md index 39c4441..7b4d067 100644 --- a/doc/models/create-checkout-debit-card-payment-request.md +++ b/doc/models/create-checkout-debit-card-payment-request.md @@ -18,17 +18,17 @@ Checkout credit card payment request ```json { - "statement_descriptor": null, + "statement_descriptor": "statement_descriptor0", "authentication": { "type": "type2", "threed_secure": { "mpi": "mpi6", - "cavv": null, - "eci": null, - "transaction_id": null, - "success_url": null, - "ds_transaction_id": null, - "version": null + "cavv": "cavv2", + "eci": "eci6", + "transaction_id": "transaction_id4", + "success_url": "success_url8", + "ds_transaction_id": "ds_transaction_id4", + "version": "version2" } } } diff --git a/doc/models/create-checkout-payment-request.md b/doc/models/create-checkout-payment-request.md index c4e60e1..a50d497 100644 --- a/doc/models/create-checkout-payment-request.md +++ b/doc/models/create-checkout-payment-request.md @@ -48,13 +48,52 @@ Checkout payment request } ], "success_url": "success_url2", - "default_payment_method": null, - "gateway_affiliation_id": null, - "credit_card": null, - "debit_card": null, - "boleto": null, - "customer_editable": null, - "expires_in": null, + "default_payment_method": "default_payment_method0", + "gateway_affiliation_id": "gateway_affiliation_id4", + "credit_card": { + "statement_descriptor": "statement_descriptor8", + "installments": [ + { + "number": 19, + "total": 167 + } + ], + "authentication": { + "type": "type0", + "threed_secure": { + "mpi": "mpi0", + "cavv": "cavv8", + "eci": "eci2", + "transaction_id": "transaction_id0", + "success_url": "success_url4", + "ds_transaction_id": "ds_transaction_id0", + "version": "version8" + } + }, + "capture": false + }, + "debit_card": { + "statement_descriptor": "statement_descriptor4", + "authentication": { + "type": "type6", + "threed_secure": { + "mpi": "mpi0", + "cavv": "cavv2", + "eci": "eci2", + "transaction_id": "transaction_id0", + "success_url": "success_url4", + "ds_transaction_id": "ds_transaction_id0", + "version": "version2" + } + } + }, + "boleto": { + "bank": "bank8", + "instructions": "instructions2", + "due_at": "2016-03-13T12:52:32.123Z" + }, + "customer_editable": false, + "expires_in": 226, "skip_checkout_success_page": false, "billing_address_editable": false, "billing_address": { @@ -73,12 +112,35 @@ Checkout payment request "line_1": "line_18", "line_2": "line_26" }, - "bank_transfer": null, + "bank_transfer": { + "bank": [ + "bank9", + "bank0" + ], + "retries": 236 + }, "accepted_brands": [ "accepted_brands8", "accepted_brands9" ], - "pix": null + "pix": { + "expires_at": "2016-03-13T12:52:32.123Z", + "expires_in": 250, + "additional_information": [ + { + "Name": "Name7", + "Value": "Value5" + }, + { + "Name": "Name8", + "Value": "Value6" + }, + { + "Name": "Name9", + "Value": "Value7" + } + ] + } } ``` diff --git a/doc/models/create-checkout-pix-payment-request.md b/doc/models/create-checkout-pix-payment-request.md index 69975b8..c669105 100644 --- a/doc/models/create-checkout-pix-payment-request.md +++ b/doc/models/create-checkout-pix-payment-request.md @@ -19,9 +19,18 @@ Checkout pix payment request ```json { - "expires_at": null, - "expires_in": null, - "additional_information": null + "expires_at": "2016-03-13T12:52:32.123Z", + "expires_in": 226, + "additional_information": [ + { + "Name": "Name5", + "Value": "Value7" + }, + { + "Name": "Name6", + "Value": "Value6" + } + ] } ``` diff --git a/doc/models/create-confirm-payment-request.md b/doc/models/create-confirm-payment-request.md index 9098a55..8f04315 100644 --- a/doc/models/create-confirm-payment-request.md +++ b/doc/models/create-confirm-payment-request.md @@ -18,7 +18,7 @@ ```json { "description": "description0", - "Amount": null, + "Amount": 156, "Code": "Code0" } ``` diff --git a/doc/models/create-credit-card-payment-request.md b/doc/models/create-credit-card-payment-request.md index 9b4a9b1..cff982e 100644 --- a/doc/models/create-credit-card-payment-request.md +++ b/doc/models/create-credit-card-payment-request.md @@ -31,21 +31,9 @@ The settings for creating a credit card payment ```json { - "installments": null, - "statement_descriptor": null, - "card": null, - "card_id": null, - "card_token": null, - "recurrence": null, - "capture": null, - "extended_limit_enabled": null, - "extended_limit_code": null, - "merchant_category_code": null, - "authentication": null, - "contactless": null, - "auto_recovery": null, - "operation_type": null, - "recurrency_cycle": null + "installments": 1, + "capture": true, + "recurrency_cycle": "\"first\" or \"subsequent\"" } ``` diff --git a/doc/models/create-debit-card-payment-request.md b/doc/models/create-debit-card-payment-request.md index 824c72f..fd87bb4 100644 --- a/doc/models/create-debit-card-payment-request.md +++ b/doc/models/create-debit-card-payment-request.md @@ -23,13 +23,116 @@ The settings for creating a debit card payment ```json { - "statement_descriptor": null, - "card": null, - "card_id": null, - "card_token": null, - "recurrence": null, - "authentication": null, - "token": null + "statement_descriptor": "statement_descriptor0", + "card": { + "number": "number6", + "holder_name": "holder_name2", + "exp_month": 228, + "exp_year": 68, + "cvv": "cvv4", + "billing_address": { + "street": "street8", + "number": "number4", + "zip_code": "zip_code2", + "neighborhood": "neighborhood4", + "city": "city2", + "state": "state6", + "country": "country2", + "complement": "complement6", + "metadata": { + "key0": "metadata5", + "key1": "metadata6" + }, + "line_1": "line_18", + "line_2": "line_26" + }, + "brand": "brand0", + "billing_address_id": "billing_address_id2", + "metadata": { + "key0": "metadata7" + }, + "type": "type4", + "options": { + "verify_card": false + }, + "holder_document": "holder_document0", + "private_label": false, + "label": "label6", + "id": "id6", + "token": "token0" + }, + "card_id": "card_id4", + "card_token": "card_token0", + "recurrence": false, + "authentication": { + "type": "type2", + "threed_secure": { + "mpi": "mpi6", + "cavv": "cavv2", + "eci": "eci6", + "transaction_id": "transaction_id4", + "success_url": "success_url8", + "ds_transaction_id": "ds_transaction_id4", + "version": "version2" + } + }, + "token": { + "type": "type4", + "apple_pay": { + "version": "version8", + "data": "data6", + "header": { + "public_key_hash": "public_key_hash8", + "ephemeral_public_key": "ephemeral_public_key0", + "transaction_id": "transaction_id8" + }, + "signature": "signature4", + "merchant_identifier": "merchant_identifier0" + }, + "google_pay": { + "version": "version8", + "data": "data2", + "header": { + "ephemeral_public_key": "ephemeral_public_key4" + }, + "signature": "signature0", + "merchant_identifier": "merchant_identifier6" + }, + "emv": { + "icc_data": "icc_data4", + "card_sequence_number": "card_sequence_number2", + "data": { + "cipher": "cipher6", + "dukpt": { + "ksn": "ksn2" + }, + "tags": [ + { + "tag": "tag1", + "lenght": "lenght9", + "value": "value9" + }, + { + "tag": "tag2", + "lenght": "lenght0", + "value": "value0" + }, + { + "tag": "tag3", + "lenght": "lenght1", + "value": "value1" + } + ] + }, + "poi": { + "system_name": "system_name2", + "model": "model0", + "provider": "provider6", + "serial_number": "serial_number4", + "version_number": "version_number8" + } + } + } } ``` diff --git a/doc/models/create-device-request.md b/doc/models/create-device-request.md index c848138..f80e3c8 100644 --- a/doc/models/create-device-request.md +++ b/doc/models/create-device-request.md @@ -17,7 +17,7 @@ Request for creating a device ```json { - "platform": null + "platform": "platform6" } ``` diff --git a/doc/models/create-discount-request.md b/doc/models/create-discount-request.md index 467c25a..d19098d 100644 --- a/doc/models/create-discount-request.md +++ b/doc/models/create-discount-request.md @@ -24,8 +24,8 @@ Request for creating a new discount "value": 251.52, "discount_type": "discount_type8", "item_id": "item_id0", - "cycles": null, - "description": null + "cycles": 168, + "description": "description0" } ``` diff --git a/doc/models/create-emv-data-decrypt-request.md b/doc/models/create-emv-data-decrypt-request.md index 70a40c4..f56689d 100644 --- a/doc/models/create-emv-data-decrypt-request.md +++ b/doc/models/create-emv-data-decrypt-request.md @@ -18,7 +18,9 @@ ```json { "cipher": "cipher4", - "dukpt": null, + "dukpt": { + "ksn": "ksn0" + }, "tags": [ { "tag": "tag9", diff --git a/doc/models/create-emv-decrypt-request.md b/doc/models/create-emv-decrypt-request.md index cf83b35..e4fb166 100644 --- a/doc/models/create-emv-decrypt-request.md +++ b/doc/models/create-emv-decrypt-request.md @@ -22,7 +22,9 @@ "card_sequence_number": "card_sequence_number0", "data": { "cipher": "cipher4", - "dukpt": null, + "dukpt": { + "ksn": "ksn0" + }, "tags": [ { "tag": "tag9", @@ -41,7 +43,13 @@ } ] }, - "poi": null + "poi": { + "system_name": "system_name4", + "model": "model2", + "provider": "provider4", + "serial_number": "serial_number2", + "version_number": "version_number6" + } } ``` diff --git a/doc/models/create-increment-request.md b/doc/models/create-increment-request.md index 8c14245..6ca3b86 100644 --- a/doc/models/create-increment-request.md +++ b/doc/models/create-increment-request.md @@ -24,8 +24,8 @@ Request for creating a new increment "value": 251.52, "increment_type": "increment_type8", "item_id": "item_id0", - "cycles": null, - "description": null + "cycles": 168, + "description": "description0" } ``` diff --git a/doc/models/create-order-item-request.md b/doc/models/create-order-item-request.md index 425b6fc..76c6d8a 100644 --- a/doc/models/create-order-item-request.md +++ b/doc/models/create-order-item-request.md @@ -25,7 +25,7 @@ Request for creating an order item "description": "description0", "quantity": 68, "category": "category2", - "code": null + "code": "code8" } ``` diff --git a/doc/models/create-payment-authentication-request.md b/doc/models/create-payment-authentication-request.md index 9491763..02a3882 100644 --- a/doc/models/create-payment-authentication-request.md +++ b/doc/models/create-payment-authentication-request.md @@ -21,12 +21,12 @@ The payment authentication request "type": "type0", "threed_secure": { "mpi": "mpi0", - "cavv": null, - "eci": null, - "transaction_id": null, - "success_url": null, - "ds_transaction_id": null, - "version": null + "cavv": "cavv8", + "eci": "eci2", + "transaction_id": "transaction_id0", + "success_url": "success_url4", + "ds_transaction_id": "ds_transaction_id0", + "version": "version8" } } ``` diff --git a/doc/models/create-payment-request.md b/doc/models/create-payment-request.md index 19b2128..75ec19b 100644 --- a/doc/models/create-payment-request.md +++ b/doc/models/create-payment-request.md @@ -34,22 +34,583 @@ Payment data ```json { "payment_method": "payment_method0", - "credit_card": null, - "debit_card": null, - "boleto": null, - "currency": null, - "voucher": null, - "split": null, - "bank_transfer": null, - "gateway_affiliation_id": null, - "amount": null, - "checkout": null, - "customer_id": null, - "customer": null, - "metadata": null, - "cash": null, - "private_label": null, - "pix": null + "credit_card": { + "installments": 52, + "statement_descriptor": "statement_descriptor8", + "card": { + "number": "number0", + "holder_name": "holder_name8", + "exp_month": 54, + "exp_year": 242, + "cvv": "cvv0", + "billing_address": { + "street": "street6", + "number": "number6", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city4", + "state": "state8", + "country": "country0", + "complement": "complement8", + "metadata": { + "key0": "metadata7" + }, + "line_1": "line_10", + "line_2": "line_24" + }, + "brand": "brand6", + "billing_address_id": "billing_address_id8", + "metadata": { + "key0": "metadata1" + }, + "type": "type8", + "options": { + "verify_card": false + }, + "holder_document": "holder_document4", + "private_label": false, + "label": "label2", + "id": "id2", + "token": "token4" + }, + "card_id": "card_id4", + "card_token": "card_token2", + "recurrence": false, + "capture": false, + "extended_limit_enabled": false, + "extended_limit_code": "extended_limit_code6", + "merchant_category_code": 152, + "authentication": { + "type": "type0", + "threed_secure": { + "mpi": "mpi0", + "cavv": "cavv8", + "eci": "eci2", + "transaction_id": "transaction_id0", + "success_url": "success_url4", + "ds_transaction_id": "ds_transaction_id0", + "version": "version8" + } + }, + "contactless": { + "type": "type8", + "apple_pay": { + "version": "version4", + "data": "data8", + "header": { + "public_key_hash": "public_key_hash6", + "ephemeral_public_key": "ephemeral_public_key8", + "transaction_id": "transaction_id6" + }, + "signature": "signature6", + "merchant_identifier": "merchant_identifier2" + }, + "google_pay": { + "version": "version6", + "data": "data0", + "header": { + "ephemeral_public_key": "ephemeral_public_key6" + }, + "signature": "signature8", + "merchant_identifier": "merchant_identifier4" + }, + "emv": { + "icc_data": "icc_data8", + "card_sequence_number": "card_sequence_number4", + "data": { + "cipher": "cipher8", + "dukpt": { + "ksn": "ksn4" + }, + "tags": [ + { + "tag": "tag3", + "lenght": "lenght1", + "value": "value1" + }, + { + "tag": "tag4", + "lenght": "lenght2", + "value": "value2" + } + ] + }, + "poi": { + "system_name": "system_name0", + "model": "model8", + "provider": "provider8", + "serial_number": "serial_number6", + "version_number": "version_number0" + } + } + }, + "auto_recovery": false, + "operation_type": "operation_type2", + "recurrency_cycle": "recurrency_cycle2" + }, + "debit_card": { + "statement_descriptor": "statement_descriptor4", + "card": { + "number": "number0", + "holder_name": "holder_name8", + "exp_month": 104, + "exp_year": 192, + "cvv": "cvv0", + "billing_address": { + "street": "street6", + "number": "number6", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city4", + "state": "state8", + "country": "country0", + "complement": "complement8", + "metadata": { + "key0": "metadata7", + "key1": "metadata8" + }, + "line_1": "line_10", + "line_2": "line_24" + }, + "brand": "brand6", + "billing_address_id": "billing_address_id8", + "metadata": { + "key0": "metadata1", + "key1": "metadata2", + "key2": "metadata3" + }, + "type": "type8", + "options": { + "verify_card": false + }, + "holder_document": "holder_document4", + "private_label": false, + "label": "label2", + "id": "id2", + "token": "token4" + }, + "card_id": "card_id0", + "card_token": "card_token6", + "recurrence": false, + "authentication": { + "type": "type6", + "threed_secure": { + "mpi": "mpi0", + "cavv": "cavv2", + "eci": "eci2", + "transaction_id": "transaction_id0", + "success_url": "success_url4", + "ds_transaction_id": "ds_transaction_id0", + "version": "version2" + } + }, + "token": { + "type": "type8", + "apple_pay": { + "version": "version4", + "data": "data8", + "header": { + "public_key_hash": "public_key_hash6", + "ephemeral_public_key": "ephemeral_public_key8", + "transaction_id": "transaction_id6" + }, + "signature": "signature6", + "merchant_identifier": "merchant_identifier2" + }, + "google_pay": { + "version": "version2", + "data": "data6", + "header": { + "ephemeral_public_key": "ephemeral_public_key0" + }, + "signature": "signature4", + "merchant_identifier": "merchant_identifier0" + }, + "emv": { + "icc_data": "icc_data4", + "card_sequence_number": "card_sequence_number2", + "data": { + "cipher": "cipher6", + "dukpt": { + "ksn": "ksn2" + }, + "tags": [ + { + "tag": "tag1", + "lenght": "lenght9", + "value": "value9" + }, + { + "tag": "tag2", + "lenght": "lenght0", + "value": "value0" + } + ] + }, + "poi": { + "system_name": "system_name2", + "model": "model0", + "provider": "provider6", + "serial_number": "serial_number4", + "version_number": "version_number8" + } + } + } + }, + "boleto": { + "retries": 226, + "bank": "bank8", + "instructions": "instructions2", + "due_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street8", + "number": "number4", + "zip_code": "zip_code2", + "neighborhood": "neighborhood4", + "city": "city2", + "state": "state6", + "country": "country2", + "complement": "complement6", + "metadata": { + "key0": "metadata5" + }, + "line_1": "line_18", + "line_2": "line_26" + }, + "billing_address_id": "billing_address_id6", + "nosso_numero": "nosso_numero0", + "document_number": "document_number6", + "statement_descriptor": "statement_descriptor0", + "interest": { + "days": 160, + "type": "type0", + "amount": 234 + }, + "fine": { + "days": 130, + "type": "type8", + "amount": 52 + }, + "max_days_to_pay_past_due": 118 + }, + "currency": "currency0", + "voucher": { + "statement_descriptor": "statement_descriptor2", + "card_id": "card_id8", + "card_token": "card_token8", + "Card": { + "number": "number0", + "holder_name": "holder_name8", + "exp_month": 198, + "exp_year": 238, + "cvv": "cvv0", + "billing_address": { + "street": "street4", + "number": "number2", + "zip_code": "zip_code8", + "neighborhood": "neighborhood0", + "city": "city4", + "state": "state0", + "country": "country8", + "complement": "complement0", + "metadata": { + "key0": "metadata5", + "key1": "metadata4", + "key2": "metadata3" + }, + "line_1": "line_18", + "line_2": "line_22" + }, + "brand": "brand6", + "billing_address_id": "billing_address_id8", + "metadata": { + "key0": "metadata7" + }, + "type": "type2", + "options": { + "verify_card": false + }, + "holder_document": "holder_document6", + "private_label": false, + "label": "label2", + "id": "id2", + "token": "token6" + }, + "recurrency_cycle": "recurrency_cycle6" + }, + "split": [ + { + "type": "type6", + "amount": 28, + "recipient_id": "recipient_id6", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": false + }, + "split_rule_id": "split_rule_id6" + }, + { + "type": "type5", + "amount": 27, + "recipient_id": "recipient_id5", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": true + }, + "split_rule_id": "split_rule_id7" + }, + { + "type": "type4", + "amount": 26, + "recipient_id": "recipient_id4", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": false + }, + "split_rule_id": "split_rule_id8" + } + ], + "bank_transfer": { + "bank": "bank0", + "retries": 236 + }, + "gateway_affiliation_id": "gateway_affiliation_id4", + "amount": 46, + "checkout": { + "accepted_payment_methods": [ + "accepted_payment_methods5", + "accepted_payment_methods6", + "accepted_payment_methods7" + ], + "accepted_multi_payment_methods": [ + { + "key1": "val1", + "key2": "val2" + }, + { + "key1": "val1", + "key2": "val2" + }, + { + "key1": "val1", + "key2": "val2" + } + ], + "success_url": "success_url4", + "default_payment_method": "default_payment_method2", + "gateway_affiliation_id": "gateway_affiliation_id8", + "credit_card": { + "statement_descriptor": "statement_descriptor0", + "installments": [ + { + "number": 65, + "total": 213 + } + ], + "authentication": { + "type": "type8", + "threed_secure": { + "mpi": "mpi8", + "cavv": "cavv6", + "eci": "eci0", + "transaction_id": "transaction_id8", + "success_url": "success_url2", + "ds_transaction_id": "ds_transaction_id8", + "version": "version6" + } + }, + "capture": false + }, + "debit_card": { + "statement_descriptor": "statement_descriptor6", + "authentication": { + "type": "type2", + "threed_secure": { + "mpi": "mpi6", + "cavv": "cavv8", + "eci": "eci6", + "transaction_id": "transaction_id4", + "success_url": "success_url8", + "ds_transaction_id": "ds_transaction_id4", + "version": "version8" + } + } + }, + "boleto": { + "bank": "bank0", + "instructions": "instructions0", + "due_at": "2016-03-13T12:52:32.123Z" + }, + "customer_editable": false, + "expires_in": 76, + "skip_checkout_success_page": false, + "billing_address_editable": false, + "billing_address": { + "street": "street4", + "number": "number2", + "zip_code": "zip_code8", + "neighborhood": "neighborhood0", + "city": "city4", + "state": "state0", + "country": "country8", + "complement": "complement0", + "metadata": { + "key0": "metadata1" + }, + "line_1": "line_12", + "line_2": "line_22" + }, + "bank_transfer": { + "bank": [ + "bank7", + "bank8" + ], + "retries": 190 + }, + "accepted_brands": [ + "accepted_brands8", + "accepted_brands9", + "accepted_brands0" + ], + "pix": { + "expires_at": "2016-03-13T12:52:32.123Z", + "expires_in": 52, + "additional_information": [ + { + "Name": "Name9", + "Value": "Value7" + }, + { + "Name": "Name0", + "Value": "Value8" + }, + { + "Name": "Name1", + "Value": "Value9" + } + ] + } + }, + "customer_id": "customer_id8", + "customer": { + "name": "name0", + "email": "email6", + "document": "document6", + "type": "type0", + "address": { + "street": "street6", + "number": "number4", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city6", + "state": "state2", + "country": "country0", + "complement": "complement2", + "metadata": { + "key0": "metadata3" + }, + "line_1": "line_10", + "line_2": "line_24" + }, + "metadata": { + "key0": "metadata3" + }, + "phones": { + "home_phone": { + "country_code": "country_code2", + "number": "number0", + "area_code": "area_code2" + }, + "mobile_phone": { + "country_code": "country_code8", + "number": "number4", + "area_code": "area_code8" + } + }, + "code": "code8", + "gender": "gender6", + "document_type": "document_type8" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata4", + "key2": "metadata5" + }, + "cash": { + "description": "description0", + "confirm": false + }, + "private_label": { + "installments": 246, + "statement_descriptor": "statement_descriptor0", + "card": { + "number": "number2", + "holder_name": "holder_name0", + "exp_month": 116, + "exp_year": 180, + "cvv": "cvv2", + "billing_address": { + "street": "street6", + "number": "number6", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city6", + "state": "state2", + "country": "country0", + "complement": "complement8", + "metadata": { + "key0": "metadata7", + "key1": "metadata8", + "key2": "metadata9" + }, + "line_1": "line_10", + "line_2": "line_24" + }, + "brand": "brand8", + "billing_address_id": "billing_address_id0", + "metadata": { + "key0": "metadata1", + "key1": "metadata0" + }, + "type": "type6", + "options": { + "verify_card": false + }, + "holder_document": "holder_document8", + "private_label": false, + "label": "label4", + "id": "id4", + "token": "token2" + }, + "card_id": "card_id6", + "card_token": "card_token0", + "recurrence": false, + "capture": false, + "extended_limit_enabled": false, + "extended_limit_code": "extended_limit_code8", + "recurrency_cycle": "recurrency_cycle4" + }, + "pix": { + "expires_at": "2016-03-13T12:52:32.123Z", + "expires_in": 250, + "additional_information": [ + { + "Name": "Name7", + "Value": "Value5" + }, + { + "Name": "Name8", + "Value": "Value6" + }, + { + "Name": "Name9", + "Value": "Value7" + } + ] + } } ``` diff --git a/doc/models/create-period-request.md b/doc/models/create-period-request.md index 643bec4..8f78b57 100644 --- a/doc/models/create-period-request.md +++ b/doc/models/create-period-request.md @@ -15,7 +15,7 @@ ```json { - "end_at": null + "end_at": "2016-03-13T12:52:32.123Z" } ``` diff --git a/doc/models/create-phone-request.md b/doc/models/create-phone-request.md index bd6f909..2546362 100644 --- a/doc/models/create-phone-request.md +++ b/doc/models/create-phone-request.md @@ -17,9 +17,9 @@ ```json { - "country_code": null, - "number": null, - "area_code": null + "country_code": "country_code0", + "number": "number2", + "area_code": "area_code0" } ``` diff --git a/doc/models/create-phones-request.md b/doc/models/create-phones-request.md index 0f724b2..152a82e 100644 --- a/doc/models/create-phones-request.md +++ b/doc/models/create-phones-request.md @@ -16,8 +16,16 @@ ```json { - "home_phone": null, - "mobile_phone": null + "home_phone": { + "country_code": "country_code0", + "number": "number2", + "area_code": "area_code0" + }, + "mobile_phone": { + "country_code": "country_code0", + "number": "number8", + "area_code": "area_code0" + } } ``` diff --git a/doc/models/create-pix-payment-request.md b/doc/models/create-pix-payment-request.md index 541d361..47a6ff7 100644 --- a/doc/models/create-pix-payment-request.md +++ b/doc/models/create-pix-payment-request.md @@ -19,9 +19,18 @@ Contains information to create a pix payment ```json { - "expires_at": null, - "expires_in": null, - "additional_information": null + "expires_at": "2016-03-13T12:52:32.123Z", + "expires_in": 226, + "additional_information": [ + { + "Name": "Name5", + "Value": "Value7" + }, + { + "Name": "Name6", + "Value": "Value6" + } + ] } ``` diff --git a/doc/models/create-plan-item-request.md b/doc/models/create-plan-item-request.md index a8d1f72..e9101db 100644 --- a/doc/models/create-plan-item-request.md +++ b/doc/models/create-plan-item-request.md @@ -25,15 +25,34 @@ Request for creating a plan item "name": "name0", "pricing_scheme": { "scheme_type": "scheme_type8", - "price_brackets": null, - "price": null, - "minimum_price": null, - "percentage": null + "price_brackets": [ + { + "start_quantity": 119, + "price": 57, + "end_quantity": 127, + "overage_price": 141 + }, + { + "start_quantity": 120, + "price": 58, + "end_quantity": 128, + "overage_price": 142 + }, + { + "start_quantity": 121, + "price": 59, + "end_quantity": 129, + "overage_price": 143 + } + ], + "price": 166, + "minimum_price": 6, + "percentage": 251.76 }, "id": "id0", "description": "description0", - "cycles": null, - "quantity": null + "cycles": 168, + "quantity": 68 } ``` diff --git a/doc/models/create-plan-request.md b/doc/models/create-plan-request.md index b7e01de..6457e1f 100644 --- a/doc/models/create-plan-request.md +++ b/doc/models/create-plan-request.md @@ -42,29 +42,61 @@ Request for creating a plan "name": "name7", "pricing_scheme": { "scheme_type": "scheme_type1", - "price_brackets": null, - "price": null, - "minimum_price": null, - "percentage": null + "price_brackets": [ + { + "start_quantity": 60, + "price": 2, + "end_quantity": 68, + "overage_price": 82 + }, + { + "start_quantity": 61, + "price": 1, + "end_quantity": 69, + "overage_price": 83 + }, + { + "start_quantity": 62, + "price": 0, + "end_quantity": 70, + "overage_price": 84 + } + ], + "price": 149, + "minimum_price": 53, + "percentage": 25.89 }, "id": "id7", "description": "description7", - "cycles": null, - "quantity": null + "cycles": 109, + "quantity": 127 }, { "name": "name8", "pricing_scheme": { "scheme_type": "scheme_type0", - "price_brackets": null, - "price": null, - "minimum_price": null, - "percentage": null + "price_brackets": [ + { + "start_quantity": 59, + "price": 3, + "end_quantity": 67, + "overage_price": 81 + }, + { + "start_quantity": 60, + "price": 2, + "end_quantity": 68, + "overage_price": 82 + } + ], + "price": 150, + "minimum_price": 54, + "percentage": 25.88 }, "id": "id8", "description": "description8", - "cycles": null, - "quantity": null + "cycles": 108, + "quantity": 128 } ], "shippable": false, @@ -88,20 +120,39 @@ Request for creating a plan "billing_type": "billing_type6", "pricing_scheme": { "scheme_type": "scheme_type8", - "price_brackets": null, - "price": null, - "minimum_price": null, - "percentage": null + "price_brackets": [ + { + "start_quantity": 119, + "price": 57, + "end_quantity": 127, + "overage_price": 141 + }, + { + "start_quantity": 120, + "price": 58, + "end_quantity": 128, + "overage_price": 142 + }, + { + "start_quantity": 121, + "price": 59, + "end_quantity": 129, + "overage_price": 143 + } + ], + "price": 166, + "minimum_price": 6, + "percentage": 251.76 }, "metadata": { "key0": "metadata3", "key1": "metadata4", "key2": "metadata5" }, - "minimum_price": null, - "cycles": null, - "quantity": null, - "trial_period_days": null + "minimum_price": 176, + "cycles": 168, + "quantity": 68, + "trial_period_days": 54 } ``` diff --git a/doc/models/create-price-bracket-request.md b/doc/models/create-price-bracket-request.md index 18579dc..6e6006d 100644 --- a/doc/models/create-price-bracket-request.md +++ b/doc/models/create-price-bracket-request.md @@ -22,8 +22,8 @@ Request for creating a price bracket { "start_quantity": 46, "price": 16, - "end_quantity": null, - "overage_price": null + "end_quantity": 54, + "overage_price": 68 } ``` diff --git a/doc/models/create-pricing-scheme-request.md b/doc/models/create-pricing-scheme-request.md index ea40343..462f548 100644 --- a/doc/models/create-pricing-scheme-request.md +++ b/doc/models/create-pricing-scheme-request.md @@ -22,10 +22,29 @@ Request for creating a pricing scheme ```json { "scheme_type": "scheme_type0", - "price_brackets": null, - "price": null, - "minimum_price": null, - "percentage": null + "price_brackets": [ + { + "start_quantity": 193, + "price": 125, + "end_quantity": 201, + "overage_price": 215 + }, + { + "start_quantity": 194, + "price": 124, + "end_quantity": 202, + "overage_price": 216 + }, + { + "start_quantity": 195, + "price": 123, + "end_quantity": 203, + "overage_price": 217 + } + ], + "price": 16, + "minimum_price": 176, + "percentage": 4.18 } ``` diff --git a/doc/models/create-private-label-payment-request.md b/doc/models/create-private-label-payment-request.md index 9943265..2121217 100644 --- a/doc/models/create-private-label-payment-request.md +++ b/doc/models/create-private-label-payment-request.md @@ -26,16 +26,9 @@ The settings for creating a private label payment ```json { - "installments": null, - "statement_descriptor": null, - "card": null, - "card_id": null, - "card_token": null, - "recurrence": null, - "capture": null, - "extended_limit_enabled": null, - "extended_limit_code": null, - "recurrency_cycle": null + "installments": 1, + "capture": true, + "recurrency_cycle": "\"first\" or \"subsequent\"" } ``` diff --git a/doc/models/create-setup-request.md b/doc/models/create-setup-request.md index 5e4b818..ea47a91 100644 --- a/doc/models/create-setup-request.md +++ b/doc/models/create-setup-request.md @@ -23,22 +23,415 @@ Request for creating a Setup for a subscription. The setup is an order that will "description": "description0", "payment": { "payment_method": "payment_method4", - "credit_card": null, - "debit_card": null, - "boleto": null, - "currency": null, - "voucher": null, - "split": null, - "bank_transfer": null, - "gateway_affiliation_id": null, - "amount": null, - "checkout": null, - "customer_id": null, - "customer": null, - "metadata": null, - "cash": null, - "private_label": null, - "pix": null + "credit_card": { + "installments": 36, + "statement_descriptor": "statement_descriptor4", + "card": { + "number": "number6", + "holder_name": "holder_name4", + "exp_month": 70, + "exp_year": 226, + "cvv": "cvv6", + "billing_address": { + "street": "street0", + "number": "number2", + "zip_code": "zip_code4", + "neighborhood": "neighborhood6", + "city": "city0", + "state": "state6", + "country": "country4", + "complement": "complement4", + "metadata": { + "key0": "metadata3" + }, + "line_1": "line_16", + "line_2": "line_28" + }, + "brand": "brand2", + "billing_address_id": "billing_address_id4", + "metadata": { + "key0": "metadata5", + "key1": "metadata4", + "key2": "metadata3" + }, + "type": "type2", + "options": { + "verify_card": false + }, + "holder_document": "holder_document2", + "private_label": false, + "label": "label8", + "id": "id8", + "token": "token8" + }, + "card_id": "card_id0", + "card_token": "card_token4", + "recurrence": false, + "capture": false, + "extended_limit_enabled": false, + "extended_limit_code": "extended_limit_code2", + "merchant_category_code": 136, + "authentication": { + "type": "type4", + "threed_secure": { + "mpi": "mpi6", + "cavv": "cavv2", + "eci": "eci6", + "transaction_id": "transaction_id4", + "success_url": "success_url8", + "ds_transaction_id": "ds_transaction_id4", + "version": "version2" + } + }, + "contactless": { + "type": "type4", + "apple_pay": { + "version": "version0", + "data": "data4", + "header": { + "public_key_hash": "public_key_hash6", + "ephemeral_public_key": "ephemeral_public_key8", + "transaction_id": "transaction_id6" + }, + "signature": "signature2", + "merchant_identifier": "merchant_identifier8" + }, + "google_pay": { + "version": "version2", + "data": "data6", + "header": { + "ephemeral_public_key": "ephemeral_public_key0" + }, + "signature": "signature4", + "merchant_identifier": "merchant_identifier0" + }, + "emv": { + "icc_data": "icc_data4", + "card_sequence_number": "card_sequence_number0", + "data": { + "cipher": "cipher4", + "dukpt": { + "ksn": "ksn0" + }, + "tags": [ + { + "tag": "tag9", + "lenght": "lenght7", + "value": "value7" + }, + { + "tag": "tag0", + "lenght": "lenght8", + "value": "value8" + }, + { + "tag": "tag1", + "lenght": "lenght9", + "value": "value9" + } + ] + }, + "poi": { + "system_name": "system_name6", + "model": "model4", + "provider": "provider2", + "serial_number": "serial_number0", + "version_number": "version_number6" + } + } + }, + "auto_recovery": false, + "operation_type": "operation_type8", + "recurrency_cycle": "recurrency_cycle8" + }, + "debit_card": { + "statement_descriptor": "statement_descriptor0", + "card": { + "number": "number8", + "holder_name": "holder_name0", + "exp_month": 252, + "exp_year": 44, + "cvv": "cvv2", + "billing_address": { + "street": "street6", + "number": "number6", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city4", + "state": "state8", + "country": "country0", + "complement": "complement8", + "metadata": { + "key0": "metadata7", + "key1": "metadata8", + "key2": "metadata9" + }, + "line_1": "line_10", + "line_2": "line_24" + }, + "brand": "brand8", + "billing_address_id": "billing_address_id0", + "metadata": { + "key0": "metadata9", + "key1": "metadata0" + }, + "type": "type6", + "options": { + "verify_card": false + }, + "holder_document": "holder_document2", + "private_label": false, + "label": "label4", + "id": "id4", + "token": "token2" + }, + "card_id": "card_id6", + "card_token": "card_token0", + "recurrence": false, + "authentication": { + "type": "type8", + "threed_secure": { + "mpi": "mpi8", + "cavv": "cavv6", + "eci": "eci0", + "transaction_id": "transaction_id8", + "success_url": "success_url2", + "ds_transaction_id": "ds_transaction_id8", + "version": "version6" + } + }, + "token": { + "type": "type4", + "apple_pay": { + "version": "version0", + "data": "data4", + "header": { + "public_key_hash": "public_key_hash0", + "ephemeral_public_key": "ephemeral_public_key2", + "transaction_id": "transaction_id0" + }, + "signature": "signature2", + "merchant_identifier": "merchant_identifier8" + }, + "google_pay": { + "version": "version8", + "data": "data2", + "header": { + "ephemeral_public_key": "ephemeral_public_key6" + }, + "signature": "signature0", + "merchant_identifier": "merchant_identifier6" + }, + "emv": { + "icc_data": "icc_data2", + "card_sequence_number": "card_sequence_number8", + "data": { + "cipher": "cipher2", + "dukpt": { + "ksn": "ksn8" + }, + "tags": [ + {}, + {}, + {} + ] + }, + "poi": { + "system_name": "system_name4", + "model": "model2", + "provider": "provider4", + "serial_number": "serial_number8", + "version_number": "version_number6" + } + } + } + }, + "boleto": { + "retries": 218, + "bank": "bank4", + "instructions": "instructions4", + "due_at": "2016-03-13T12:52:32.123Z", + "billing_address": {}, + "billing_address_id": "billing_address_id2", + "nosso_numero": "nosso_numero6", + "document_number": "document_number0", + "statement_descriptor": "statement_descriptor6", + "interest": { + "days": 168, + "type": "type6", + "amount": 242 + }, + "fine": { + "days": 122, + "type": "type2", + "amount": 196 + }, + "max_days_to_pay_past_due": 110 + }, + "currency": "currency6", + "voucher": { + "statement_descriptor": "statement_descriptor6", + "card_id": "card_id8", + "card_token": "card_token4", + "Card": {}, + "recurrency_cycle": "recurrency_cycle0" + }, + "split": [ + { + "type": "type6", + "amount": 140, + "recipient_id": "recipient_id6", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": false + }, + "split_rule_id": "split_rule_id6" + }, + { + "type": "type5", + "amount": 141, + "recipient_id": "recipient_id5", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": true + }, + "split_rule_id": "split_rule_id7" + }, + { + "type": "type4", + "amount": 142, + "recipient_id": "recipient_id4", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": false + }, + "split_rule_id": "split_rule_id8" + } + ], + "bank_transfer": { + "bank": "bank4", + "retries": 252 + }, + "gateway_affiliation_id": "gateway_affiliation_id2", + "amount": 194, + "checkout": { + "accepted_payment_methods": [ + "accepted_payment_methods1" + ], + "accepted_multi_payment_methods": [ + { + "key1": "val1", + "key2": "val2" + } + ], + "success_url": "success_url0", + "default_payment_method": "default_payment_method8", + "gateway_affiliation_id": "gateway_affiliation_id4", + "credit_card": { + "statement_descriptor": "statement_descriptor6", + "installments": [ + { + "number": 49, + "total": 197 + }, + { + "number": 50, + "total": 198 + } + ], + "authentication": {}, + "capture": false + }, + "debit_card": { + "statement_descriptor": "statement_descriptor2", + "authentication": {} + }, + "boleto": { + "bank": "bank6", + "instructions": "instructions6", + "due_at": "2016-03-13T12:52:32.123Z" + }, + "customer_editable": false, + "expires_in": 60, + "skip_checkout_success_page": false, + "billing_address_editable": false, + "billing_address": {}, + "bank_transfer": { + "bank": [ + "bank3" + ], + "retries": 254 + }, + "accepted_brands": [ + "accepted_brands4" + ], + "pix": { + "expires_at": "2016-03-13T12:52:32.123Z", + "expires_in": 36, + "additional_information": [ + { + "Name": "Name5", + "Value": "Value3" + } + ] + } + }, + "customer_id": "customer_id4", + "customer": { + "name": "name6", + "email": "email0", + "document": "document0", + "type": "type4", + "address": {}, + "metadata": { + "key0": "metadata7" + }, + "phones": { + "home_phone": { + "country_code": "country_code8", + "number": "number4", + "area_code": "area_code8" + }, + "mobile_phone": { + "country_code": "country_code8", + "number": "number0", + "area_code": "area_code2" + } + }, + "code": "code4", + "gender": "gender0", + "document_type": "document_type4" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata8" + }, + "cash": { + "description": "description6", + "confirm": false + }, + "private_label": { + "installments": 230, + "statement_descriptor": "statement_descriptor6", + "card": {}, + "card_id": "card_id2", + "card_token": "card_token6", + "recurrence": false, + "capture": false, + "extended_limit_enabled": false, + "extended_limit_code": "extended_limit_code4", + "recurrency_cycle": "recurrency_cycle0" + }, + "pix": { + "expires_at": "2016-03-13T12:52:32.123Z", + "expires_in": 246, + "additional_information": [ + {} + ] + } } } ``` diff --git a/doc/models/create-shipping-request.md b/doc/models/create-shipping-request.md index 26b197d..29c665d 100644 --- a/doc/models/create-shipping-request.md +++ b/doc/models/create-shipping-request.md @@ -47,8 +47,8 @@ Shipping data "line_1": "line_10", "line_2": "line_24" }, - "max_delivery_date": null, - "estimated_delivery_date": null, + "max_delivery_date": "2016-03-13T12:52:32.123Z", + "estimated_delivery_date": "2016-03-13T12:52:32.123Z", "type": "type0" } ``` diff --git a/doc/models/create-split-options-request.md b/doc/models/create-split-options-request.md index 0fc9038..2d90c04 100644 --- a/doc/models/create-split-options-request.md +++ b/doc/models/create-split-options-request.md @@ -19,9 +19,9 @@ The Split Options Request ```json { - "liable": null, - "charge_processing_fee": null, - "charge_remainder_fee": null + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": false } ``` diff --git a/doc/models/create-split-request.md b/doc/models/create-split-request.md index 7c05c47..c14a11b 100644 --- a/doc/models/create-split-request.md +++ b/doc/models/create-split-request.md @@ -24,8 +24,12 @@ Split "type": "type0", "amount": 46, "recipient_id": "recipient_id0", - "options": null, - "split_rule_id": null + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": false + }, + "split_rule_id": "split_rule_id2" } ``` diff --git a/doc/models/create-sub-merchant-request.md b/doc/models/create-sub-merchant-request.md index ebeb6ac..7839aca 100644 --- a/doc/models/create-sub-merchant-request.md +++ b/doc/models/create-sub-merchant-request.md @@ -31,9 +31,9 @@ SubMerchant "document": "document6", "type": "type0", "phone": { - "country_code": null, - "number": null, - "area_code": null + "country_code": "country_code0", + "number": "number8", + "area_code": "area_code0" }, "address": { "street": "street6", diff --git a/doc/models/create-subscription-boleto-request.md b/doc/models/create-subscription-boleto-request.md index ca1de5e..9fa52dc 100644 --- a/doc/models/create-subscription-boleto-request.md +++ b/doc/models/create-subscription-boleto-request.md @@ -19,9 +19,17 @@ Information about fines and interest on the "boleto" used from payment ```json { - "interest": null, - "fine": null, - "max_days_to_pay_past_due": null + "interest": { + "days": 156, + "type": "type0", + "amount": 230 + }, + "fine": { + "days": 138, + "type": "type2", + "amount": 212 + }, + "max_days_to_pay_past_due": 122 } ``` diff --git a/doc/models/create-subscription-item-request.md b/doc/models/create-subscription-item-request.md index 16aae5e..41fe4ae 100644 --- a/doc/models/create-subscription-item-request.md +++ b/doc/models/create-subscription-item-request.md @@ -28,10 +28,29 @@ Request for creating a new subscription item "description": "description0", "pricing_scheme": { "scheme_type": "scheme_type8", - "price_brackets": null, - "price": null, - "minimum_price": null, - "percentage": null + "price_brackets": [ + { + "start_quantity": 119, + "price": 57, + "end_quantity": 127, + "overage_price": 141 + }, + { + "start_quantity": 120, + "price": 58, + "end_quantity": 128, + "overage_price": 142 + }, + { + "start_quantity": 121, + "price": 59, + "end_quantity": 129, + "overage_price": 143 + } + ], + "price": 166, + "minimum_price": 6, + "percentage": 251.76 }, "id": "id0", "plan_item_id": "plan_item_id0", @@ -40,28 +59,28 @@ Request for creating a new subscription item "value": 10.23, "discount_type": "discount_type9", "item_id": "item_id1", - "cycles": null, - "description": null + "cycles": 233, + "description": "description1" }, { "value": 10.24, "discount_type": "discount_type0", "item_id": "item_id2", - "cycles": null, - "description": null + "cycles": 232, + "description": "description2" }, { "value": 10.25, "discount_type": "discount_type1", "item_id": "item_id3", - "cycles": null, - "description": null + "cycles": 231, + "description": "description3" } ], "name": "name0", - "cycles": null, - "quantity": null, - "minimum_price": null + "cycles": 168, + "quantity": 68, + "minimum_price": 176 } ``` diff --git a/doc/models/create-subscription-request.md b/doc/models/create-subscription-request.md index 8589e82..f220c95 100644 --- a/doc/models/create-subscription-request.md +++ b/doc/models/create-subscription-request.md @@ -59,7 +59,9 @@ Request for creating a subcription "phones": null, "code": null }, - "card": null, + "card": { + "type": "credit" + }, "code": null, "payment_method": null, "billing_type": null, diff --git a/doc/models/create-subscription-split-request.md b/doc/models/create-subscription-split-request.md index 3379590..c88a945 100644 --- a/doc/models/create-subscription-split-request.md +++ b/doc/models/create-subscription-split-request.md @@ -22,8 +22,12 @@ "type": "type6", "amount": 210, "recipient_id": "recipient_id6", - "options": null, - "split_rule_id": null + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": false + }, + "split_rule_id": "split_rule_id6" } ] } diff --git a/doc/models/create-three-d-secure-request.md b/doc/models/create-three-d-secure-request.md index e29573b..13df7a5 100644 --- a/doc/models/create-three-d-secure-request.md +++ b/doc/models/create-three-d-secure-request.md @@ -24,12 +24,12 @@ Creates a 3D-S authentication payment ```json { "mpi": "mpi2", - "cavv": null, - "eci": null, - "transaction_id": null, - "success_url": null, - "ds_transaction_id": null, - "version": null + "cavv": "cavv4", + "eci": "eci0", + "transaction_id": "transaction_id8", + "success_url": "success_url2", + "ds_transaction_id": "ds_transaction_id8", + "version": "version4" } ``` diff --git a/doc/models/create-transaction-report-file-request.md b/doc/models/create-transaction-report-file-request.md index a1d8fd4..32907b9 100644 --- a/doc/models/create-transaction-report-file-request.md +++ b/doc/models/create-transaction-report-file-request.md @@ -18,8 +18,8 @@ ```json { "name": "name0", - "start_at": null, - "end_at": null + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "end_at0" } ``` diff --git a/doc/models/create-transfer.md b/doc/models/create-transfer.md index 861b1e2..a0adff9 100644 --- a/doc/models/create-transfer.md +++ b/doc/models/create-transfer.md @@ -21,7 +21,11 @@ "amount": 46, "source_id": "source_id6", "target_id": "target_id0", - "metadata": null + "metadata": [ + "metadata3", + "metadata4", + "metadata5" + ] } ``` diff --git a/doc/models/create-usage-request.md b/doc/models/create-usage-request.md index f078d2c..d6a3e0e 100644 --- a/doc/models/create-usage-request.md +++ b/doc/models/create-usage-request.md @@ -25,9 +25,9 @@ Request for creating a usage "quantity": 68, "description": "description0", "used_at": "2016-03-13T12:52:32.123Z", - "code": null, - "group": null, - "amount": null + "code": "code8", + "group": "group8", + "amount": 46 } ``` diff --git a/doc/models/create-voucher-payment-request.md b/doc/models/create-voucher-payment-request.md index a178db3..2ec0960 100644 --- a/doc/models/create-voucher-payment-request.md +++ b/doc/models/create-voucher-payment-request.md @@ -21,11 +21,7 @@ The settings for creating a voucher payment ```json { - "statement_descriptor": null, - "card_id": null, - "card_token": null, - "Card": null, - "recurrency_cycle": null + "recurrency_cycle": "\"first\" or \"subsequent\"" } ``` diff --git a/doc/models/create-withdraw-request.md b/doc/models/create-withdraw-request.md index 8a19579..d15d3bb 100644 --- a/doc/models/create-withdraw-request.md +++ b/doc/models/create-withdraw-request.md @@ -17,7 +17,11 @@ ```json { "amount": 46, - "metadata": null + "metadata": { + "key0": "metadata3", + "key1": "metadata4", + "key2": "metadata5" + } } ``` diff --git a/doc/models/get-access-token-response.md b/doc/models/get-access-token-response.md index 4e33f52..7060e5b 100644 --- a/doc/models/get-access-token-response.md +++ b/doc/models/get-access-token-response.md @@ -21,11 +21,104 @@ Response object for getting a access token ```json { - "id": null, - "code": null, - "status": null, - "created_at": null, - "customer": null + "id": "id0", + "code": "code8", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id0", + "name": "name0", + "email": "email6", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document6", + "type": "type0", + "fb_access_token": "fb_access_token4", + "address": { + "id": "id6", + "street": "street6", + "number": "number4", + "complement": "complement2", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city6", + "state": "state2", + "country": "country0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id6", + "name": "name6", + "email": "email0", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document0", + "type": "type4", + "fb_access_token": "fb_access_token0", + "address": { + "id": "id2", + "street": "street2", + "number": "number0", + "complement": "complement8", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city2", + "state": "state8", + "country": "country6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata7", + "key1": "metadata6" + }, + "line_1": "line_16", + "line_2": "line_20", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "phones": { + "home_phone": { + "country_code": "country_code8", + "number": "number6", + "area_code": "area_code8" + }, + "mobile_phone": { + "country_code": "country_code2", + "number": "number4", + "area_code": "area_code8" + } + }, + "fb_id": 224, + "code": "code4", + "document_type": "document_type4" + }, + "metadata": { + "key0": "metadata3" + }, + "line_1": "line_10", + "line_2": "line_24", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 174, + "code": "code8", + "document_type": "document_type8" + } } ``` diff --git a/doc/models/get-address-response.md b/doc/models/get-address-response.md index 71d600e..78916f3 100644 --- a/doc/models/get-address-response.md +++ b/doc/models/get-address-response.md @@ -33,23 +33,120 @@ Response object for getting an Address ```json { - "id": null, - "street": null, - "number": null, - "complement": null, - "zip_code": null, - "neighborhood": null, - "city": null, - "state": null, - "country": null, - "status": null, - "created_at": null, - "updated_at": null, - "customer": null, - "metadata": null, - "line_1": null, - "line_2": null, - "deleted_at": null + "id": "id0", + "street": "street0", + "number": "number2", + "complement": "complement4", + "zip_code": "zip_code4", + "neighborhood": "neighborhood6", + "city": "city0", + "state": "state4", + "country": "country4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id0", + "name": "name0", + "email": "email6", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document6", + "type": "type0", + "fb_access_token": "fb_access_token4", + "address": { + "id": "id6", + "street": "street6", + "number": "number4", + "complement": "complement2", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city6", + "state": "state2", + "country": "country0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id6", + "name": "name6", + "email": "email0", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document0", + "type": "type4", + "fb_access_token": "fb_access_token0", + "address": { + "id": "id2", + "street": "street2", + "number": "number0", + "complement": "complement8", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city2", + "state": "state8", + "country": "country6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata7", + "key1": "metadata6" + }, + "line_1": "line_16", + "line_2": "line_20", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "phones": { + "home_phone": { + "country_code": "country_code8", + "number": "number6", + "area_code": "area_code8" + }, + "mobile_phone": { + "country_code": "country_code2", + "number": "number4", + "area_code": "area_code8" + } + }, + "fb_id": 224, + "code": "code4", + "document_type": "document_type4" + }, + "metadata": { + "key0": "metadata3" + }, + "line_1": "line_10", + "line_2": "line_24", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 174, + "code": "code8", + "document_type": "document_type8" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata4", + "key2": "metadata5" + }, + "line_1": "line_16", + "line_2": "line_28", + "deleted_at": "2016-03-13T12:52:32.123Z" } ``` diff --git a/doc/models/get-anticipation-limit-response.md b/doc/models/get-anticipation-limit-response.md index f33a4de..28ce968 100644 --- a/doc/models/get-anticipation-limit-response.md +++ b/doc/models/get-anticipation-limit-response.md @@ -18,8 +18,8 @@ Anticipation limit ```json { - "amount": null, - "anticipation_fee": null + "amount": 46, + "anticipation_fee": 140 } ``` diff --git a/doc/models/get-anticipation-limits-response.md b/doc/models/get-anticipation-limits-response.md index 098f978..25d1ce9 100644 --- a/doc/models/get-anticipation-limits-response.md +++ b/doc/models/get-anticipation-limits-response.md @@ -18,8 +18,14 @@ Anticipation limits ```json { - "max": null, - "min": null + "max": { + "amount": 140, + "anticipation_fee": 234 + }, + "min": { + "amount": 34, + "anticipation_fee": 60 + } } ``` diff --git a/doc/models/get-anticipation-response.md b/doc/models/get-anticipation-response.md index 057b4e2..61f865b 100644 --- a/doc/models/get-anticipation-response.md +++ b/doc/models/get-anticipation-response.md @@ -26,16 +26,143 @@ Anticipation ```json { - "id": null, - "requested_amount": null, - "approved_amount": null, - "recipient": null, - "pgid": null, - "created_at": null, - "updated_at": null, - "payment_date": null, - "status": null, - "timeframe": null + "id": "id0", + "requested_amount": 246, + "approved_amount": 212, + "recipient": { + "id": "id8", + "name": "name8", + "email": "email8", + "document": "document8", + "description": "description2", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id8", + "name": "name8", + "email": "email8", + "document": "document2", + "description": "description8", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata3", + "key1": "metadata2" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + { + "gateway": "gateway2", + "status": "status4", + "pgid": "pgid8", + "created_at": "created_at0", + "updated_at": "updated_at8" + }, + { + "gateway": "gateway3", + "status": "status5", + "pgid": "pgid9", + "created_at": "created_at1", + "updated_at": "updated_at9" + } + ], + "metadata": { + "key0": "metadata5", + "key1": "metadata4", + "key2": "metadata3" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 202, + "delay": 88, + "days": [ + 64 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 112 + }, + "code": "code6", + "payment_mode": "payment_mode2" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata5", + "key1": "metadata6", + "key2": "metadata7" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 16, + "delay": 18, + "days": [ + 250 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 182 + }, + "code": "code6", + "payment_mode": "payment_mode8" + }, + "pgid": "pgid4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "payment_date": "2016-03-13T12:52:32.123Z", + "status": "status8", + "timeframe": "timeframe2" } ``` diff --git a/doc/models/get-antifraud-response.md b/doc/models/get-antifraud-response.md index 0ae119b..f7b41cb 100644 --- a/doc/models/get-antifraud-response.md +++ b/doc/models/get-antifraud-response.md @@ -19,11 +19,11 @@ ```json { - "status": null, - "return_code": null, - "return_message": null, - "provider_name": null, - "score": null + "status": "status8", + "return_code": "return_code0", + "return_message": "return_message2", + "provider_name": "provider_name2", + "score": "score0" } ``` diff --git a/doc/models/get-automatic-anticipation-response.md b/doc/models/get-automatic-anticipation-response.md index 5ef7bf2..c85017f 100644 --- a/doc/models/get-automatic-anticipation-response.md +++ b/doc/models/get-automatic-anticipation-response.md @@ -19,11 +19,15 @@ ```json { - "enabled": null, - "type": null, - "volume_percentage": null, - "delay": null, - "days": null + "enabled": false, + "type": "type0", + "volume_percentage": 62, + "delay": 228, + "days": [ + 188, + 189, + 190 + ] } ``` diff --git a/doc/models/get-balance-response.md b/doc/models/get-balance-response.md index cf4bced..a5b37dd 100644 --- a/doc/models/get-balance-response.md +++ b/doc/models/get-balance-response.md @@ -21,11 +21,138 @@ Balance ```json { - "currency": null, - "available_amount": null, - "recipient": null, - "transferred_amount": null, - "waiting_funds_amount": null + "currency": "currency0", + "available_amount": 182, + "recipient": { + "id": "id8", + "name": "name8", + "email": "email8", + "document": "document8", + "description": "description2", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id8", + "name": "name8", + "email": "email8", + "document": "document2", + "description": "description8", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata3", + "key1": "metadata2" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + { + "gateway": "gateway2", + "status": "status4", + "pgid": "pgid8", + "created_at": "created_at0", + "updated_at": "updated_at8" + }, + { + "gateway": "gateway3", + "status": "status5", + "pgid": "pgid9", + "created_at": "created_at1", + "updated_at": "updated_at9" + } + ], + "metadata": { + "key0": "metadata5", + "key1": "metadata4", + "key2": "metadata3" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 202, + "delay": 88, + "days": [ + 64 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 112 + }, + "code": "code6", + "payment_mode": "payment_mode2" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata5", + "key1": "metadata6", + "key2": "metadata7" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 16, + "delay": 18, + "days": [ + 250 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 182 + }, + "code": "code6", + "payment_mode": "payment_mode8" + }, + "transferred_amount": 228, + "waiting_funds_amount": 252 } ``` diff --git a/doc/models/get-bank-account-response.md b/doc/models/get-bank-account-response.md index ddc19e6..bb5ba37 100644 --- a/doc/models/get-bank-account-response.md +++ b/doc/models/get-bank-account-response.md @@ -30,22 +30,153 @@ ```json { - "id": null, - "holder_name": null, - "holder_type": null, - "bank": null, - "branch_number": null, - "branch_check_digit": null, - "account_number": null, - "account_check_digit": null, - "type": null, - "status": null, - "created_at": null, - "updated_at": null, - "deleted_at": null, - "recipient": null, - "metadata": null, - "pix_key": null + "id": "id0", + "holder_name": "holder_name4", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id8", + "name": "name8", + "email": "email8", + "document": "document8", + "description": "description2", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id8", + "name": "name8", + "email": "email8", + "document": "document2", + "description": "description8", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata3", + "key1": "metadata2" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + { + "gateway": "gateway2", + "status": "status4", + "pgid": "pgid8", + "created_at": "created_at0", + "updated_at": "updated_at8" + }, + { + "gateway": "gateway3", + "status": "status5", + "pgid": "pgid9", + "created_at": "created_at1", + "updated_at": "updated_at9" + } + ], + "metadata": { + "key0": "metadata5", + "key1": "metadata4", + "key2": "metadata3" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 202, + "delay": 88, + "days": [ + 64 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 112 + }, + "code": "code6", + "payment_mode": "payment_mode2" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata5", + "key1": "metadata6", + "key2": "metadata7" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 16, + "delay": 18, + "days": [ + 250 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 182 + }, + "code": "code6", + "payment_mode": "payment_mode8" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata4", + "key2": "metadata5" + }, + "pix_key": "pix_key6" } ``` diff --git a/doc/models/get-bank-transfer-transaction-response.md b/doc/models/get-bank-transfer-transaction-response.md index fff7a55..2133c6d 100644 --- a/doc/models/get-bank-transfer-transaction-response.md +++ b/doc/models/get-bank-transfer-transaction-response.md @@ -25,30 +25,619 @@ Response object for getting a bank transfer transaction ```json { - "gateway_id": null, - "amount": null, - "status": null, - "success": null, - "created_at": null, - "updated_at": null, - "attempt_count": null, - "max_attempts": null, - "splits": null, - "next_attempt": null, + "gateway_id": "gateway_id2", + "amount": 244, + "status": "status0", + "success": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 36, + "max_attempts": 208, + "splits": [ + { + "type": "type8", + "amount": 136, + "recipient": { + "id": "id6", + "name": "name6", + "email": "email0", + "document": "document0", + "description": "description4", + "type": "type4", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id4", + "holder_name": "holder_name0", + "holder_type": "holder_type6", + "bank": "bank2", + "branch_number": "branch_number0", + "branch_check_digit": "branch_check_digit0", + "account_number": "account_number4", + "account_check_digit": "account_check_digit0", + "type": "type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id6", + "name": "name6", + "email": "email0", + "document": "document0", + "description": "description6", + "type": "type4", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id4", + "holder_name": "holder_name0", + "holder_type": "holder_type6", + "bank": "bank2", + "branch_number": "branch_number0", + "branch_check_digit": "branch_check_digit0", + "account_number": "account_number4", + "account_check_digit": "account_check_digit0", + "type": "type4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata1", + "key1": "metadata0" + }, + "pix_key": "pix_key8" + }, + "gateway_recipients": [ + { + "gateway": "gateway0", + "status": "status2", + "pgid": "pgid6", + "created_at": "created_at8", + "updated_at": "updated_at6" + }, + { + "gateway": "gateway1", + "status": "status3", + "pgid": "pgid7", + "created_at": "created_at9", + "updated_at": "updated_at7" + }, + { + "gateway": "gateway2", + "status": "status4", + "pgid": "pgid8", + "created_at": "created_at0", + "updated_at": "updated_at8" + } + ], + "metadata": { + "key0": "metadata7", + "key1": "metadata8" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type0", + "volume_percentage": 128, + "delay": 162, + "days": [ + 138, + 139 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval8", + "transfer_day": 38 + }, + "code": "code4", + "payment_mode": "payment_mode0" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata0" + }, + "pix_key": "pix_key2" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata7", + "key1": "metadata8" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type0", + "volume_percentage": 198, + "delay": 92, + "days": [ + 68, + 69 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval8", + "transfer_day": 108 + }, + "code": "code4", + "payment_mode": "payment_mode0" + }, + "gateway_id": "gateway_id8", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee8" + }, + "id": "id2" + } + ], + "next_attempt": "2016-03-13T12:52:32.123Z", "transaction_type": "bank_transfer", - "id": null, - "gateway_response": null, - "antifraud_response": null, - "metadata": null, - "split": null, - "interest": null, - "fine": null, - "max_days_to_pay_past_due": null, - "url": null, - "bank_tid": null, - "bank": null, - "paid_at": null, - "paid_amount": null + "id": "id8", + "gateway_response": { + "code": "code8", + "errors": [ + { + "message": "message5" + }, + { + "message": "message6" + } + ] + }, + "antifraud_response": { + "status": "status8", + "return_code": "return_code6", + "return_message": "return_message6", + "provider_name": "provider_name6", + "score": "score6" + }, + "metadata": { + "key0": "metadata5", + "key1": "metadata6" + }, + "split": [ + { + "type": "type4", + "amount": 190, + "recipient": { + "id": "id8", + "name": "name8", + "email": "email8", + "document": "document8", + "description": "description2", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id8", + "name": "name8", + "email": "email8", + "document": "document8", + "description": "description8", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata3", + "key1": "metadata2" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + { + "gateway": "gateway2", + "status": "status4", + "pgid": "pgid8", + "created_at": "created_at0", + "updated_at": "updated_at8" + }, + { + "gateway": "gateway3", + "status": "status5", + "pgid": "pgid9", + "created_at": "created_at1", + "updated_at": "updated_at9" + }, + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + } + ], + "metadata": { + "key0": "metadata5", + "key1": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 134, + "delay": 156, + "days": [ + 132, + 133 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 44 + }, + "code": "code6", + "payment_mode": "payment_mode2" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata5", + "key1": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 204, + "delay": 86, + "days": [ + 62, + 63 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 114 + }, + "code": "code6", + "payment_mode": "payment_mode8" + }, + "gateway_id": "gateway_id4", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee2" + }, + "id": "id6" + }, + { + "type": "type3", + "amount": 191, + "recipient": { + "id": "id9", + "name": "name9", + "email": "email7", + "document": "document7", + "description": "description1", + "type": "type1", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type3", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id9", + "name": "name9", + "email": "email7", + "document": "document7", + "description": "description9", + "type": "type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata4" + }, + "pix_key": "pix_key1" + }, + "gateway_recipients": [ + { + "gateway": "gateway3", + "status": "status5", + "pgid": "pgid9", + "created_at": "created_at1", + "updated_at": "updated_at9" + } + ], + "metadata": { + "key0": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type7", + "volume_percentage": 133, + "delay": 157, + "days": [ + 133, + 134, + 135 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 43 + }, + "code": "code7", + "payment_mode": "payment_mode3" + }, + "metadata": { + "key0": "metadata4" + }, + "pix_key": "pix_key9" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type7", + "volume_percentage": 203, + "delay": 87, + "days": [ + 63, + 64, + 65 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 113 + }, + "code": "code7", + "payment_mode": "payment_mode7" + }, + "gateway_id": "gateway_id3", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee3" + }, + "id": "id7" + }, + { + "type": "type2", + "amount": 192, + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document6", + "description": "description0", + "type": "type0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document6", + "description": "description0", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata4", + "key2": "metadata3" + }, + "pix_key": "pix_key2" + }, + "gateway_recipients": [ + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + }, + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + } + ], + "metadata": { + "key0": "metadata3", + "key1": "metadata4", + "key2": "metadata5" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 132, + "delay": 158, + "days": [ + 134 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 42 + }, + "code": "code8", + "payment_mode": "payment_mode4" + }, + "metadata": { + "key0": "metadata5", + "key1": "metadata4", + "key2": "metadata3" + }, + "pix_key": "pix_key8" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata3", + "key1": "metadata4", + "key2": "metadata5" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 202, + "delay": 88, + "days": [ + 64 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 112 + }, + "code": "code8", + "payment_mode": "payment_mode6" + }, + "gateway_id": "gateway_id2", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee4" + }, + "id": "id8" + } + ], + "interest": { + "days": 122, + "type": "type8", + "amount": 196 + }, + "fine": { + "days": 168, + "type": "type0", + "amount": 242 + }, + "max_days_to_pay_past_due": 156, + "url": "url4", + "bank_tid": "bank_tid4", + "bank": "bank8", + "paid_at": "2016-03-13T12:52:32.123Z", + "paid_amount": 210 } ``` diff --git a/doc/models/get-billing-address-response.md b/doc/models/get-billing-address-response.md index 6cd5eb1..ebbd7b9 100644 --- a/doc/models/get-billing-address-response.md +++ b/doc/models/get-billing-address-response.md @@ -26,16 +26,16 @@ Response object for getting a billing address ```json { - "street": null, - "number": null, - "zip_code": null, - "neighborhood": null, - "city": null, - "state": null, - "country": null, - "complement": null, - "line_1": null, - "line_2": null + "street": "street0", + "number": "number2", + "zip_code": "zip_code4", + "neighborhood": "neighborhood6", + "city": "city0", + "state": "state4", + "country": "country4", + "complement": "complement4", + "line_1": "line_16", + "line_2": "line_28" } ``` diff --git a/doc/models/get-boleto-transaction-response.md b/doc/models/get-boleto-transaction-response.md index 9afe453..235577e 100644 --- a/doc/models/get-boleto-transaction-response.md +++ b/doc/models/get-boleto-transaction-response.md @@ -37,42 +37,640 @@ Response object for getting a boleto transaction ```json { - "gateway_id": null, - "amount": null, - "status": null, - "success": null, - "created_at": null, - "updated_at": null, - "attempt_count": null, - "max_attempts": null, - "splits": null, - "next_attempt": null, + "gateway_id": "gateway_id4", + "amount": 250, + "status": "status2", + "success": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 30, + "max_attempts": 214, + "splits": [ + { + "type": "type0", + "amount": 114, + "recipient": { + "id": "id8", + "name": "name8", + "email": "email8", + "document": "document8", + "description": "description2", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id8", + "name": "name8", + "email": "email8", + "document": "document8", + "description": "description8", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata3" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + { + "gateway": "gateway2", + "status": "status4", + "pgid": "pgid8", + "created_at": "created_at0", + "updated_at": "updated_at8" + } + ], + "metadata": { + "key0": "metadata5" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 134, + "delay": 156, + "days": [ + 132, + 133, + 134 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 44 + }, + "code": "code6", + "payment_mode": "payment_mode2" + }, + "metadata": { + "key0": "metadata3" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata5" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 204, + "delay": 86, + "days": [ + 62, + 63, + 64 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 114 + }, + "code": "code6", + "payment_mode": "payment_mode8" + }, + "gateway_id": "gateway_id0", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee0" + }, + "id": "id0" + }, + { + "type": "type1", + "amount": 115, + "recipient": { + "id": "id9", + "name": "name9", + "email": "email7", + "document": "document7", + "description": "description1", + "type": "type1", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type3", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id9", + "name": "name9", + "email": "email7", + "document": "document7", + "description": "description9", + "type": "type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata4", + "key1": "metadata3", + "key2": "metadata2" + }, + "pix_key": "pix_key1" + }, + "gateway_recipients": [ + { + "gateway": "gateway3", + "status": "status5", + "pgid": "pgid9", + "created_at": "created_at1", + "updated_at": "updated_at9" + }, + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + } + ], + "metadata": { + "key0": "metadata4", + "key1": "metadata5", + "key2": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type7", + "volume_percentage": 133, + "delay": 157, + "days": [ + 133 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 43 + }, + "code": "code7", + "payment_mode": "payment_mode3" + }, + "metadata": { + "key0": "metadata4", + "key1": "metadata3", + "key2": "metadata2" + }, + "pix_key": "pix_key9" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata4", + "key1": "metadata5", + "key2": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type7", + "volume_percentage": 203, + "delay": 87, + "days": [ + 63 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 113 + }, + "code": "code7", + "payment_mode": "payment_mode7" + }, + "gateway_id": "gateway_id1", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee1" + }, + "id": "id9" + } + ], + "next_attempt": "2016-03-13T12:52:32.123Z", "transaction_type": "boleto", - "id": null, - "gateway_response": null, - "antifraud_response": null, - "metadata": null, - "split": null, - "interest": null, - "fine": null, - "max_days_to_pay_past_due": null, - "url": null, - "barcode": null, - "nosso_numero": null, - "bank": null, - "document_number": null, - "instructions": null, - "billing_address": null, - "due_at": null, - "qr_code": null, - "line": null, - "pdf_password": null, - "pdf": null, - "paid_at": null, - "paid_amount": null, - "type": null, - "credit_at": null, - "statement_descriptor": null + "id": "id6", + "gateway_response": { + "code": "code0", + "errors": [ + { + "message": "message7" + }, + { + "message": "message8" + }, + { + "message": "message9" + } + ] + }, + "antifraud_response": { + "status": "status6", + "return_code": "return_code4", + "return_message": "return_message8", + "provider_name": "provider_name8", + "score": "score4" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata8", + "key2": "metadata9" + }, + "split": [ + { + "type": "type6", + "amount": 196, + "recipient": { + "id": "id6", + "name": "name6", + "email": "email0", + "document": "document0", + "description": "description4", + "type": "type4", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id4", + "holder_name": "holder_name0", + "holder_type": "holder_type6", + "bank": "bank2", + "branch_number": "branch_number0", + "branch_check_digit": "branch_check_digit0", + "account_number": "account_number4", + "account_check_digit": "account_check_digit0", + "type": "type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id6", + "name": "name6", + "email": "email0", + "document": "document0", + "description": "description6", + "type": "type4", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id4", + "holder_name": "holder_name0", + "holder_type": "holder_type6", + "bank": "bank2", + "branch_number": "branch_number0", + "branch_check_digit": "branch_check_digit0", + "account_number": "account_number4", + "account_check_digit": "account_check_digit0", + "type": "type4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "pix_key": "pix_key2" + }, + "gateway_recipients": [ + { + "gateway": "gateway0", + "status": "status2", + "pgid": "pgid6", + "created_at": "created_at8", + "updated_at": "updated_at6" + }, + { + "gateway": "gateway1", + "status": "status3", + "pgid": "pgid7", + "created_at": "created_at9", + "updated_at": "updated_at7" + } + ], + "metadata": { + "key0": "metadata7", + "key1": "metadata8", + "key2": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type0", + "volume_percentage": 128, + "delay": 162, + "days": [ + 138 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval8", + "transfer_day": 38 + }, + "code": "code4", + "payment_mode": "payment_mode0" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "pix_key": "pix_key2" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata7", + "key1": "metadata8", + "key2": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type0", + "volume_percentage": 198, + "delay": 92, + "days": [ + 68 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval8", + "transfer_day": 108 + }, + "code": "code4", + "payment_mode": "payment_mode0" + }, + "gateway_id": "gateway_id6", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee6" + }, + "id": "id4" + }, + { + "type": "type5", + "amount": 197, + "recipient": { + "id": "id7", + "name": "name7", + "email": "email9", + "document": "document9", + "description": "description3", + "type": "type3", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id5", + "holder_name": "holder_name1", + "holder_type": "holder_type7", + "bank": "bank3", + "branch_number": "branch_number1", + "branch_check_digit": "branch_check_digit1", + "account_number": "account_number5", + "account_check_digit": "account_check_digit1", + "type": "type5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id7", + "name": "name7", + "email": "email9", + "document": "document9", + "description": "description7", + "type": "type3", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id5", + "holder_name": "holder_name1", + "holder_type": "holder_type7", + "bank": "bank3", + "branch_number": "branch_number1", + "branch_check_digit": "branch_check_digit1", + "account_number": "account_number5", + "account_check_digit": "account_check_digit1", + "type": "type5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata2", + "key1": "metadata1" + }, + "pix_key": "pix_key1" + }, + "gateway_recipients": [ + { + "gateway": "gateway1", + "status": "status3", + "pgid": "pgid7", + "created_at": "created_at9", + "updated_at": "updated_at7" + }, + { + "gateway": "gateway2", + "status": "status4", + "pgid": "pgid8", + "created_at": "created_at0", + "updated_at": "updated_at8" + }, + { + "gateway": "gateway3", + "status": "status5", + "pgid": "pgid9", + "created_at": "created_at1", + "updated_at": "updated_at9" + } + ], + "metadata": { + "key0": "metadata6", + "key1": "metadata7" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type9", + "volume_percentage": 127, + "delay": 163, + "days": [ + 139, + 140 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval7", + "transfer_day": 37 + }, + "code": "code5", + "payment_mode": "payment_mode1" + }, + "metadata": { + "key0": "metadata2", + "key1": "metadata1" + }, + "pix_key": "pix_key1" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata6", + "key1": "metadata7" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type9", + "volume_percentage": 197, + "delay": 93, + "days": [ + 69, + 70 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval7", + "transfer_day": 107 + }, + "code": "code5", + "payment_mode": "payment_mode9" + }, + "gateway_id": "gateway_id5", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee5" + }, + "id": "id5" + } + ], + "interest": { + "days": 116, + "type": "type6", + "amount": 190 + }, + "fine": { + "days": 174, + "type": "type2", + "amount": 248 + }, + "max_days_to_pay_past_due": 162, + "url": "url4", + "barcode": "barcode0", + "nosso_numero": "nosso_numero0", + "bank": "bank8", + "document_number": "document_number6", + "instructions": "instructions2", + "billing_address": { + "street": "street8", + "number": "number4", + "zip_code": "zip_code2", + "neighborhood": "neighborhood4", + "city": "city2", + "state": "state6", + "country": "country2", + "complement": "complement6", + "line_1": "line_18", + "line_2": "line_26" + }, + "due_at": "2016-03-13T12:52:32.123Z", + "qr_code": "qr_code6", + "line": "line2", + "pdf_password": "pdf_password8", + "pdf": "pdf0", + "paid_at": "2016-03-13T12:52:32.123Z", + "paid_amount": "paid_amount8", + "type": "type0", + "credit_at": "2016-03-13T12:52:32.123Z", + "statement_descriptor": "statement_descriptor0" } ``` diff --git a/doc/models/get-card-response.md b/doc/models/get-card-response.md index 044555b..7ba5d98 100644 --- a/doc/models/get-card-response.md +++ b/doc/models/get-card-response.md @@ -33,23 +33,131 @@ Response object for getting a credit card ```json { - "id": null, - "last_four_digits": null, - "brand": null, - "holder_name": null, - "exp_month": null, - "exp_year": null, - "status": null, - "created_at": null, - "updated_at": null, - "billing_address": null, - "customer": null, - "metadata": null, - "type": null, - "holder_document": null, - "deleted_at": null, - "first_six_digits": null, - "label": null + "id": "id0", + "last_four_digits": "last_four_digits6", + "brand": "brand4", + "holder_name": "holder_name4", + "exp_month": 42, + "exp_year": 254, + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street8", + "number": "number4", + "zip_code": "zip_code2", + "neighborhood": "neighborhood4", + "city": "city2", + "state": "state6", + "country": "country2", + "complement": "complement6", + "line_1": "line_18", + "line_2": "line_26" + }, + "customer": { + "id": "id0", + "name": "name0", + "email": "email6", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document6", + "type": "type0", + "fb_access_token": "fb_access_token4", + "address": { + "id": "id6", + "street": "street6", + "number": "number4", + "complement": "complement2", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city6", + "state": "state2", + "country": "country0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id6", + "name": "name6", + "email": "email0", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document0", + "type": "type4", + "fb_access_token": "fb_access_token0", + "address": { + "id": "id2", + "street": "street2", + "number": "number0", + "complement": "complement8", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city2", + "state": "state8", + "country": "country6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata7", + "key1": "metadata6" + }, + "line_1": "line_16", + "line_2": "line_20", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "phones": { + "home_phone": { + "country_code": "country_code8", + "number": "number6", + "area_code": "area_code8" + }, + "mobile_phone": { + "country_code": "country_code2", + "number": "number4", + "area_code": "area_code8" + } + }, + "fb_id": 224, + "code": "code4", + "document_type": "document_type4" + }, + "metadata": { + "key0": "metadata3" + }, + "line_1": "line_10", + "line_2": "line_24", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 174, + "code": "code8", + "document_type": "document_type8" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata4", + "key2": "metadata5" + }, + "type": "type0", + "holder_document": "holder_document6", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits0", + "label": "label0" } ``` diff --git a/doc/models/get-card-token-response.md b/doc/models/get-card-token-response.md index f2111ca..5ef6574 100644 --- a/doc/models/get-card-token-response.md +++ b/doc/models/get-card-token-response.md @@ -24,14 +24,14 @@ Card token data ```json { - "last_four_digits": null, - "holder_name": null, - "holder_document": null, - "exp_month": null, - "exp_year": null, - "brand": null, - "type": null, - "label": null + "last_four_digits": "last_four_digits6", + "holder_name": "holder_name4", + "holder_document": "holder_document6", + "exp_month": 42, + "exp_year": 254, + "brand": "brand4", + "type": "type0", + "label": "label0" } ``` diff --git a/doc/models/get-cash-transaction-response.md b/doc/models/get-cash-transaction-response.md index a528a01..610a43f 100644 --- a/doc/models/get-cash-transaction-response.md +++ b/doc/models/get-cash-transaction-response.md @@ -21,26 +21,759 @@ Response object for getting a cash transaction ```json { - "gateway_id": null, - "amount": null, - "status": null, - "success": null, - "created_at": null, - "updated_at": null, - "attempt_count": null, - "max_attempts": null, - "splits": null, - "next_attempt": null, + "gateway_id": "gateway_id0", + "amount": 226, + "status": "status2", + "success": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 202, + "max_attempts": 190, + "splits": [ + { + "type": "type8", + "amount": 158, + "recipient": { + "id": "id6", + "name": "name6", + "email": "email0", + "document": "document0", + "description": "description4", + "type": "type4", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id4", + "holder_name": "holder_name0", + "holder_type": "holder_type6", + "bank": "bank2", + "branch_number": "branch_number0", + "branch_check_digit": "branch_check_digit0", + "account_number": "account_number4", + "account_check_digit": "account_check_digit0", + "type": "type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id6", + "name": "name6", + "email": "email0", + "document": "document0", + "description": "description6", + "type": "type4", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id4", + "holder_name": "holder_name0", + "holder_type": "holder_type6", + "bank": "bank2", + "branch_number": "branch_number0", + "branch_check_digit": "branch_check_digit0", + "account_number": "account_number4", + "account_check_digit": "account_check_digit0", + "type": "type4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "pix_key": "pix_key2" + }, + "gateway_recipients": [ + { + "gateway": "gateway0", + "status": "status2", + "pgid": "pgid6", + "created_at": "created_at8", + "updated_at": "updated_at6" + }, + { + "gateway": "gateway1", + "status": "status3", + "pgid": "pgid7", + "created_at": "created_at9", + "updated_at": "updated_at7" + } + ], + "metadata": { + "key0": "metadata7", + "key1": "metadata8", + "key2": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type0", + "volume_percentage": 150, + "delay": 140, + "days": [ + 116 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval8", + "transfer_day": 60 + }, + "code": "code4", + "payment_mode": "payment_mode0" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "pix_key": "pix_key2" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata7", + "key1": "metadata8", + "key2": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type0", + "volume_percentage": 220, + "delay": 70, + "days": [ + 46 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval8", + "transfer_day": 130 + }, + "code": "code4", + "payment_mode": "payment_mode0" + }, + "gateway_id": "gateway_id8", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee8" + }, + "id": "id2" + }, + { + "type": "type7", + "amount": 159, + "recipient": { + "id": "id5", + "name": "name5", + "email": "email1", + "document": "document1", + "description": "description5", + "type": "type5", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id3", + "holder_name": "holder_name9", + "holder_type": "holder_type5", + "bank": "bank1", + "branch_number": "branch_number9", + "branch_check_digit": "branch_check_digit9", + "account_number": "account_number3", + "account_check_digit": "account_check_digit9", + "type": "type7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id5", + "name": "name5", + "email": "email1", + "document": "document1", + "description": "description5", + "type": "type5", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id3", + "holder_name": "holder_name9", + "holder_type": "holder_type5", + "bank": "bank1", + "branch_number": "branch_number9", + "branch_check_digit": "branch_check_digit9", + "account_number": "account_number3", + "account_check_digit": "account_check_digit9", + "type": "type3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata0" + }, + "pix_key": "pix_key3" + }, + "gateway_recipients": [ + { + "gateway": "gateway9", + "status": "status1", + "pgid": "pgid5", + "created_at": "created_at7", + "updated_at": "updated_at5" + } + ], + "metadata": { + "key0": "metadata8" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type1", + "volume_percentage": 151, + "delay": 139, + "days": [ + 115, + 116, + 117 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval9", + "transfer_day": 61 + }, + "code": "code3", + "payment_mode": "payment_mode9" + }, + "metadata": { + "key0": "metadata0" + }, + "pix_key": "pix_key3" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata8" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type1", + "volume_percentage": 221, + "delay": 69, + "days": [ + 45, + 46, + 47 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval9", + "transfer_day": 131 + }, + "code": "code3", + "payment_mode": "payment_mode1" + }, + "gateway_id": "gateway_id7", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee7" + }, + "id": "id3" + }, + { + "type": "type6", + "amount": 160, + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document2", + "description": "description6", + "type": "type6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type8", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document2", + "description": "description4", + "type": "type6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + { + "gateway": "gateway8", + "status": "status0", + "pgid": "pgid4", + "created_at": "created_at6", + "updated_at": "updated_at4" + }, + { + "gateway": "gateway9", + "status": "status1", + "pgid": "pgid5", + "created_at": "created_at7", + "updated_at": "updated_at5" + }, + { + "gateway": "gateway0", + "status": "status2", + "pgid": "pgid6", + "created_at": "created_at8", + "updated_at": "updated_at6" + } + ], + "metadata": { + "key0": "metadata9", + "key1": "metadata0" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 152, + "delay": 138, + "days": [ + 114, + 115 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 62 + }, + "code": "code2", + "payment_mode": "payment_mode8" + }, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata9", + "key1": "metadata0" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 222, + "delay": 68, + "days": [ + 44, + 45 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 132 + }, + "code": "code2", + "payment_mode": "payment_mode2" + }, + "gateway_id": "gateway_id6", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee6" + }, + "id": "id4" + } + ], + "next_attempt": "2016-03-13T12:52:32.123Z", "transaction_type": "cash", - "id": null, - "gateway_response": null, - "antifraud_response": null, - "metadata": null, - "split": null, - "interest": null, - "fine": null, - "max_days_to_pay_past_due": null, - "description": null + "id": "id0", + "gateway_response": { + "code": "code0", + "errors": [ + { + "message": "message7" + }, + { + "message": "message8" + }, + { + "message": "message9" + } + ] + }, + "antifraud_response": { + "status": "status0", + "return_code": "return_code8", + "return_message": "return_message6", + "provider_name": "provider_name6", + "score": "score8" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata6", + "key2": "metadata5" + }, + "split": [ + { + "type": "type2", + "amount": 172, + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document4", + "description": "description0", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document4", + "description": "description0", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata1", + "key1": "metadata0" + }, + "pix_key": "pix_key2" + }, + "gateway_recipients": [ + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + }, + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + } + ], + "metadata": { + "key0": "metadata7", + "key1": "metadata6", + "key2": "metadata5" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 152, + "delay": 138, + "days": [ + 114 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 62 + }, + "code": "code8", + "payment_mode": "payment_mode4" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata0" + }, + "pix_key": "pix_key2" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata7", + "key1": "metadata6", + "key2": "metadata5" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 222, + "delay": 68, + "days": [ + 44 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 132 + }, + "code": "code8", + "payment_mode": "payment_mode4" + }, + "gateway_id": "gateway_id2", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee4" + }, + "id": "id8" + }, + { + "type": "type1", + "amount": 173, + "recipient": { + "id": "id1", + "name": "name1", + "email": "email5", + "document": "document5", + "description": "description1", + "type": "type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id9", + "holder_name": "holder_name5", + "holder_type": "holder_type1", + "bank": "bank7", + "branch_number": "branch_number5", + "branch_check_digit": "branch_check_digit5", + "account_number": "account_number9", + "account_check_digit": "account_check_digit5", + "type": "type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id1", + "name": "name1", + "email": "email5", + "document": "document5", + "description": "description1", + "type": "type1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id9", + "holder_name": "holder_name5", + "holder_type": "holder_type1", + "bank": "bank7", + "branch_number": "branch_number5", + "branch_check_digit": "branch_check_digit5", + "account_number": "account_number9", + "account_check_digit": "account_check_digit5", + "type": "type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata0", + "key1": "metadata9", + "key2": "metadata8" + }, + "pix_key": "pix_key3" + }, + "gateway_recipients": [ + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + }, + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + }, + { + "gateway": "gateway7", + "status": "status9", + "pgid": "pgid3", + "created_at": "created_at5", + "updated_at": "updated_at3" + } + ], + "metadata": { + "key0": "metadata8", + "key1": "metadata7" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type5", + "volume_percentage": 151, + "delay": 139, + "days": [ + 115, + 116 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval3", + "transfer_day": 61 + }, + "code": "code9", + "payment_mode": "payment_mode5" + }, + "metadata": { + "key0": "metadata0", + "key1": "metadata9", + "key2": "metadata8" + }, + "pix_key": "pix_key3" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata8", + "key1": "metadata7" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type5", + "volume_percentage": 221, + "delay": 69, + "days": [ + 45, + 46 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval3", + "transfer_day": 131 + }, + "code": "code9", + "payment_mode": "payment_mode5" + }, + "gateway_id": "gateway_id1", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee5" + }, + "id": "id9" + } + ], + "interest": { + "days": 140, + "type": "type0", + "amount": 214 + }, + "fine": { + "days": 150, + "type": "type8", + "amount": 224 + }, + "max_days_to_pay_past_due": 138, + "description": "description0" } ``` diff --git a/doc/models/get-charge-response.md b/doc/models/get-charge-response.md index a8ad760..10a6c07 100644 --- a/doc/models/get-charge-response.md +++ b/doc/models/get-charge-response.md @@ -37,27 +37,7 @@ Response object for getting a charge ```json { - "id": null, - "code": null, - "gateway_id": null, - "amount": null, - "status": null, - "currency": null, - "payment_method": null, - "due_at": null, - "created_at": null, - "updated_at": null, - "last_transaction": null, - "invoice": null, - "order": null, - "customer": null, - "metadata": null, - "paid_at": null, - "canceled_at": null, - "canceled_amount": null, - "paid_amount": null, - "interest_and_fine_paid": null, - "recurrency_cycle": null + "recurrency_cycle": "\"first\" or \"subsequent\"" } ``` diff --git a/doc/models/get-charges-summary-response.md b/doc/models/get-charges-summary-response.md index e335068..14f1fb9 100644 --- a/doc/models/get-charges-summary-response.md +++ b/doc/models/get-charges-summary-response.md @@ -15,7 +15,7 @@ ```json { - "total": null + "total": 10 } ``` diff --git a/doc/models/get-checkout-bank-transfer-payment-response.md b/doc/models/get-checkout-bank-transfer-payment-response.md index 3842ebf..283cdb1 100644 --- a/doc/models/get-checkout-bank-transfer-payment-response.md +++ b/doc/models/get-checkout-bank-transfer-payment-response.md @@ -17,7 +17,9 @@ Bank transfer checkout response ```json { - "bank": null + "bank": [ + "bank7" + ] } ``` diff --git a/doc/models/get-checkout-boleto-payment-response.md b/doc/models/get-checkout-boleto-payment-response.md index 565c3f3..25e2eda 100644 --- a/doc/models/get-checkout-boleto-payment-response.md +++ b/doc/models/get-checkout-boleto-payment-response.md @@ -16,8 +16,8 @@ ```json { - "due_at": null, - "instructions": null + "due_at": "2016-03-13T12:52:32.123Z", + "instructions": "instructions2" } ``` diff --git a/doc/models/get-checkout-credit-card-payment-response.md b/doc/models/get-checkout-credit-card-payment-response.md index d849729..559aed5 100644 --- a/doc/models/get-checkout-credit-card-payment-response.md +++ b/doc/models/get-checkout-credit-card-payment-response.md @@ -17,9 +17,31 @@ ```json { - "statementDescriptor": null, - "installments": null, - "authentication": null + "statementDescriptor": "statementDescriptor6", + "installments": [ + { + "number": "number3", + "total": 109 + }, + { + "number": "number4", + "total": 110 + }, + { + "number": "number5", + "total": 111 + } + ], + "authentication": { + "type": "type2", + "threed_secure": { + "mpi": "mpi6", + "eci": "eci6", + "cavv": "cavv2", + "transaction_Id": "transaction_Id8", + "success_url": "success_url8" + } + } } ``` diff --git a/doc/models/get-checkout-debit-card-payment-response.md b/doc/models/get-checkout-debit-card-payment-response.md index d5998e3..441856d 100644 --- a/doc/models/get-checkout-debit-card-payment-response.md +++ b/doc/models/get-checkout-debit-card-payment-response.md @@ -16,8 +16,17 @@ ```json { - "statement_descriptor": null, - "authentication": null + "statement_descriptor": "statement_descriptor0", + "authentication": { + "type": "type2", + "threed_secure": { + "mpi": "mpi6", + "eci": "eci6", + "cavv": "cavv2", + "transaction_Id": "transaction_Id8", + "success_url": "success_url8" + } + } } ``` diff --git a/doc/models/get-checkout-payment-response.md b/doc/models/get-checkout-payment-response.md index 9d12003..edb89e0 100644 --- a/doc/models/get-checkout-payment-response.md +++ b/doc/models/get-checkout-payment-response.md @@ -43,33 +43,386 @@ Resposta das configurações de pagamento do checkout ```json { - "id": null, - "amount": null, - "default_payment_method": null, - "success_url": null, - "payment_url": null, - "gateway_affiliation_id": null, - "accepted_payment_methods": null, - "status": null, - "skip_checkout_success_page": null, - "created_at": null, - "updated_at": null, - "canceled_at": null, - "customer_editable": null, - "customer": null, - "billingaddress": null, - "credit_card": null, - "boleto": null, - "billing_address_editable": null, - "shipping": null, - "shippable": null, - "closed_at": null, - "expires_at": null, - "currency": null, - "debit_card": null, - "bank_transfer": null, - "accepted_brands": null, - "pix": null + "id": "id0", + "amount": 46, + "default_payment_method": "default_payment_method0", + "success_url": "success_url2", + "payment_url": "payment_url6", + "gateway_affiliation_id": "gateway_affiliation_id4", + "accepted_payment_methods": [ + "accepted_payment_methods3", + "accepted_payment_methods4", + "accepted_payment_methods5" + ], + "status": "status8", + "skip_checkout_success_page": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "customer_editable": false, + "customer": { + "id": "id0", + "name": "name0", + "email": "email6", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document6", + "type": "type0", + "fb_access_token": "fb_access_token4", + "address": { + "id": "id6", + "street": "street6", + "number": "number4", + "complement": "complement2", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city6", + "state": "state2", + "country": "country0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id6", + "name": "name6", + "email": "email0", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document0", + "type": "type4", + "fb_access_token": "fb_access_token0", + "address": { + "id": "id2", + "street": "street2", + "number": "number0", + "complement": "complement8", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city2", + "state": "state8", + "country": "country6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata7", + "key1": "metadata6" + }, + "line_1": "line_16", + "line_2": "line_20", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "phones": { + "home_phone": { + "country_code": "country_code8", + "number": "number6", + "area_code": "area_code8" + }, + "mobile_phone": { + "country_code": "country_code2", + "number": "number4", + "area_code": "area_code8" + } + }, + "fb_id": 224, + "code": "code4", + "document_type": "document_type4" + }, + "metadata": { + "key0": "metadata3" + }, + "line_1": "line_10", + "line_2": "line_24", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 174, + "code": "code8", + "document_type": "document_type8" + }, + "billingaddress": { + "id": "id8", + "street": "street8", + "number": "number6", + "complement": "complement4", + "zip_code": "zip_code2", + "neighborhood": "neighborhood4", + "city": "city8", + "state": "state4", + "country": "country2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id8", + "name": "name8", + "email": "email8", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document8", + "type": "type2", + "fb_access_token": "fb_access_token2", + "address": { + "id": "id4", + "street": "street4", + "number": "number2", + "complement": "complement0", + "zip_code": "zip_code8", + "neighborhood": "neighborhood0", + "city": "city4", + "state": "state0", + "country": "country8", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id4", + "name": "name4", + "email": "email2", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document8", + "type": "type4", + "fb_access_token": "fb_access_token8", + "address": {}, + "metadata": { + "key0": "metadata1", + "key1": "metadata0" + }, + "phones": { + "home_phone": { + "country_code": "country_code6", + "number": "number4", + "area_code": "area_code6" + }, + "mobile_phone": { + "country_code": "country_code6", + "number": "number6", + "area_code": "area_code6" + } + }, + "fb_id": 118, + "code": "code2", + "document_type": "document_type2" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "line_1": "line_18", + "line_2": "line_22", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata5", + "key1": "metadata6", + "key2": "metadata7" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 68, + "code": "code6", + "document_type": "document_type6" + }, + "metadata": { + "key0": "metadata5" + }, + "line_1": "line_18", + "line_2": "line_26", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "credit_card": { + "statementDescriptor": "statementDescriptor4", + "installments": [ + { + "number": "number1", + "total": 167 + } + ], + "authentication": { + "type": "type0", + "threed_secure": { + "mpi": "mpi0", + "eci": "eci2", + "cavv": "cavv8", + "transaction_Id": "transaction_Id2", + "success_url": "success_url4" + } + } + }, + "boleto": { + "due_at": "2016-03-13T12:52:32.123Z", + "instructions": "instructions2" + }, + "billing_address_editable": false, + "shipping": { + "amount": 52, + "description": "description6", + "recipient_name": "recipient_name2", + "recipient_phone": "recipient_phone6", + "address": { + "id": "id0", + "street": "street0", + "number": "number8", + "complement": "complement6", + "zip_code": "zip_code4", + "neighborhood": "neighborhood6", + "city": "city0", + "state": "state6", + "country": "country4", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id0", + "name": "name0", + "email": "email6", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document4", + "type": "type0", + "fb_access_token": "fb_access_token4", + "address": { + "id": "id6", + "street": "street6", + "number": "number4", + "complement": "complement2", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city6", + "state": "state2", + "country": "country0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id6", + "name": "name6", + "email": "email0", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document0", + "type": "type6", + "fb_access_token": "fb_access_token0", + "address": {}, + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "phones": { + "home_phone": { + "country_code": "country_code8", + "number": "number6", + "area_code": "area_code8" + }, + "mobile_phone": { + "country_code": "country_code8", + "number": "number6", + "area_code": "area_code8" + } + }, + "fb_id": 150, + "code": "code4", + "document_type": "document_type4" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2" + }, + "line_1": "line_10", + "line_2": "line_24", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata6", + "key2": "metadata5" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 100, + "code": "code8", + "document_type": "document_type8" + }, + "metadata": { + "key0": "metadata7" + }, + "line_1": "line_14", + "line_2": "line_28", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "max_delivery_date": "2016-03-13T12:52:32.123Z", + "estimated_delivery_date": "2016-03-13T12:52:32.123Z", + "type": "type6" + }, + "shippable": false, + "closed_at": "2016-03-13T12:52:32.123Z", + "expires_at": "2016-03-13T12:52:32.123Z", + "currency": "currency0", + "debit_card": { + "statement_descriptor": "statement_descriptor4", + "authentication": { + "type": "type6", + "threed_secure": { + "mpi": "mpi0", + "eci": "eci2", + "cavv": "cavv2", + "transaction_Id": "transaction_Id2", + "success_url": "success_url4" + } + } + }, + "bank_transfer": { + "bank": [ + "bank9", + "bank0" + ] + }, + "accepted_brands": [ + "accepted_brands8", + "accepted_brands9" + ], + "pix": { + "expires_at": "2016-03-13T12:52:32.123Z", + "additional_information": [ + { + "Name": "Name7", + "Value": "Value5" + }, + { + "Name": "Name8", + "Value": "Value6" + }, + { + "Name": "Name9", + "Value": "Value7" + } + ] + } } ``` diff --git a/doc/models/get-checkout-payment-settings-response.md b/doc/models/get-checkout-payment-settings-response.md index 6e827f0..4c779e1 100644 --- a/doc/models/get-checkout-payment-settings-response.md +++ b/doc/models/get-checkout-payment-settings-response.md @@ -24,14 +24,111 @@ Checkout Payment Settings Response ```json { - "success_url": null, - "payment_url": null, - "accepted_payment_methods": null, - "status": null, - "customer": null, - "amount": null, - "default_payment_method": null, - "gateway_affiliation_id": null + "success_url": "success_url2", + "payment_url": "payment_url6", + "accepted_payment_methods": [ + "accepted_payment_methods3", + "accepted_payment_methods4", + "accepted_payment_methods5" + ], + "status": "status8", + "customer": { + "id": "id0", + "name": "name0", + "email": "email6", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document6", + "type": "type0", + "fb_access_token": "fb_access_token4", + "address": { + "id": "id6", + "street": "street6", + "number": "number4", + "complement": "complement2", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city6", + "state": "state2", + "country": "country0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id6", + "name": "name6", + "email": "email0", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document0", + "type": "type4", + "fb_access_token": "fb_access_token0", + "address": { + "id": "id2", + "street": "street2", + "number": "number0", + "complement": "complement8", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city2", + "state": "state8", + "country": "country6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata7", + "key1": "metadata6" + }, + "line_1": "line_16", + "line_2": "line_20", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "phones": { + "home_phone": { + "country_code": "country_code8", + "number": "number6", + "area_code": "area_code8" + }, + "mobile_phone": { + "country_code": "country_code2", + "number": "number4", + "area_code": "area_code8" + } + }, + "fb_id": 224, + "code": "code4", + "document_type": "document_type4" + }, + "metadata": { + "key0": "metadata3" + }, + "line_1": "line_10", + "line_2": "line_24", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 174, + "code": "code8", + "document_type": "document_type8" + }, + "amount": 46, + "default_payment_method": "default_payment_method0", + "gateway_affiliation_id": "gateway_affiliation_id4" } ``` diff --git a/doc/models/get-checkout-pix-payment-response.md b/doc/models/get-checkout-pix-payment-response.md index 4e8d991..e6ea8b5 100644 --- a/doc/models/get-checkout-pix-payment-response.md +++ b/doc/models/get-checkout-pix-payment-response.md @@ -18,8 +18,17 @@ Checkout pix payment response ```json { - "expires_at": null, - "additional_information": null + "expires_at": "2016-03-13T12:52:32.123Z", + "additional_information": [ + { + "Name": "Name5", + "Value": "Value7" + }, + { + "Name": "Name6", + "Value": "Value6" + } + ] } ``` diff --git a/doc/models/get-credit-card-transaction-response.md b/doc/models/get-credit-card-transaction-response.md index 0531f33..0982ac3 100644 --- a/doc/models/get-credit-card-transaction-response.md +++ b/doc/models/get-credit-card-transaction-response.md @@ -33,38 +33,737 @@ Response object for getting a credit card transaction ```json { - "gateway_id": null, - "amount": null, - "status": null, - "success": null, - "created_at": null, - "updated_at": null, - "attempt_count": null, - "max_attempts": null, - "splits": null, - "next_attempt": null, + "gateway_id": "gateway_id8", + "amount": 0, + "status": "status6", + "success": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 24, + "max_attempts": 220, + "splits": [ + { + "type": "type6", + "amount": 16, + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document2", + "description": "description6", + "type": "type6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type8", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document2", + "description": "description4", + "type": "type6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata9" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + { + "gateway": "gateway8", + "status": "status0", + "pgid": "pgid4", + "created_at": "created_at6", + "updated_at": "updated_at4" + } + ], + "metadata": { + "key0": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 8, + "delay": 26, + "days": [ + 2, + 3, + 4 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 174 + }, + "code": "code2", + "payment_mode": "payment_mode8" + }, + "metadata": { + "key0": "metadata9" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 78, + "delay": 212, + "days": [ + 188, + 189, + 190 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 244 + }, + "code": "code2", + "payment_mode": "payment_mode2" + }, + "gateway_id": "gateway_id6", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee6" + }, + "id": "id4" + } + ], + "next_attempt": "2016-03-13T12:52:32.123Z", "transaction_type": "credit_card", - "id": null, - "gateway_response": null, - "antifraud_response": null, - "metadata": null, - "split": null, - "interest": null, - "fine": null, - "max_days_to_pay_past_due": null, - "statement_descriptor": null, - "acquirer_name": null, - "acquirer_affiliation_code": null, - "acquirer_tid": null, - "acquirer_nsu": null, - "acquirer_auth_code": null, - "operation_type": null, - "card": null, - "acquirer_message": null, - "acquirer_return_code": null, - "installments": null, - "threed_authentication_url": null, - "funding_source": null + "id": "id2", + "gateway_response": { + "code": "code4", + "errors": [ + { + "message": "message1" + }, + { + "message": "message2" + } + ] + }, + "antifraud_response": { + "status": "status8", + "return_code": "return_code0", + "return_message": "return_message2", + "provider_name": "provider_name2", + "score": "score0" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata2" + }, + "split": [ + { + "type": "type0", + "amount": 54, + "recipient": { + "id": "id8", + "name": "name8", + "email": "email8", + "document": "document8", + "description": "description2", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id8", + "name": "name8", + "email": "email8", + "document": "document2", + "description": "description8", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata3" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + { + "gateway": "gateway2", + "status": "status4", + "pgid": "pgid8", + "created_at": "created_at0", + "updated_at": "updated_at8" + } + ], + "metadata": { + "key0": "metadata5" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 194, + "delay": 96, + "days": [ + 72, + 73, + 74 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 104 + }, + "code": "code6", + "payment_mode": "payment_mode2" + }, + "metadata": { + "key0": "metadata3" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata5" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 8, + "delay": 26, + "days": [ + 2, + 3, + 4 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 174 + }, + "code": "code6", + "payment_mode": "payment_mode8" + }, + "gateway_id": "gateway_id0", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee0" + }, + "id": "id0" + }, + { + "type": "type9", + "amount": 53, + "recipient": { + "id": "id7", + "name": "name7", + "email": "email9", + "document": "document9", + "description": "description3", + "type": "type3", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id5", + "holder_name": "holder_name1", + "holder_type": "holder_type7", + "bank": "bank3", + "branch_number": "branch_number1", + "branch_check_digit": "branch_check_digit1", + "account_number": "account_number5", + "account_check_digit": "account_check_digit1", + "type": "type5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id7", + "name": "name7", + "email": "email9", + "document": "document1", + "description": "description7", + "type": "type3", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id5", + "holder_name": "holder_name1", + "holder_type": "holder_type7", + "bank": "bank3", + "branch_number": "branch_number1", + "branch_check_digit": "branch_check_digit1", + "account_number": "account_number5", + "account_check_digit": "account_check_digit1", + "type": "type5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata4", + "key1": "metadata3", + "key2": "metadata2" + }, + "pix_key": "pix_key9" + }, + "gateway_recipients": [ + { + "gateway": "gateway1", + "status": "status3", + "pgid": "pgid7", + "created_at": "created_at9", + "updated_at": "updated_at7" + }, + { + "gateway": "gateway2", + "status": "status4", + "pgid": "pgid8", + "created_at": "created_at0", + "updated_at": "updated_at8" + }, + { + "gateway": "gateway3", + "status": "status5", + "pgid": "pgid9", + "created_at": "created_at1", + "updated_at": "updated_at9" + } + ], + "metadata": { + "key0": "metadata4", + "key1": "metadata3" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type9", + "volume_percentage": 195, + "delay": 95, + "days": [ + 71, + 72 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval7", + "transfer_day": 105 + }, + "code": "code5", + "payment_mode": "payment_mode1" + }, + "metadata": { + "key0": "metadata2", + "key1": "metadata1" + }, + "pix_key": "pix_key1" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata6", + "key1": "metadata7" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type9", + "volume_percentage": 9, + "delay": 25, + "days": [ + 1, + 2 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval7", + "transfer_day": 175 + }, + "code": "code5", + "payment_mode": "payment_mode9" + }, + "gateway_id": "gateway_id9", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee9" + }, + "id": "id1" + }, + { + "type": "type8", + "amount": 52, + "recipient": { + "id": "id6", + "name": "name6", + "email": "email0", + "document": "document0", + "description": "description4", + "type": "type4", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id4", + "holder_name": "holder_name0", + "holder_type": "holder_type6", + "bank": "bank2", + "branch_number": "branch_number0", + "branch_check_digit": "branch_check_digit0", + "account_number": "account_number4", + "account_check_digit": "account_check_digit0", + "type": "type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id6", + "name": "name6", + "email": "email0", + "document": "document0", + "description": "description6", + "type": "type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id4", + "holder_name": "holder_name0", + "holder_type": "holder_type6", + "bank": "bank2", + "branch_number": "branch_number0", + "branch_check_digit": "branch_check_digit0", + "account_number": "account_number4", + "account_check_digit": "account_check_digit0", + "type": "type4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata4" + }, + "pix_key": "pix_key8" + }, + "gateway_recipients": [ + { + "gateway": "gateway0", + "status": "status2", + "pgid": "pgid6", + "created_at": "created_at8", + "updated_at": "updated_at6" + }, + { + "gateway": "gateway1", + "status": "status3", + "pgid": "pgid7", + "created_at": "created_at9", + "updated_at": "updated_at7" + } + ], + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type0", + "volume_percentage": 196, + "delay": 94, + "days": [ + 70 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval8", + "transfer_day": 106 + }, + "code": "code4", + "payment_mode": "payment_mode0" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "pix_key": "pix_key2" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata7", + "key1": "metadata8", + "key2": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type0", + "volume_percentage": 10, + "delay": 24, + "days": [ + 0 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval8", + "transfer_day": 176 + }, + "code": "code4", + "payment_mode": "payment_mode0" + }, + "gateway_id": "gateway_id8", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee8" + }, + "id": "id2" + } + ], + "interest": { + "days": 110, + "type": "type8", + "amount": 184 + }, + "fine": { + "days": 92, + "type": "type4", + "amount": 90 + }, + "max_days_to_pay_past_due": 168, + "statement_descriptor": "statement_descriptor0", + "acquirer_name": "acquirer_name4", + "acquirer_affiliation_code": "acquirer_affiliation_code8", + "acquirer_tid": "acquirer_tid0", + "acquirer_nsu": "acquirer_nsu0", + "acquirer_auth_code": "acquirer_auth_code8", + "operation_type": "operation_type6", + "card": { + "id": "id6", + "last_four_digits": "last_four_digits2", + "brand": "brand0", + "holder_name": "holder_name2", + "exp_month": 228, + "exp_year": 68, + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street8", + "number": "number4", + "zip_code": "zip_code2", + "neighborhood": "neighborhood4", + "city": "city2", + "state": "state6", + "country": "country2", + "complement": "complement6", + "line_1": "line_18", + "line_2": "line_26" + }, + "customer": { + "id": "id6", + "name": "name6", + "email": "email0", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document0", + "type": "type4", + "fb_access_token": "fb_access_token0", + "address": { + "id": "id2", + "street": "street2", + "number": "number0", + "complement": "complement8", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city2", + "state": "state8", + "country": "country6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id2", + "name": "name2", + "email": "email4", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document6", + "type": "type8", + "fb_access_token": "fb_access_token6", + "address": { + "id": "id8", + "street": "street8", + "number": "number6", + "complement": "complement4", + "zip_code": "zip_code2", + "neighborhood": "neighborhood4", + "city": "city8", + "state": "state4", + "country": "country2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "line_1": "line_12", + "line_2": "line_26", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "phones": { + "home_phone": { + "country_code": "country_code4", + "number": "number2", + "area_code": "area_code4" + }, + "mobile_phone": { + "country_code": "country_code4", + "number": "number8", + "area_code": "area_code4" + } + }, + "fb_id": 106, + "code": "code0", + "document_type": "document_type0" + }, + "metadata": { + "key0": "metadata9", + "key1": "metadata8", + "key2": "metadata7" + }, + "line_1": "line_16", + "line_2": "line_20", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata8", + "key2": "metadata9" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 56, + "code": "code4", + "document_type": "document_type4" + }, + "metadata": { + "key0": "metadata7" + }, + "type": "type4", + "holder_document": "holder_document0", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits6", + "label": "label6" + }, + "acquirer_message": "acquirer_message0", + "acquirer_return_code": "acquirer_return_code8", + "installments": 250, + "threed_authentication_url": "threed_authentication_url6", + "funding_source": "funding_source6" } ``` diff --git a/doc/models/get-customer-response.md b/doc/models/get-customer-response.md index cac4b3f..0acb6e2 100644 --- a/doc/models/get-customer-response.md +++ b/doc/models/get-customer-response.md @@ -31,21 +31,131 @@ Response object for getting a customer ```json { - "id": null, - "name": null, - "email": null, - "delinquent": null, - "created_at": null, - "updated_at": null, - "document": null, - "type": null, - "fb_access_token": null, - "address": null, - "metadata": null, - "phones": null, - "fb_id": null, - "code": null, - "document_type": null + "id": "id0", + "name": "name0", + "email": "email6", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document6", + "type": "type0", + "fb_access_token": "fb_access_token4", + "address": { + "id": "id6", + "street": "street6", + "number": "number4", + "complement": "complement2", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city6", + "state": "state2", + "country": "country0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id6", + "name": "name6", + "email": "email0", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document0", + "type": "type4", + "fb_access_token": "fb_access_token0", + "address": { + "id": "id2", + "street": "street2", + "number": "number0", + "complement": "complement8", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city2", + "state": "state8", + "country": "country6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id2", + "name": "name2", + "email": "email4", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document6", + "type": "type2", + "fb_access_token": "fb_access_token6", + "address": {}, + "metadata": { + "key0": "metadata9" + }, + "phones": { + "home_phone": { + "country_code": "country_code4", + "number": "number2", + "area_code": "area_code4" + }, + "mobile_phone": { + "country_code": "country_code4", + "number": "number8", + "area_code": "area_code4" + } + }, + "fb_id": 52, + "code": "code0", + "document_type": "document_type0" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata6", + "key2": "metadata5" + }, + "line_1": "line_16", + "line_2": "line_20", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata8" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 2, + "code": "code4", + "document_type": "document_type4" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "line_1": "line_10", + "line_2": "line_24", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata4", + "key2": "metadata5" + }, + "phones": { + "home_phone": { + "country_code": "country_code8", + "number": "number0", + "area_code": "area_code2" + }, + "mobile_phone": { + "country_code": "country_code8", + "number": "number4", + "area_code": "area_code8" + } + }, + "fb_id": 208, + "code": "code8", + "document_type": "document_type8" } ``` diff --git a/doc/models/get-debit-card-transaction-response.md b/doc/models/get-debit-card-transaction-response.md index aa08bab..7e21f9c 100644 --- a/doc/models/get-debit-card-transaction-response.md +++ b/doc/models/get-debit-card-transaction-response.md @@ -35,40 +35,754 @@ Response object for getting a debit card transaction ```json { - "gateway_id": null, - "amount": null, - "status": null, - "success": null, - "created_at": null, - "updated_at": null, - "attempt_count": null, - "max_attempts": null, - "splits": null, - "next_attempt": null, + "gateway_id": "gateway_id0", + "amount": 86, + "status": "status8", + "success": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 110, + "max_attempts": 134, + "splits": [ + { + "type": "type4", + "amount": 102, + "recipient": { + "id": "id2", + "name": "name2", + "email": "email4", + "document": "document4", + "description": "description8", + "type": "type8", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id2", + "name": "name2", + "email": "email4", + "document": "document4", + "description": "description2", + "type": "type8", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata7", + "key1": "metadata6", + "key2": "metadata5" + }, + "pix_key": "pix_key6" + }, + "gateway_recipients": [ + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + }, + { + "gateway": "gateway7", + "status": "status9", + "pgid": "pgid3", + "created_at": "created_at5", + "updated_at": "updated_at3" + } + ], + "metadata": { + "key0": "metadata1", + "key1": "metadata2", + "key2": "metadata3" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 94, + "delay": 196, + "days": [ + 172 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval2", + "transfer_day": 4 + }, + "code": "code0", + "payment_mode": "payment_mode6" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata6", + "key2": "metadata5" + }, + "pix_key": "pix_key6" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata1", + "key1": "metadata2", + "key2": "metadata3" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 164, + "delay": 126, + "days": [ + 102 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval2", + "transfer_day": 74 + }, + "code": "code0", + "payment_mode": "payment_mode4" + }, + "gateway_id": "gateway_id4", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee4" + }, + "id": "id6" + }, + { + "type": "type3", + "amount": 103, + "recipient": { + "id": "id1", + "name": "name1", + "email": "email5", + "document": "document5", + "description": "description9", + "type": "type9", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id9", + "holder_name": "holder_name5", + "holder_type": "holder_type1", + "bank": "bank7", + "branch_number": "branch_number5", + "branch_check_digit": "branch_check_digit5", + "account_number": "account_number9", + "account_check_digit": "account_check_digit5", + "type": "type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id1", + "name": "name1", + "email": "email5", + "document": "document5", + "description": "description1", + "type": "type9", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id9", + "holder_name": "holder_name5", + "holder_type": "holder_type1", + "bank": "bank7", + "branch_number": "branch_number5", + "branch_check_digit": "branch_check_digit5", + "account_number": "account_number9", + "account_check_digit": "account_check_digit5", + "type": "type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata6" + }, + "pix_key": "pix_key7" + }, + "gateway_recipients": [ + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + } + ], + "metadata": { + "key0": "metadata2" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type5", + "volume_percentage": 95, + "delay": 195, + "days": [ + 171, + 172, + 173 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval3", + "transfer_day": 5 + }, + "code": "code9", + "payment_mode": "payment_mode5" + }, + "metadata": { + "key0": "metadata6" + }, + "pix_key": "pix_key7" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata2" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type5", + "volume_percentage": 165, + "delay": 125, + "days": [ + 101, + 102, + 103 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval3", + "transfer_day": 75 + }, + "code": "code9", + "payment_mode": "payment_mode5" + }, + "gateway_id": "gateway_id3", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee3" + }, + "id": "id7" + }, + { + "type": "type2", + "amount": 104, + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document6", + "description": "description0", + "type": "type0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document6", + "description": "description0", + "type": "type0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata4" + }, + "pix_key": "pix_key8" + }, + "gateway_recipients": [ + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + }, + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + }, + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + } + ], + "metadata": { + "key0": "metadata3", + "key1": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 96, + "delay": 194, + "days": [ + 170, + 171 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 6 + }, + "code": "code8", + "payment_mode": "payment_mode4" + }, + "metadata": { + "key0": "metadata5", + "key1": "metadata4" + }, + "pix_key": "pix_key8" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata3", + "key1": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 166, + "delay": 124, + "days": [ + 100, + 101 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 76 + }, + "code": "code8", + "payment_mode": "payment_mode6" + }, + "gateway_id": "gateway_id2", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee2" + }, + "id": "id8" + } + ], + "next_attempt": "2016-03-13T12:52:32.123Z", "transaction_type": "debit_card", - "id": null, - "gateway_response": null, - "antifraud_response": null, - "metadata": null, - "split": null, - "interest": null, - "fine": null, - "max_days_to_pay_past_due": null, - "statement_descriptor": null, - "acquirer_name": null, - "acquirer_affiliation_code": null, - "acquirer_tid": null, - "acquirer_nsu": null, - "acquirer_auth_code": null, - "operation_type": null, - "card": null, - "acquirer_message": null, - "acquirer_return_code": null, - "mpi": null, - "eci": null, - "authentication_type": null, - "threed_authentication_url": null, - "funding_source": null + "id": "id0", + "gateway_response": { + "code": "code6", + "errors": [ + { + "message": "message3" + } + ] + }, + "antifraud_response": { + "status": "status0", + "return_code": "return_code8", + "return_message": "return_message4", + "provider_name": "provider_name4", + "score": "score8" + }, + "metadata": { + "key0": "metadata3" + }, + "split": [ + { + "type": "type2", + "amount": 140, + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document6", + "description": "description0", + "type": "type0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document4", + "description": "description0", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "pix_key": "pix_key2" + }, + "gateway_recipients": [ + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + }, + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + }, + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + } + ], + "metadata": { + "key0": "metadata3", + "key1": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 108, + "delay": 182, + "days": [ + 158, + 159 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 18 + }, + "code": "code8", + "payment_mode": "payment_mode4" + }, + "metadata": { + "key0": "metadata5", + "key1": "metadata4" + }, + "pix_key": "pix_key8" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata3", + "key1": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 178, + "delay": 112, + "days": [ + 88, + 89 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 88 + }, + "code": "code8", + "payment_mode": "payment_mode6" + }, + "gateway_id": "gateway_id2", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee2" + }, + "id": "id8" + } + ], + "interest": { + "days": 196, + "type": "type0", + "amount": 14 + }, + "fine": { + "days": 178, + "type": "type2", + "amount": 4 + }, + "max_days_to_pay_past_due": 82, + "statement_descriptor": "statement_descriptor0", + "acquirer_name": "acquirer_name4", + "acquirer_affiliation_code": "acquirer_affiliation_code8", + "acquirer_tid": "acquirer_tid0", + "acquirer_nsu": "acquirer_nsu0", + "acquirer_auth_code": "acquirer_auth_code8", + "operation_type": "operation_type6", + "card": { + "id": "id6", + "last_four_digits": "last_four_digits2", + "brand": "brand0", + "holder_name": "holder_name2", + "exp_month": 228, + "exp_year": 68, + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street8", + "number": "number4", + "zip_code": "zip_code2", + "neighborhood": "neighborhood4", + "city": "city2", + "state": "state6", + "country": "country2", + "complement": "complement6", + "line_1": "line_18", + "line_2": "line_26" + }, + "customer": { + "id": "id6", + "name": "name6", + "email": "email0", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document0", + "type": "type4", + "fb_access_token": "fb_access_token0", + "address": { + "id": "id2", + "street": "street2", + "number": "number0", + "complement": "complement8", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city2", + "state": "state8", + "country": "country6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id2", + "name": "name2", + "email": "email4", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document6", + "type": "type8", + "fb_access_token": "fb_access_token6", + "address": { + "id": "id8", + "street": "street8", + "number": "number6", + "complement": "complement4", + "zip_code": "zip_code2", + "neighborhood": "neighborhood4", + "city": "city8", + "state": "state4", + "country": "country2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "line_1": "line_12", + "line_2": "line_26", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "phones": { + "home_phone": { + "country_code": "country_code4", + "number": "number2", + "area_code": "area_code4" + }, + "mobile_phone": { + "country_code": "country_code4", + "number": "number8", + "area_code": "area_code4" + } + }, + "fb_id": 106, + "code": "code0", + "document_type": "document_type0" + }, + "metadata": { + "key0": "metadata9", + "key1": "metadata8", + "key2": "metadata7" + }, + "line_1": "line_16", + "line_2": "line_20", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata8", + "key2": "metadata9" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 56, + "code": "code4", + "document_type": "document_type4" + }, + "metadata": { + "key0": "metadata7" + }, + "type": "type4", + "holder_document": "holder_document0", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits6", + "label": "label6" + }, + "acquirer_message": "acquirer_message0", + "acquirer_return_code": "acquirer_return_code8", + "mpi": "mpi2", + "eci": "eci0", + "authentication_type": "authentication_type2", + "threed_authentication_url": "threed_authentication_url6", + "funding_source": "funding_source6" } ``` diff --git a/doc/models/get-device-response.md b/doc/models/get-device-response.md index 6237b04..67d3672 100644 --- a/doc/models/get-device-response.md +++ b/doc/models/get-device-response.md @@ -17,7 +17,7 @@ Response object for geetting an order device ```json { - "platform": null + "platform": "platform6" } ``` diff --git a/doc/models/get-discount-response.md b/doc/models/get-discount-response.md index 72513bb..129bc2e 100644 --- a/doc/models/get-discount-response.md +++ b/doc/models/get-discount-response.md @@ -26,16 +26,2896 @@ Response object for getting a discount ```json { - "id": null, - "value": null, - "discount_type": null, - "status": null, - "created_at": null, - "cycles": null, - "deleted_at": null, - "description": null, - "subscription": null, - "subscription_item": null + "id": "id0", + "value": 251.52, + "discount_type": "discount_type8", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 168, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": { + "id": "id4", + "code": "code2", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval2", + "interval_count": 234, + "billing_type": "billing_type8", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id2", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id8", + "code": "code6", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval6", + "interval_count": 36, + "billing_type": "billing_type8", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id6", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status8", + "duration": 20, + "created_at": "created_at4", + "updated_at": "updated_at2", + "cycle": 216 + }, + "payment_method": "payment_method2", + "currency": "currency8", + "installments": 204, + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id8", + "name": "name8", + "email": "email8", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document8", + "type": "type2", + "fb_access_token": "fb_access_token2", + "address": { + "id": "id4", + "street": "street4", + "number": "number2", + "complement": "complement0", + "zip_code": "zip_code8", + "neighborhood": "neighborhood0", + "city": "city4", + "state": "state0", + "country": "country8", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id4", + "name": "name4", + "email": "email2", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document8", + "type": "type6", + "fb_access_token": "fb_access_token8", + "address": { + "id": "id0", + "street": "street0", + "number": "number8", + "complement": "complement6", + "zip_code": "zip_code4", + "neighborhood": "neighborhood6", + "city": "city0", + "state": "state6", + "country": "country4", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "line_1": "line_14", + "line_2": "line_28", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "phones": { + "home_phone": { + "country_code": "country_code6", + "number": "number4", + "area_code": "area_code6" + }, + "mobile_phone": { + "country_code": "country_code4", + "number": "number6", + "area_code": "area_code6" + } + }, + "fb_id": 246, + "code": "code2", + "document_type": "document_type2" + }, + "metadata": { + "key0": "metadata1" + }, + "line_1": "line_18", + "line_2": "line_22", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata5" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 196, + "code": "code6", + "document_type": "document_type6" + }, + "card": { + "id": "id8", + "last_four_digits": "last_four_digits4", + "brand": "brand2", + "holder_name": "holder_name4", + "exp_month": 182, + "exp_year": 114, + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street0", + "number": "number2", + "zip_code": "zip_code4", + "neighborhood": "neighborhood6", + "city": "city0", + "state": "state4", + "country": "country4", + "complement": "complement4", + "line_1": "line_16", + "line_2": "line_28" + }, + "customer": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata6" + }, + "type": "type2", + "holder_document": "holder_document8", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits8", + "label": "label8" + }, + "items": [ + { + "id": "id5", + "description": "description5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 103, + "scheme_type": "scheme_type3", + "price_brackets": [ + { + "start_quantity": 106, + "price": 212, + "end_quantity": 114, + "overage_price": 128 + }, + { + "start_quantity": 107, + "price": 211, + "end_quantity": 115, + "overage_price": 129 + } + ], + "minimum_price": 7, + "percentage": 92.91 + }, + "discounts": [ + { + "id": "id6", + "value": 169.08, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 36, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": { + "id": "id2", + "description": "description2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 6, + "scheme_type": "scheme_type4", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 90, + "percentage": 206.52 + }, + "discounts": [ + { + "id": "id3", + "value": 204.15, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 215, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 204.16, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 216, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 204.17, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 217, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id1", + "value": 59.43, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 79, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name2", + "quantity": 4, + "cycles": 24, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {} + ], + "subscription": {}, + "name": "name5", + "quantity": 81, + "cycles": 155, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id6", + "description": "description6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 104, + "scheme_type": "scheme_type2", + "price_brackets": [ + { + "start_quantity": 105, + "price": 213, + "end_quantity": 113, + "overage_price": 127 + } + ], + "minimum_price": 8, + "percentage": 92.9 + }, + "discounts": [ + { + "id": "id7", + "value": 169.09, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 37, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": { + "id": "id3", + "description": "description3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 5, + "scheme_type": "scheme_type5", + "price_brackets": [ + {} + ], + "minimum_price": 91, + "percentage": 206.53 + }, + "discounts": [ + { + "id": "id4", + "value": 204.16, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 216, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id2", + "value": 59.44, + "increment_type": "increment_type4", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 80, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id3", + "value": 59.45, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 81, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name3", + "quantity": 5, + "cycles": 25, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id8", + "value": 169.1, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 38, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": { + "id": "id4", + "description": "description4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 4, + "scheme_type": "scheme_type6", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 92, + "percentage": 206.54 + }, + "discounts": [ + { + "id": "id5", + "value": 204.17, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 217, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 204.18, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 218, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id3", + "value": 59.45, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 81, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 59.46, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 82, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 59.47, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 83, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name4", + "quantity": 6, + "cycles": 26, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {}, + {} + ], + "subscription": {}, + "name": "name6", + "quantity": 82, + "cycles": 154, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id7", + "description": "description7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 105, + "scheme_type": "scheme_type1", + "price_brackets": [ + { + "start_quantity": 104, + "price": 214, + "end_quantity": 112, + "overage_price": 126 + }, + { + "start_quantity": 105, + "price": 213, + "end_quantity": 113, + "overage_price": 127 + }, + { + "start_quantity": 106, + "price": 212, + "end_quantity": 114, + "overage_price": 128 + } + ], + "minimum_price": 9, + "percentage": 92.89 + }, + "discounts": [ + { + "id": "id8", + "value": 169.1, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 38, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": { + "id": "id4", + "description": "description4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 4, + "scheme_type": "scheme_type6", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 92, + "percentage": 206.54 + }, + "discounts": [ + { + "id": "id5", + "value": 204.17, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 217, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 204.18, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 218, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id3", + "value": 59.45, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 81, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 59.46, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 82, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 59.47, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 83, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name4", + "quantity": 6, + "cycles": 26, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id9", + "value": 169.11, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 39, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": { + "id": "id5", + "description": "description5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 3, + "scheme_type": "scheme_type7", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 93, + "percentage": 206.55 + }, + "discounts": [ + { + "id": "id6", + "value": 204.18, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 218, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id7", + "value": 204.19, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 219, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id8", + "value": 204.2, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 220, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id4", + "value": 59.46, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 82, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name5", + "quantity": 7, + "cycles": 27, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id0", + "value": 169.12, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 40, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": { + "id": "id6", + "description": "description6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 2, + "scheme_type": "scheme_type8", + "price_brackets": [ + {} + ], + "minimum_price": 94, + "percentage": 206.56 + }, + "discounts": [ + { + "id": "id7", + "value": 204.19, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 219, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id5", + "value": 59.47, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 83, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 59.48, + "increment_type": "increment_type8", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 84, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name6", + "quantity": 8, + "cycles": 28, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {} + ], + "subscription": {}, + "name": "name7", + "quantity": 83, + "cycles": 153, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor8", + "metadata": { + "key0": "metadata5", + "key1": "metadata6" + }, + "setup": { + "id": "id2", + "description": "description8", + "amount": 228, + "status": "status6" + }, + "gateway_affiliation_id": "gateway_affiliation_id4", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 80, + "minimum_price": 222, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 148, + "split": { + "enabled": false, + "rules": [ + { + "type": "type2", + "amount": 108, + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document6", + "description": "description0", + "type": "type0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document6", + "description": "description0", + "type": "type0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata4" + }, + "pix_key": "pix_key8" + }, + "gateway_recipients": [ + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + }, + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + }, + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + } + ], + "metadata": { + "key0": "metadata3", + "key1": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 100, + "delay": 190, + "days": [ + 166, + 167 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 10 + }, + "code": "code8", + "payment_mode": "payment_mode6" + }, + "metadata": { + "key0": "metadata5", + "key1": "metadata4" + }, + "pix_key": "pix_key8" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata3", + "key1": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 170, + "delay": 120, + "days": [ + 96, + 97 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 80 + }, + "code": "code8", + "payment_mode": "payment_mode6" + }, + "gateway_id": "gateway_id2", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee2" + }, + "id": "id8" + }, + { + "type": "type1", + "amount": 109, + "recipient": { + "id": "id9", + "name": "name9", + "email": "email7", + "document": "document7", + "description": "description1", + "type": "type1", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type3", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id9", + "name": "name9", + "email": "email7", + "document": "document7", + "description": "description9", + "type": "type1", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata4", + "key1": "metadata3", + "key2": "metadata2" + }, + "pix_key": "pix_key9" + }, + "gateway_recipients": [ + { + "gateway": "gateway3", + "status": "status5", + "pgid": "pgid9", + "created_at": "created_at1", + "updated_at": "updated_at9" + }, + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + } + ], + "metadata": { + "key0": "metadata4", + "key1": "metadata5", + "key2": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type7", + "volume_percentage": 101, + "delay": 189, + "days": [ + 165 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 11 + }, + "code": "code7", + "payment_mode": "payment_mode7" + }, + "metadata": { + "key0": "metadata4", + "key1": "metadata3", + "key2": "metadata2" + }, + "pix_key": "pix_key9" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata4", + "key1": "metadata5", + "key2": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type7", + "volume_percentage": 171, + "delay": 119, + "days": [ + 95 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 81 + }, + "code": "code7", + "payment_mode": "payment_mode7" + }, + "gateway_id": "gateway_id1", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee1" + }, + "id": "id9" + }, + { + "type": "type0", + "amount": 110, + "recipient": { + "id": "id8", + "name": "name8", + "email": "email8", + "document": "document8", + "description": "description2", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id8", + "name": "name8", + "email": "email8", + "document": "document8", + "description": "description8", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata3" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + { + "gateway": "gateway2", + "status": "status4", + "pgid": "pgid8", + "created_at": "created_at0", + "updated_at": "updated_at8" + } + ], + "metadata": { + "key0": "metadata5" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 102, + "delay": 188, + "days": [ + 164, + 165, + 166 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 12 + }, + "code": "code6", + "payment_mode": "payment_mode8" + }, + "metadata": { + "key0": "metadata3" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata5" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 172, + "delay": 118, + "days": [ + 94, + 95, + 96 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 82 + }, + "code": "code6", + "payment_mode": "payment_mode8" + }, + "gateway_id": "gateway_id0", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee0" + }, + "id": "id0" + } + ] + }, + "boleto": { + "interest": { + "days": 198, + "type": "type2", + "amount": 16 + }, + "fine": { + "days": 92, + "type": "type0", + "amount": 90 + }, + "max_days_to_pay_past_due": 80 + }, + "manual_billing": false + }, + "status": "status4", + "duration": 218, + "created_at": "created_at0", + "updated_at": "updated_at8", + "cycle": 158 + }, + "payment_method": "payment_method4", + "currency": "currency4", + "installments": 146, + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id8", + "last_four_digits": "last_four_digits4", + "brand": "brand2", + "holder_name": "holder_name4", + "exp_month": 216, + "exp_year": 80, + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street0", + "number": "number2", + "zip_code": "zip_code4", + "neighborhood": "neighborhood6", + "city": "city0", + "state": "state4", + "country": "country4", + "complement": "complement4", + "line_1": "line_16", + "line_2": "line_28" + }, + "customer": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata4" + }, + "type": "type2", + "holder_document": "holder_document2", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits8", + "label": "label8" + }, + "items": [ + {}, + {} + ], + "statement_descriptor": "statement_descriptor4", + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "setup": { + "id": "id8", + "description": "description8", + "amount": 170, + "status": "status0" + }, + "gateway_affiliation_id": "gateway_affiliation_id0", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 118, + "minimum_price": 232, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + {} + ], + "boleto_due_days": 90, + "split": { + "enabled": false, + "rules": [ + {}, + {} + ] + }, + "boleto": { + "interest": { + "days": 0, + "type": "type4", + "amount": 74 + }, + "fine": { + "days": 34, + "type": "type4", + "amount": 108 + }, + "max_days_to_pay_past_due": 22 + }, + "manual_billing": false + }, + "subscription_item": { + "id": "id6", + "description": "description4", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 178, + "scheme_type": "scheme_type2", + "price_brackets": [ + { + "start_quantity": 131, + "price": 69, + "end_quantity": 139, + "overage_price": 153 + } + ], + "minimum_price": 18, + "percentage": 231.4 + }, + "discounts": [ + { + "id": "id7", + "value": 30.59, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 11, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": { + "id": "id7", + "code": "code5", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval5", + "interval_count": 55, + "billing_type": "billing_type9", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id5", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id9", + "code": "code7", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval7", + "interval_count": 51, + "billing_type": "billing_type7", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id7", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status9", + "duration": 35, + "created_at": "created_at5", + "updated_at": "updated_at3", + "cycle": 231 + }, + "payment_method": "payment_method1", + "currency": "currency9", + "installments": 219, + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id9", + "name": "name9", + "email": "email7", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document7", + "type": "type1", + "fb_access_token": "fb_access_token3", + "address": { + "id": "id5", + "street": "street5", + "number": "number3", + "complement": "complement1", + "zip_code": "zip_code9", + "neighborhood": "neighborhood1", + "city": "city5", + "state": "state1", + "country": "country9", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id5", + "name": "name5", + "email": "email1", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document9", + "type": "type5", + "fb_access_token": "fb_access_token9", + "address": { + "id": "id1", + "street": "street1", + "number": "number9", + "complement": "complement7", + "zip_code": "zip_code5", + "neighborhood": "neighborhood7", + "city": "city1", + "state": "state7", + "country": "country5", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata8", + "key1": "metadata7" + }, + "line_1": "line_15", + "line_2": "line_29", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata2", + "key1": "metadata1", + "key2": "metadata0" + }, + "phones": { + "home_phone": { + "country_code": "country_code7", + "number": "number5", + "area_code": "area_code7" + }, + "mobile_phone": { + "country_code": "country_code7", + "number": "number5", + "area_code": "area_code7" + } + }, + "fb_id": 5, + "code": "code3", + "document_type": "document_type3" + }, + "metadata": { + "key0": "metadata4" + }, + "line_1": "line_19", + "line_2": "line_23", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata4" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 211, + "code": "code7", + "document_type": "document_type7" + }, + "card": { + "id": "id3", + "last_four_digits": "last_four_digits9", + "brand": "brand7", + "holder_name": "holder_name9", + "exp_month": 143, + "exp_year": 153, + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street5", + "number": "number7", + "zip_code": "zip_code9", + "neighborhood": "neighborhood1", + "city": "city5", + "state": "state9", + "country": "country9", + "complement": "complement9", + "line_1": "line_11", + "line_2": "line_23" + }, + "customer": {}, + "metadata": { + "key0": "metadata0" + }, + "type": "type7", + "holder_document": "holder_document3", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits3", + "label": "label3" + }, + "items": [ + { + "id": "id6", + "description": "description6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 170, + "scheme_type": "scheme_type8", + "price_brackets": [ + {} + ], + "minimum_price": 74, + "percentage": 84.56 + }, + "discounts": [ + { + "id": "id7", + "value": 82.19, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 51, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id5", + "value": 193.47, + "increment_type": "increment_type7", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 85, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 193.48, + "increment_type": "increment_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 84, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name6", + "quantity": 96, + "cycles": 116, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id7", + "description": "description7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 169, + "scheme_type": "scheme_type9", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 73, + "percentage": 84.57 + }, + "discounts": [ + { + "id": "id8", + "value": 82.2, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 52, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id9", + "value": 82.21, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 53, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id6", + "value": 193.48, + "increment_type": "increment_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 84, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id7", + "value": 193.49, + "increment_type": "increment_type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 83, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id8", + "value": 193.5, + "increment_type": "increment_type0", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 82, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name7", + "quantity": 97, + "cycles": 117, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id8", + "description": "description8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 168, + "scheme_type": "scheme_type0", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 72, + "percentage": 84.58 + }, + "discounts": [ + { + "id": "id9", + "value": 82.21, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 53, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id0", + "value": 82.22, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 54, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id1", + "value": 82.23, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 55, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id7", + "value": 193.49, + "increment_type": "increment_type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 83, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name8", + "quantity": 98, + "cycles": 118, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor9", + "metadata": { + "key0": "metadata6", + "key1": "metadata5" + }, + "setup": { + "id": "id3", + "description": "description3", + "amount": 243, + "status": "status5" + }, + "gateway_affiliation_id": "gateway_affiliation_id5", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 191, + "minimum_price": 207, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {} + ], + "boleto_due_days": 163, + "split": { + "enabled": true, + "rules": [ + { + "type": "type1", + "amount": 123, + "recipient": { + "id": "id1", + "name": "name1", + "email": "email5", + "document": "document5", + "description": "description9", + "type": "type9", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id9", + "holder_name": "holder_name5", + "holder_type": "holder_type1", + "bank": "bank7", + "branch_number": "branch_number5", + "branch_check_digit": "branch_check_digit5", + "account_number": "account_number9", + "account_check_digit": "account_check_digit5", + "type": "type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id1", + "name": "name1", + "email": "email5", + "document": "document5", + "description": "description1", + "type": "type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id9", + "holder_name": "holder_name5", + "holder_type": "holder_type1", + "bank": "bank7", + "branch_number": "branch_number5", + "branch_check_digit": "branch_check_digit5", + "account_number": "account_number9", + "account_check_digit": "account_check_digit5", + "type": "type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata0" + }, + "pix_key": "pix_key3" + }, + "gateway_recipients": [ + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + } + ], + "metadata": { + "key0": "metadata8" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type5", + "volume_percentage": 201, + "delay": 89, + "days": [ + 65, + 66, + 67 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval3", + "transfer_day": 111 + }, + "code": "code9", + "payment_mode": "payment_mode5" + }, + "metadata": { + "key0": "metadata6" + }, + "pix_key": "pix_key7" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata2" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type5", + "volume_percentage": 15, + "delay": 19, + "days": [ + 251, + 252, + 253 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval3", + "transfer_day": 181 + }, + "code": "code9", + "payment_mode": "payment_mode5" + }, + "gateway_id": "gateway_id1", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee5" + }, + "id": "id9" + }, + { + "type": "type0", + "amount": 124, + "recipient": { + "id": "id2", + "name": "name2", + "email": "email4", + "document": "document4", + "description": "description8", + "type": "type8", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id2", + "name": "name2", + "email": "email4", + "document": "document6", + "description": "description2", + "type": "type8", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + }, + { + "gateway": "gateway7", + "status": "status9", + "pgid": "pgid3", + "created_at": "created_at5", + "updated_at": "updated_at3" + } + ], + "metadata": { + "key0": "metadata9", + "key1": "metadata8", + "key2": "metadata7" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 200, + "delay": 90, + "days": [ + 66 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval2", + "transfer_day": 110 + }, + "code": "code0", + "payment_mode": "payment_mode6" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata6", + "key2": "metadata5" + }, + "pix_key": "pix_key6" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata1", + "key1": "metadata2", + "key2": "metadata3" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 14, + "delay": 20, + "days": [ + 252 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval2", + "transfer_day": 180 + }, + "code": "code0", + "payment_mode": "payment_mode4" + }, + "gateway_id": "gateway_id0", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee6" + }, + "id": "id0" + }, + { + "type": "type9", + "amount": 125, + "recipient": { + "id": "id3", + "name": "name3", + "email": "email3", + "document": "document3", + "description": "description7", + "type": "type7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id1", + "holder_name": "holder_name7", + "holder_type": "holder_type3", + "bank": "bank9", + "branch_number": "branch_number7", + "branch_check_digit": "branch_check_digit7", + "account_number": "account_number1", + "account_check_digit": "account_check_digit7", + "type": "type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id3", + "name": "name3", + "email": "email3", + "document": "document7", + "description": "description3", + "type": "type7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id1", + "holder_name": "holder_name7", + "holder_type": "holder_type3", + "bank": "bank9", + "branch_number": "branch_number7", + "branch_check_digit": "branch_check_digit7", + "account_number": "account_number1", + "account_check_digit": "account_check_digit7", + "type": "type1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata8", + "key1": "metadata7", + "key2": "metadata6" + }, + "pix_key": "pix_key5" + }, + "gateway_recipients": [ + { + "gateway": "gateway7", + "status": "status9", + "pgid": "pgid3", + "created_at": "created_at5", + "updated_at": "updated_at3" + }, + { + "gateway": "gateway8", + "status": "status0", + "pgid": "pgid4", + "created_at": "created_at6", + "updated_at": "updated_at4" + }, + { + "gateway": "gateway9", + "status": "status1", + "pgid": "pgid5", + "created_at": "created_at7", + "updated_at": "updated_at5" + } + ], + "metadata": { + "key0": "metadata0", + "key1": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 199, + "delay": 91, + "days": [ + 67, + 68 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval1", + "transfer_day": 109 + }, + "code": "code1", + "payment_mode": "payment_mode7" + }, + "metadata": { + "key0": "metadata8", + "key1": "metadata7" + }, + "pix_key": "pix_key5" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata0", + "key1": "metadata1" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 13, + "delay": 21, + "days": [ + 253, + 254 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval1", + "transfer_day": 179 + }, + "code": "code1", + "payment_mode": "payment_mode3" + }, + "gateway_id": "gateway_id9", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee7" + }, + "id": "id1" + } + ] + }, + "boleto": { + "interest": { + "days": 183, + "type": "type9", + "amount": 1 + }, + "fine": { + "days": 107, + "type": "type9", + "amount": 181 + }, + "max_days_to_pay_past_due": 95 + }, + "manual_billing": true + }, + "status": "status3", + "duration": 39, + "created_at": "created_at3", + "updated_at": "updated_at1", + "cycle": 235 + }, + "payment_method": "payment_method3", + "currency": "currency3", + "installments": 223, + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id9", + "last_four_digits": "last_four_digits5", + "brand": "brand3", + "holder_name": "holder_name5", + "exp_month": 201, + "exp_year": 95, + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street1", + "number": "number1", + "zip_code": "zip_code5", + "neighborhood": "neighborhood7", + "city": "city9", + "state": "state3", + "country": "country5", + "complement": "complement3", + "line_1": "line_15", + "line_2": "line_29" + }, + "customer": {}, + "metadata": { + "key0": "metadata4", + "key1": "metadata5" + }, + "type": "type1", + "holder_document": "holder_document7", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits9", + "label": "label9" + }, + "items": [ + {}, + {}, + {} + ], + "statement_descriptor": "statement_descriptor7", + "metadata": { + "key0": "metadata6", + "key1": "metadata7" + }, + "setup": { + "id": "id1", + "description": "description9", + "amount": 9, + "status": "status7" + }, + "gateway_affiliation_id": "gateway_affiliation_id3", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 61, + "minimum_price": 203, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 167, + "split": { + "enabled": true, + "rules": [ + {}, + {}, + {} + ] + }, + "boleto": { + "interest": { + "days": 133, + "type": "type7", + "amount": 207 + }, + "fine": { + "days": 115, + "type": "type5", + "amount": 67 + }, + "max_days_to_pay_past_due": 145 + }, + "manual_billing": true + }, + "subscription_item": {} + }, + { + "id": "id8", + "value": 30.6, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 12, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": { + "id": "id6", + "code": "code4", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval6", + "interval_count": 54, + "billing_type": "billing_type0", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id4", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id0", + "code": "code8", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval8", + "interval_count": 52, + "billing_type": "billing_type6", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id8", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status0", + "duration": 36, + "created_at": "created_at6", + "updated_at": "updated_at4", + "cycle": 232 + }, + "payment_method": "payment_method0", + "currency": "currency0", + "installments": 220, + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id0", + "name": "name0", + "email": "email6", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document6", + "type": "type0", + "fb_access_token": "fb_access_token4", + "address": { + "id": "id6", + "street": "street6", + "number": "number4", + "complement": "complement2", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city6", + "state": "state2", + "country": "country0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id6", + "name": "name6", + "email": "email0", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document0", + "type": "type6", + "fb_access_token": "fb_access_token0", + "address": { + "id": "id2", + "street": "street2", + "number": "number0", + "complement": "complement8", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city2", + "state": "state8", + "country": "country6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata7", + "key1": "metadata6", + "key2": "metadata5" + }, + "line_1": "line_16", + "line_2": "line_20", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2" + }, + "phones": { + "home_phone": { + "country_code": "country_code8", + "number": "number6", + "area_code": "area_code8" + }, + "mobile_phone": { + "country_code": "country_code8", + "number": "number4", + "area_code": "area_code8" + } + }, + "fb_id": 6, + "code": "code4", + "document_type": "document_type4" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2" + }, + "line_1": "line_10", + "line_2": "line_24", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata4", + "key2": "metadata5" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 212, + "code": "code8", + "document_type": "document_type8" + }, + "card": { + "id": "id4", + "last_four_digits": "last_four_digits0", + "brand": "brand8", + "holder_name": "holder_name0", + "exp_month": 142, + "exp_year": 154, + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street4", + "number": "number8", + "zip_code": "zip_code8", + "neighborhood": "neighborhood0", + "city": "city6", + "state": "state0", + "country": "country8", + "complement": "complement0", + "line_1": "line_12", + "line_2": "line_22" + }, + "customer": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata0", + "key2": "metadata1" + }, + "type": "type6", + "holder_document": "holder_document2", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits4", + "label": "label4" + }, + "items": [ + { + "id": "id7", + "description": "description7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 169, + "scheme_type": "scheme_type9", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 73, + "percentage": 84.57 + }, + "discounts": [ + { + "id": "id8", + "value": 82.2, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 52, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id9", + "value": 82.21, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 53, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id6", + "value": 193.48, + "increment_type": "increment_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 84, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id7", + "value": 193.49, + "increment_type": "increment_type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 83, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id8", + "value": 193.5, + "increment_type": "increment_type0", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 82, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name7", + "quantity": 97, + "cycles": 117, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor0", + "metadata": { + "key0": "metadata7" + }, + "setup": { + "id": "id4", + "description": "description4", + "amount": 244, + "status": "status6" + }, + "gateway_affiliation_id": "gateway_affiliation_id6", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 192, + "minimum_price": 206, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 164, + "split": { + "enabled": false, + "rules": [ + { + "type": "type0", + "amount": 124, + "recipient": { + "id": "id2", + "name": "name2", + "email": "email4", + "document": "document4", + "description": "description8", + "type": "type8", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id2", + "name": "name2", + "email": "email4", + "document": "document6", + "description": "description2", + "type": "type8", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + }, + { + "gateway": "gateway7", + "status": "status9", + "pgid": "pgid3", + "created_at": "created_at5", + "updated_at": "updated_at3" + } + ], + "metadata": { + "key0": "metadata9", + "key1": "metadata8", + "key2": "metadata7" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 200, + "delay": 90, + "days": [ + 66 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval2", + "transfer_day": 110 + }, + "code": "code0", + "payment_mode": "payment_mode6" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata6", + "key2": "metadata5" + }, + "pix_key": "pix_key6" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata1", + "key1": "metadata2", + "key2": "metadata3" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 14, + "delay": 20, + "days": [ + 252 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval2", + "transfer_day": 180 + }, + "code": "code0", + "payment_mode": "payment_mode4" + }, + "gateway_id": "gateway_id0", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee6" + }, + "id": "id0" + } + ] + }, + "boleto": { + "interest": { + "days": 182, + "type": "type0", + "amount": 0 + }, + "fine": { + "days": 108, + "type": "type8", + "amount": 182 + }, + "max_days_to_pay_past_due": 96 + }, + "manual_billing": false + }, + "status": "status4", + "duration": 38, + "created_at": "created_at2", + "updated_at": "updated_at0", + "cycle": 234 + }, + "payment_method": "payment_method4", + "currency": "currency4", + "installments": 222, + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id0", + "last_four_digits": "last_four_digits6", + "brand": "brand4", + "holder_name": "holder_name6", + "exp_month": 200, + "exp_year": 96, + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street2", + "number": "number0", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city8", + "state": "state2", + "country": "country6", + "complement": "complement2", + "line_1": "line_14", + "line_2": "line_20" + }, + "customer": {}, + "metadata": { + "key0": "metadata3" + }, + "type": "type0", + "holder_document": "holder_document6", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits0", + "label": "label0" + }, + "items": [ + {}, + {} + ], + "statement_descriptor": "statement_descriptor6", + "metadata": { + "key0": "metadata7", + "key1": "metadata8", + "key2": "metadata9" + }, + "setup": { + "id": "id0", + "description": "description0", + "amount": 10, + "status": "status8" + }, + "gateway_affiliation_id": "gateway_affiliation_id2", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 62, + "minimum_price": 204, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + {} + ], + "boleto_due_days": 166, + "split": { + "enabled": false, + "rules": [ + {}, + {} + ] + }, + "boleto": { + "interest": { + "days": 132, + "type": "type6", + "amount": 206 + }, + "fine": { + "days": 114, + "type": "type6", + "amount": 68 + }, + "max_days_to_pay_past_due": 146 + }, + "manual_billing": false + }, + "subscription_item": {} + } + ], + "increments": [ + {}, + {} + ], + "subscription": {}, + "name": "name6", + "quantity": 56, + "cycles": 180, + "deleted_at": "2016-03-13T12:52:32.123Z" + } } ``` diff --git a/doc/models/get-fine-response.md b/doc/models/get-fine-response.md index 6e83ba7..f006b19 100644 --- a/doc/models/get-fine-response.md +++ b/doc/models/get-fine-response.md @@ -19,9 +19,7 @@ Fine Response ```json { - "days": null, - "type": null, - "amount": null + "type": "\"percentage\" or \"flat\"" } ``` diff --git a/doc/models/get-gateway-error-response.md b/doc/models/get-gateway-error-response.md index 5c53c4b..748804d 100644 --- a/doc/models/get-gateway-error-response.md +++ b/doc/models/get-gateway-error-response.md @@ -17,7 +17,7 @@ Gateway Response ```json { - "message": null + "message": "message0" } ``` diff --git a/doc/models/get-gateway-recipient-response.md b/doc/models/get-gateway-recipient-response.md index f462f08..cd5df5b 100644 --- a/doc/models/get-gateway-recipient-response.md +++ b/doc/models/get-gateway-recipient-response.md @@ -21,11 +21,11 @@ Information about the recipient on the gateway ```json { - "gateway": null, - "status": null, - "pgid": null, - "created_at": null, - "updated_at": null + "gateway": "gateway0", + "status": "status8", + "pgid": "pgid4", + "created_at": "created_at2", + "updated_at": "updated_at4" } ``` diff --git a/doc/models/get-gateway-response-response.md b/doc/models/get-gateway-response-response.md index 893f8a5..7f34156 100644 --- a/doc/models/get-gateway-response-response.md +++ b/doc/models/get-gateway-response-response.md @@ -18,8 +18,18 @@ The Transaction Gateway Response ```json { - "code": null, - "errors": null + "code": "code8", + "errors": [ + { + "message": "message5" + }, + { + "message": "message6" + }, + { + "message": "message7" + } + ] } ``` diff --git a/doc/models/get-increment-response.md b/doc/models/get-increment-response.md index dcd1fc7..80f05b1 100644 --- a/doc/models/get-increment-response.md +++ b/doc/models/get-increment-response.md @@ -26,16 +26,2896 @@ Response object for getting a increment ```json { - "id": null, - "value": null, - "increment_type": null, - "status": null, - "created_at": null, - "cycles": null, - "deleted_at": null, - "description": null, - "subscription": null, - "subscription_item": null + "id": "id0", + "value": 251.52, + "increment_type": "increment_type8", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 168, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": { + "id": "id4", + "code": "code2", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval2", + "interval_count": 234, + "billing_type": "billing_type8", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id2", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id8", + "code": "code6", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval6", + "interval_count": 36, + "billing_type": "billing_type8", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id6", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status8", + "duration": 20, + "created_at": "created_at4", + "updated_at": "updated_at2", + "cycle": 216 + }, + "payment_method": "payment_method2", + "currency": "currency8", + "installments": 204, + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id8", + "name": "name8", + "email": "email8", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document8", + "type": "type2", + "fb_access_token": "fb_access_token2", + "address": { + "id": "id4", + "street": "street4", + "number": "number2", + "complement": "complement0", + "zip_code": "zip_code8", + "neighborhood": "neighborhood0", + "city": "city4", + "state": "state0", + "country": "country8", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id4", + "name": "name4", + "email": "email2", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document8", + "type": "type6", + "fb_access_token": "fb_access_token8", + "address": { + "id": "id0", + "street": "street0", + "number": "number8", + "complement": "complement6", + "zip_code": "zip_code4", + "neighborhood": "neighborhood6", + "city": "city0", + "state": "state6", + "country": "country4", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "line_1": "line_14", + "line_2": "line_28", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "phones": { + "home_phone": { + "country_code": "country_code6", + "number": "number4", + "area_code": "area_code6" + }, + "mobile_phone": { + "country_code": "country_code4", + "number": "number6", + "area_code": "area_code6" + } + }, + "fb_id": 246, + "code": "code2", + "document_type": "document_type2" + }, + "metadata": { + "key0": "metadata1" + }, + "line_1": "line_18", + "line_2": "line_22", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata5" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 196, + "code": "code6", + "document_type": "document_type6" + }, + "card": { + "id": "id8", + "last_four_digits": "last_four_digits4", + "brand": "brand2", + "holder_name": "holder_name4", + "exp_month": 182, + "exp_year": 114, + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street0", + "number": "number2", + "zip_code": "zip_code4", + "neighborhood": "neighborhood6", + "city": "city0", + "state": "state4", + "country": "country4", + "complement": "complement4", + "line_1": "line_16", + "line_2": "line_28" + }, + "customer": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata6" + }, + "type": "type2", + "holder_document": "holder_document8", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits8", + "label": "label8" + }, + "items": [ + { + "id": "id5", + "description": "description5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 103, + "scheme_type": "scheme_type3", + "price_brackets": [ + { + "start_quantity": 106, + "price": 212, + "end_quantity": 114, + "overage_price": 128 + }, + { + "start_quantity": 107, + "price": 211, + "end_quantity": 115, + "overage_price": 129 + } + ], + "minimum_price": 7, + "percentage": 92.91 + }, + "discounts": [ + { + "id": "id6", + "value": 169.08, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 36, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": { + "id": "id2", + "description": "description2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 6, + "scheme_type": "scheme_type4", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 90, + "percentage": 206.52 + }, + "discounts": [ + { + "id": "id3", + "value": 204.15, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 215, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 204.16, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 216, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 204.17, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 217, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id1", + "value": 59.43, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 79, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name2", + "quantity": 4, + "cycles": 24, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {} + ], + "subscription": {}, + "name": "name5", + "quantity": 81, + "cycles": 155, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id6", + "description": "description6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 104, + "scheme_type": "scheme_type2", + "price_brackets": [ + { + "start_quantity": 105, + "price": 213, + "end_quantity": 113, + "overage_price": 127 + } + ], + "minimum_price": 8, + "percentage": 92.9 + }, + "discounts": [ + { + "id": "id7", + "value": 169.09, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 37, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": { + "id": "id3", + "description": "description3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 5, + "scheme_type": "scheme_type5", + "price_brackets": [ + {} + ], + "minimum_price": 91, + "percentage": 206.53 + }, + "discounts": [ + { + "id": "id4", + "value": 204.16, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 216, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id2", + "value": 59.44, + "increment_type": "increment_type4", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 80, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id3", + "value": 59.45, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 81, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name3", + "quantity": 5, + "cycles": 25, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id8", + "value": 169.1, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 38, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": { + "id": "id4", + "description": "description4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 4, + "scheme_type": "scheme_type6", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 92, + "percentage": 206.54 + }, + "discounts": [ + { + "id": "id5", + "value": 204.17, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 217, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 204.18, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 218, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id3", + "value": 59.45, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 81, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 59.46, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 82, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 59.47, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 83, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name4", + "quantity": 6, + "cycles": 26, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {}, + {} + ], + "subscription": {}, + "name": "name6", + "quantity": 82, + "cycles": 154, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id7", + "description": "description7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 105, + "scheme_type": "scheme_type1", + "price_brackets": [ + { + "start_quantity": 104, + "price": 214, + "end_quantity": 112, + "overage_price": 126 + }, + { + "start_quantity": 105, + "price": 213, + "end_quantity": 113, + "overage_price": 127 + }, + { + "start_quantity": 106, + "price": 212, + "end_quantity": 114, + "overage_price": 128 + } + ], + "minimum_price": 9, + "percentage": 92.89 + }, + "discounts": [ + { + "id": "id8", + "value": 169.1, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 38, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": { + "id": "id4", + "description": "description4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 4, + "scheme_type": "scheme_type6", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 92, + "percentage": 206.54 + }, + "discounts": [ + { + "id": "id5", + "value": 204.17, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 217, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 204.18, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 218, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id3", + "value": 59.45, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 81, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 59.46, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 82, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 59.47, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 83, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name4", + "quantity": 6, + "cycles": 26, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id9", + "value": 169.11, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 39, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": { + "id": "id5", + "description": "description5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 3, + "scheme_type": "scheme_type7", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 93, + "percentage": 206.55 + }, + "discounts": [ + { + "id": "id6", + "value": 204.18, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 218, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id7", + "value": 204.19, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 219, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id8", + "value": 204.2, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 220, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id4", + "value": 59.46, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 82, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name5", + "quantity": 7, + "cycles": 27, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id0", + "value": 169.12, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 40, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": { + "id": "id6", + "description": "description6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 2, + "scheme_type": "scheme_type8", + "price_brackets": [ + {} + ], + "minimum_price": 94, + "percentage": 206.56 + }, + "discounts": [ + { + "id": "id7", + "value": 204.19, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 219, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id5", + "value": 59.47, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 83, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 59.48, + "increment_type": "increment_type8", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 84, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name6", + "quantity": 8, + "cycles": 28, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {} + ], + "subscription": {}, + "name": "name7", + "quantity": 83, + "cycles": 153, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor8", + "metadata": { + "key0": "metadata5", + "key1": "metadata6" + }, + "setup": { + "id": "id2", + "description": "description8", + "amount": 228, + "status": "status6" + }, + "gateway_affiliation_id": "gateway_affiliation_id4", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 80, + "minimum_price": 222, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 148, + "split": { + "enabled": false, + "rules": [ + { + "type": "type2", + "amount": 108, + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document6", + "description": "description0", + "type": "type0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document6", + "description": "description0", + "type": "type0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata4" + }, + "pix_key": "pix_key8" + }, + "gateway_recipients": [ + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + }, + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + }, + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + } + ], + "metadata": { + "key0": "metadata3", + "key1": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 100, + "delay": 190, + "days": [ + 166, + 167 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 10 + }, + "code": "code8", + "payment_mode": "payment_mode6" + }, + "metadata": { + "key0": "metadata5", + "key1": "metadata4" + }, + "pix_key": "pix_key8" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata3", + "key1": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 170, + "delay": 120, + "days": [ + 96, + 97 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 80 + }, + "code": "code8", + "payment_mode": "payment_mode6" + }, + "gateway_id": "gateway_id2", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee2" + }, + "id": "id8" + }, + { + "type": "type1", + "amount": 109, + "recipient": { + "id": "id9", + "name": "name9", + "email": "email7", + "document": "document7", + "description": "description1", + "type": "type1", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type3", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id9", + "name": "name9", + "email": "email7", + "document": "document7", + "description": "description9", + "type": "type1", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata4", + "key1": "metadata3", + "key2": "metadata2" + }, + "pix_key": "pix_key9" + }, + "gateway_recipients": [ + { + "gateway": "gateway3", + "status": "status5", + "pgid": "pgid9", + "created_at": "created_at1", + "updated_at": "updated_at9" + }, + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + } + ], + "metadata": { + "key0": "metadata4", + "key1": "metadata5", + "key2": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type7", + "volume_percentage": 101, + "delay": 189, + "days": [ + 165 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 11 + }, + "code": "code7", + "payment_mode": "payment_mode7" + }, + "metadata": { + "key0": "metadata4", + "key1": "metadata3", + "key2": "metadata2" + }, + "pix_key": "pix_key9" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata4", + "key1": "metadata5", + "key2": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type7", + "volume_percentage": 171, + "delay": 119, + "days": [ + 95 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 81 + }, + "code": "code7", + "payment_mode": "payment_mode7" + }, + "gateway_id": "gateway_id1", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee1" + }, + "id": "id9" + }, + { + "type": "type0", + "amount": 110, + "recipient": { + "id": "id8", + "name": "name8", + "email": "email8", + "document": "document8", + "description": "description2", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id8", + "name": "name8", + "email": "email8", + "document": "document8", + "description": "description8", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata3" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + { + "gateway": "gateway2", + "status": "status4", + "pgid": "pgid8", + "created_at": "created_at0", + "updated_at": "updated_at8" + } + ], + "metadata": { + "key0": "metadata5" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 102, + "delay": 188, + "days": [ + 164, + 165, + 166 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 12 + }, + "code": "code6", + "payment_mode": "payment_mode8" + }, + "metadata": { + "key0": "metadata3" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata5" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 172, + "delay": 118, + "days": [ + 94, + 95, + 96 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 82 + }, + "code": "code6", + "payment_mode": "payment_mode8" + }, + "gateway_id": "gateway_id0", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee0" + }, + "id": "id0" + } + ] + }, + "boleto": { + "interest": { + "days": 198, + "type": "type2", + "amount": 16 + }, + "fine": { + "days": 92, + "type": "type0", + "amount": 90 + }, + "max_days_to_pay_past_due": 80 + }, + "manual_billing": false + }, + "status": "status4", + "duration": 218, + "created_at": "created_at0", + "updated_at": "updated_at8", + "cycle": 158 + }, + "payment_method": "payment_method4", + "currency": "currency4", + "installments": 146, + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id8", + "last_four_digits": "last_four_digits4", + "brand": "brand2", + "holder_name": "holder_name4", + "exp_month": 216, + "exp_year": 80, + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street0", + "number": "number2", + "zip_code": "zip_code4", + "neighborhood": "neighborhood6", + "city": "city0", + "state": "state4", + "country": "country4", + "complement": "complement4", + "line_1": "line_16", + "line_2": "line_28" + }, + "customer": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata4" + }, + "type": "type2", + "holder_document": "holder_document2", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits8", + "label": "label8" + }, + "items": [ + {}, + {} + ], + "statement_descriptor": "statement_descriptor4", + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "setup": { + "id": "id8", + "description": "description8", + "amount": 170, + "status": "status0" + }, + "gateway_affiliation_id": "gateway_affiliation_id0", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 118, + "minimum_price": 232, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + {} + ], + "boleto_due_days": 90, + "split": { + "enabled": false, + "rules": [ + {}, + {} + ] + }, + "boleto": { + "interest": { + "days": 0, + "type": "type4", + "amount": 74 + }, + "fine": { + "days": 34, + "type": "type4", + "amount": 108 + }, + "max_days_to_pay_past_due": 22 + }, + "manual_billing": false + }, + "subscription_item": { + "id": "id6", + "description": "description4", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 178, + "scheme_type": "scheme_type2", + "price_brackets": [ + { + "start_quantity": 131, + "price": 69, + "end_quantity": 139, + "overage_price": 153 + } + ], + "minimum_price": 18, + "percentage": 231.4 + }, + "discounts": [ + { + "id": "id7", + "value": 30.59, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 11, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": { + "id": "id7", + "code": "code5", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval5", + "interval_count": 55, + "billing_type": "billing_type9", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id5", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id9", + "code": "code7", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval7", + "interval_count": 51, + "billing_type": "billing_type7", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id7", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status9", + "duration": 35, + "created_at": "created_at5", + "updated_at": "updated_at3", + "cycle": 231 + }, + "payment_method": "payment_method1", + "currency": "currency9", + "installments": 219, + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id9", + "name": "name9", + "email": "email7", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document7", + "type": "type1", + "fb_access_token": "fb_access_token3", + "address": { + "id": "id5", + "street": "street5", + "number": "number3", + "complement": "complement1", + "zip_code": "zip_code9", + "neighborhood": "neighborhood1", + "city": "city5", + "state": "state1", + "country": "country9", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id5", + "name": "name5", + "email": "email1", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document9", + "type": "type5", + "fb_access_token": "fb_access_token9", + "address": { + "id": "id1", + "street": "street1", + "number": "number9", + "complement": "complement7", + "zip_code": "zip_code5", + "neighborhood": "neighborhood7", + "city": "city1", + "state": "state7", + "country": "country5", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata8", + "key1": "metadata7" + }, + "line_1": "line_15", + "line_2": "line_29", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata2", + "key1": "metadata1", + "key2": "metadata0" + }, + "phones": { + "home_phone": { + "country_code": "country_code7", + "number": "number5", + "area_code": "area_code7" + }, + "mobile_phone": { + "country_code": "country_code7", + "number": "number5", + "area_code": "area_code7" + } + }, + "fb_id": 5, + "code": "code3", + "document_type": "document_type3" + }, + "metadata": { + "key0": "metadata4" + }, + "line_1": "line_19", + "line_2": "line_23", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata4" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 211, + "code": "code7", + "document_type": "document_type7" + }, + "card": { + "id": "id3", + "last_four_digits": "last_four_digits9", + "brand": "brand7", + "holder_name": "holder_name9", + "exp_month": 143, + "exp_year": 153, + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street5", + "number": "number7", + "zip_code": "zip_code9", + "neighborhood": "neighborhood1", + "city": "city5", + "state": "state9", + "country": "country9", + "complement": "complement9", + "line_1": "line_11", + "line_2": "line_23" + }, + "customer": {}, + "metadata": { + "key0": "metadata0" + }, + "type": "type7", + "holder_document": "holder_document3", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits3", + "label": "label3" + }, + "items": [ + { + "id": "id6", + "description": "description6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 170, + "scheme_type": "scheme_type8", + "price_brackets": [ + {} + ], + "minimum_price": 74, + "percentage": 84.56 + }, + "discounts": [ + { + "id": "id7", + "value": 82.19, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 51, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id5", + "value": 193.47, + "increment_type": "increment_type7", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 85, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 193.48, + "increment_type": "increment_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 84, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name6", + "quantity": 96, + "cycles": 116, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id7", + "description": "description7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 169, + "scheme_type": "scheme_type9", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 73, + "percentage": 84.57 + }, + "discounts": [ + { + "id": "id8", + "value": 82.2, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 52, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id9", + "value": 82.21, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 53, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id6", + "value": 193.48, + "increment_type": "increment_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 84, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id7", + "value": 193.49, + "increment_type": "increment_type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 83, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id8", + "value": 193.5, + "increment_type": "increment_type0", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 82, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name7", + "quantity": 97, + "cycles": 117, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id8", + "description": "description8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 168, + "scheme_type": "scheme_type0", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 72, + "percentage": 84.58 + }, + "discounts": [ + { + "id": "id9", + "value": 82.21, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 53, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id0", + "value": 82.22, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 54, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id1", + "value": 82.23, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 55, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id7", + "value": 193.49, + "increment_type": "increment_type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 83, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name8", + "quantity": 98, + "cycles": 118, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor9", + "metadata": { + "key0": "metadata6", + "key1": "metadata5" + }, + "setup": { + "id": "id3", + "description": "description3", + "amount": 243, + "status": "status5" + }, + "gateway_affiliation_id": "gateway_affiliation_id5", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 191, + "minimum_price": 207, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {} + ], + "boleto_due_days": 163, + "split": { + "enabled": true, + "rules": [ + { + "type": "type1", + "amount": 123, + "recipient": { + "id": "id1", + "name": "name1", + "email": "email5", + "document": "document5", + "description": "description9", + "type": "type9", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id9", + "holder_name": "holder_name5", + "holder_type": "holder_type1", + "bank": "bank7", + "branch_number": "branch_number5", + "branch_check_digit": "branch_check_digit5", + "account_number": "account_number9", + "account_check_digit": "account_check_digit5", + "type": "type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id1", + "name": "name1", + "email": "email5", + "document": "document5", + "description": "description1", + "type": "type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id9", + "holder_name": "holder_name5", + "holder_type": "holder_type1", + "bank": "bank7", + "branch_number": "branch_number5", + "branch_check_digit": "branch_check_digit5", + "account_number": "account_number9", + "account_check_digit": "account_check_digit5", + "type": "type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata0" + }, + "pix_key": "pix_key3" + }, + "gateway_recipients": [ + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + } + ], + "metadata": { + "key0": "metadata8" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type5", + "volume_percentage": 201, + "delay": 89, + "days": [ + 65, + 66, + 67 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval3", + "transfer_day": 111 + }, + "code": "code9", + "payment_mode": "payment_mode5" + }, + "metadata": { + "key0": "metadata6" + }, + "pix_key": "pix_key7" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata2" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type5", + "volume_percentage": 15, + "delay": 19, + "days": [ + 251, + 252, + 253 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval3", + "transfer_day": 181 + }, + "code": "code9", + "payment_mode": "payment_mode5" + }, + "gateway_id": "gateway_id1", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee5" + }, + "id": "id9" + }, + { + "type": "type0", + "amount": 124, + "recipient": { + "id": "id2", + "name": "name2", + "email": "email4", + "document": "document4", + "description": "description8", + "type": "type8", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id2", + "name": "name2", + "email": "email4", + "document": "document6", + "description": "description2", + "type": "type8", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + }, + { + "gateway": "gateway7", + "status": "status9", + "pgid": "pgid3", + "created_at": "created_at5", + "updated_at": "updated_at3" + } + ], + "metadata": { + "key0": "metadata9", + "key1": "metadata8", + "key2": "metadata7" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 200, + "delay": 90, + "days": [ + 66 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval2", + "transfer_day": 110 + }, + "code": "code0", + "payment_mode": "payment_mode6" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata6", + "key2": "metadata5" + }, + "pix_key": "pix_key6" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata1", + "key1": "metadata2", + "key2": "metadata3" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 14, + "delay": 20, + "days": [ + 252 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval2", + "transfer_day": 180 + }, + "code": "code0", + "payment_mode": "payment_mode4" + }, + "gateway_id": "gateway_id0", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee6" + }, + "id": "id0" + }, + { + "type": "type9", + "amount": 125, + "recipient": { + "id": "id3", + "name": "name3", + "email": "email3", + "document": "document3", + "description": "description7", + "type": "type7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id1", + "holder_name": "holder_name7", + "holder_type": "holder_type3", + "bank": "bank9", + "branch_number": "branch_number7", + "branch_check_digit": "branch_check_digit7", + "account_number": "account_number1", + "account_check_digit": "account_check_digit7", + "type": "type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id3", + "name": "name3", + "email": "email3", + "document": "document7", + "description": "description3", + "type": "type7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id1", + "holder_name": "holder_name7", + "holder_type": "holder_type3", + "bank": "bank9", + "branch_number": "branch_number7", + "branch_check_digit": "branch_check_digit7", + "account_number": "account_number1", + "account_check_digit": "account_check_digit7", + "type": "type1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata8", + "key1": "metadata7", + "key2": "metadata6" + }, + "pix_key": "pix_key5" + }, + "gateway_recipients": [ + { + "gateway": "gateway7", + "status": "status9", + "pgid": "pgid3", + "created_at": "created_at5", + "updated_at": "updated_at3" + }, + { + "gateway": "gateway8", + "status": "status0", + "pgid": "pgid4", + "created_at": "created_at6", + "updated_at": "updated_at4" + }, + { + "gateway": "gateway9", + "status": "status1", + "pgid": "pgid5", + "created_at": "created_at7", + "updated_at": "updated_at5" + } + ], + "metadata": { + "key0": "metadata0", + "key1": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 199, + "delay": 91, + "days": [ + 67, + 68 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval1", + "transfer_day": 109 + }, + "code": "code1", + "payment_mode": "payment_mode7" + }, + "metadata": { + "key0": "metadata8", + "key1": "metadata7" + }, + "pix_key": "pix_key5" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata0", + "key1": "metadata1" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 13, + "delay": 21, + "days": [ + 253, + 254 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval1", + "transfer_day": 179 + }, + "code": "code1", + "payment_mode": "payment_mode3" + }, + "gateway_id": "gateway_id9", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee7" + }, + "id": "id1" + } + ] + }, + "boleto": { + "interest": { + "days": 183, + "type": "type9", + "amount": 1 + }, + "fine": { + "days": 107, + "type": "type9", + "amount": 181 + }, + "max_days_to_pay_past_due": 95 + }, + "manual_billing": true + }, + "status": "status3", + "duration": 39, + "created_at": "created_at3", + "updated_at": "updated_at1", + "cycle": 235 + }, + "payment_method": "payment_method3", + "currency": "currency3", + "installments": 223, + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id9", + "last_four_digits": "last_four_digits5", + "brand": "brand3", + "holder_name": "holder_name5", + "exp_month": 201, + "exp_year": 95, + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street1", + "number": "number1", + "zip_code": "zip_code5", + "neighborhood": "neighborhood7", + "city": "city9", + "state": "state3", + "country": "country5", + "complement": "complement3", + "line_1": "line_15", + "line_2": "line_29" + }, + "customer": {}, + "metadata": { + "key0": "metadata4", + "key1": "metadata5" + }, + "type": "type1", + "holder_document": "holder_document7", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits9", + "label": "label9" + }, + "items": [ + {}, + {}, + {} + ], + "statement_descriptor": "statement_descriptor7", + "metadata": { + "key0": "metadata6", + "key1": "metadata7" + }, + "setup": { + "id": "id1", + "description": "description9", + "amount": 9, + "status": "status7" + }, + "gateway_affiliation_id": "gateway_affiliation_id3", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 61, + "minimum_price": 203, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 167, + "split": { + "enabled": true, + "rules": [ + {}, + {}, + {} + ] + }, + "boleto": { + "interest": { + "days": 133, + "type": "type7", + "amount": 207 + }, + "fine": { + "days": 115, + "type": "type5", + "amount": 67 + }, + "max_days_to_pay_past_due": 145 + }, + "manual_billing": true + }, + "subscription_item": {} + }, + { + "id": "id8", + "value": 30.6, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 12, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": { + "id": "id6", + "code": "code4", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval6", + "interval_count": 54, + "billing_type": "billing_type0", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id4", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id0", + "code": "code8", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval8", + "interval_count": 52, + "billing_type": "billing_type6", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id8", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status0", + "duration": 36, + "created_at": "created_at6", + "updated_at": "updated_at4", + "cycle": 232 + }, + "payment_method": "payment_method0", + "currency": "currency0", + "installments": 220, + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id0", + "name": "name0", + "email": "email6", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document6", + "type": "type0", + "fb_access_token": "fb_access_token4", + "address": { + "id": "id6", + "street": "street6", + "number": "number4", + "complement": "complement2", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city6", + "state": "state2", + "country": "country0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id6", + "name": "name6", + "email": "email0", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document0", + "type": "type6", + "fb_access_token": "fb_access_token0", + "address": { + "id": "id2", + "street": "street2", + "number": "number0", + "complement": "complement8", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city2", + "state": "state8", + "country": "country6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata7", + "key1": "metadata6", + "key2": "metadata5" + }, + "line_1": "line_16", + "line_2": "line_20", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2" + }, + "phones": { + "home_phone": { + "country_code": "country_code8", + "number": "number6", + "area_code": "area_code8" + }, + "mobile_phone": { + "country_code": "country_code8", + "number": "number4", + "area_code": "area_code8" + } + }, + "fb_id": 6, + "code": "code4", + "document_type": "document_type4" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2" + }, + "line_1": "line_10", + "line_2": "line_24", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata4", + "key2": "metadata5" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 212, + "code": "code8", + "document_type": "document_type8" + }, + "card": { + "id": "id4", + "last_four_digits": "last_four_digits0", + "brand": "brand8", + "holder_name": "holder_name0", + "exp_month": 142, + "exp_year": 154, + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street4", + "number": "number8", + "zip_code": "zip_code8", + "neighborhood": "neighborhood0", + "city": "city6", + "state": "state0", + "country": "country8", + "complement": "complement0", + "line_1": "line_12", + "line_2": "line_22" + }, + "customer": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata0", + "key2": "metadata1" + }, + "type": "type6", + "holder_document": "holder_document2", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits4", + "label": "label4" + }, + "items": [ + { + "id": "id7", + "description": "description7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 169, + "scheme_type": "scheme_type9", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 73, + "percentage": 84.57 + }, + "discounts": [ + { + "id": "id8", + "value": 82.2, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 52, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id9", + "value": 82.21, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 53, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id6", + "value": 193.48, + "increment_type": "increment_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 84, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id7", + "value": 193.49, + "increment_type": "increment_type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 83, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id8", + "value": 193.5, + "increment_type": "increment_type0", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 82, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name7", + "quantity": 97, + "cycles": 117, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor0", + "metadata": { + "key0": "metadata7" + }, + "setup": { + "id": "id4", + "description": "description4", + "amount": 244, + "status": "status6" + }, + "gateway_affiliation_id": "gateway_affiliation_id6", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 192, + "minimum_price": 206, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 164, + "split": { + "enabled": false, + "rules": [ + { + "type": "type0", + "amount": 124, + "recipient": { + "id": "id2", + "name": "name2", + "email": "email4", + "document": "document4", + "description": "description8", + "type": "type8", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id2", + "name": "name2", + "email": "email4", + "document": "document6", + "description": "description2", + "type": "type8", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + }, + { + "gateway": "gateway7", + "status": "status9", + "pgid": "pgid3", + "created_at": "created_at5", + "updated_at": "updated_at3" + } + ], + "metadata": { + "key0": "metadata9", + "key1": "metadata8", + "key2": "metadata7" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 200, + "delay": 90, + "days": [ + 66 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval2", + "transfer_day": 110 + }, + "code": "code0", + "payment_mode": "payment_mode6" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata6", + "key2": "metadata5" + }, + "pix_key": "pix_key6" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata1", + "key1": "metadata2", + "key2": "metadata3" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 14, + "delay": 20, + "days": [ + 252 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval2", + "transfer_day": 180 + }, + "code": "code0", + "payment_mode": "payment_mode4" + }, + "gateway_id": "gateway_id0", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee6" + }, + "id": "id0" + } + ] + }, + "boleto": { + "interest": { + "days": 182, + "type": "type0", + "amount": 0 + }, + "fine": { + "days": 108, + "type": "type8", + "amount": 182 + }, + "max_days_to_pay_past_due": 96 + }, + "manual_billing": false + }, + "status": "status4", + "duration": 38, + "created_at": "created_at2", + "updated_at": "updated_at0", + "cycle": 234 + }, + "payment_method": "payment_method4", + "currency": "currency4", + "installments": 222, + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id0", + "last_four_digits": "last_four_digits6", + "brand": "brand4", + "holder_name": "holder_name6", + "exp_month": 200, + "exp_year": 96, + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street2", + "number": "number0", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city8", + "state": "state2", + "country": "country6", + "complement": "complement2", + "line_1": "line_14", + "line_2": "line_20" + }, + "customer": {}, + "metadata": { + "key0": "metadata3" + }, + "type": "type0", + "holder_document": "holder_document6", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits0", + "label": "label0" + }, + "items": [ + {}, + {} + ], + "statement_descriptor": "statement_descriptor6", + "metadata": { + "key0": "metadata7", + "key1": "metadata8", + "key2": "metadata9" + }, + "setup": { + "id": "id0", + "description": "description0", + "amount": 10, + "status": "status8" + }, + "gateway_affiliation_id": "gateway_affiliation_id2", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 62, + "minimum_price": 204, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + {} + ], + "boleto_due_days": 166, + "split": { + "enabled": false, + "rules": [ + {}, + {} + ] + }, + "boleto": { + "interest": { + "days": 132, + "type": "type6", + "amount": 206 + }, + "fine": { + "days": 114, + "type": "type6", + "amount": 68 + }, + "max_days_to_pay_past_due": 146 + }, + "manual_billing": false + }, + "subscription_item": {} + } + ], + "increments": [ + {}, + {} + ], + "subscription": {}, + "name": "name6", + "quantity": 56, + "cycles": 180, + "deleted_at": "2016-03-13T12:52:32.123Z" + } } ``` diff --git a/doc/models/get-interest-response.md b/doc/models/get-interest-response.md index 8d89d4f..52796f8 100644 --- a/doc/models/get-interest-response.md +++ b/doc/models/get-interest-response.md @@ -19,9 +19,7 @@ Interest Response ```json { - "days": null, - "type": null, - "amount": null + "type": "\"percentage\" or \"flat\"" } ``` diff --git a/doc/models/get-invoice-item-response.md b/doc/models/get-invoice-item-response.md index 9332d2f..ca940a5 100644 --- a/doc/models/get-invoice-item-response.md +++ b/doc/models/get-invoice-item-response.md @@ -23,13 +23,43 @@ Response object for getting an invoice item ```json { - "amount": null, - "description": null, - "pricing_scheme": null, - "price_bracket": null, - "quantity": null, - "name": null, - "subscription_item_id": null + "amount": 46, + "description": "description0", + "pricing_scheme": { + "price": 166, + "scheme_type": "scheme_type8", + "price_brackets": [ + { + "start_quantity": 119, + "price": 57, + "end_quantity": 127, + "overage_price": 141 + }, + { + "start_quantity": 120, + "price": 58, + "end_quantity": 128, + "overage_price": 142 + }, + { + "start_quantity": 121, + "price": 59, + "end_quantity": 129, + "overage_price": 143 + } + ], + "minimum_price": 6, + "percentage": 251.76 + }, + "price_bracket": { + "start_quantity": 164, + "price": 154, + "end_quantity": 172, + "overage_price": 186 + }, + "quantity": 68, + "name": "name0", + "subscription_item_id": "subscription_item_id4" } ``` diff --git a/doc/models/get-invoice-response.md b/doc/models/get-invoice-response.md index f21ac78..bfbe11e 100644 --- a/doc/models/get-invoice-response.md +++ b/doc/models/get-invoice-response.md @@ -39,29 +39,4527 @@ Response object for getting an invoice ```json { - "id": null, - "code": null, - "url": null, - "amount": null, - "status": null, - "payment_method": null, - "created_at": null, - "items": null, - "customer": null, - "charge": null, - "installments": null, - "billing_address": null, - "subscription": null, - "cycle": null, - "shipping": null, - "metadata": null, - "due_at": null, - "canceled_at": null, - "billing_at": null, - "seen_at": null, - "total_discount": null, - "total_increment": null, - "subscription_id": null + "id": "id0", + "code": "code8", + "url": "url4", + "amount": 46, + "status": "status8", + "payment_method": "payment_method0", + "created_at": "2016-03-13T12:52:32.123Z", + "items": [ + { + "amount": 13, + "description": "description7", + "pricing_scheme": { + "price": 149, + "scheme_type": "scheme_type1", + "price_brackets": [ + { + "start_quantity": 60, + "price": 2, + "end_quantity": 68, + "overage_price": 82 + }, + { + "start_quantity": 61, + "price": 1, + "end_quantity": 69, + "overage_price": 83 + }, + { + "start_quantity": 62, + "price": 0, + "end_quantity": 70, + "overage_price": 84 + } + ], + "minimum_price": 53, + "percentage": 25.89 + }, + "price_bracket": {}, + "quantity": 127, + "name": "name7", + "subscription_item_id": "subscription_item_id1" + }, + { + "amount": 14, + "description": "description8", + "pricing_scheme": { + "price": 150, + "scheme_type": "scheme_type0", + "price_brackets": [ + { + "start_quantity": 59, + "price": 3, + "end_quantity": 67, + "overage_price": 81 + }, + { + "start_quantity": 60, + "price": 2, + "end_quantity": 68, + "overage_price": 82 + } + ], + "minimum_price": 54, + "percentage": 25.88 + }, + "price_bracket": {}, + "quantity": 128, + "name": "name8", + "subscription_item_id": "subscription_item_id2" + } + ], + "customer": { + "id": "id0", + "name": "name0", + "email": "email6", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document6", + "type": "type0", + "fb_access_token": "fb_access_token4", + "address": { + "id": "id6", + "street": "street6", + "number": "number4", + "complement": "complement2", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city6", + "state": "state2", + "country": "country0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id6", + "name": "name6", + "email": "email0", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document0", + "type": "type4", + "fb_access_token": "fb_access_token0", + "address": { + "id": "id2", + "street": "street2", + "number": "number0", + "complement": "complement8", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city2", + "state": "state8", + "country": "country6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata7", + "key1": "metadata6" + }, + "line_1": "line_16", + "line_2": "line_20", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "phones": { + "home_phone": { + "country_code": "country_code8", + "number": "number6", + "area_code": "area_code8" + }, + "mobile_phone": { + "country_code": "country_code2", + "number": "number4", + "area_code": "area_code8" + } + }, + "fb_id": 224, + "code": "code4", + "document_type": "document_type4" + }, + "metadata": { + "key0": "metadata3" + }, + "line_1": "line_10", + "line_2": "line_24", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 174, + "code": "code8", + "document_type": "document_type8" + }, + "charge": { + "id": "id8", + "code": "code6", + "gateway_id": "gateway_id2", + "amount": 80, + "status": "status0", + "currency": "currency8", + "payment_method": "payment_method8", + "due_at": "2016-03-13T12:52:32.123Z", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "last_transaction": { + "gateway_id": "gateway_id0", + "amount": 138, + "status": "status2", + "success": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 114, + "max_attempts": 102, + "splits": [ + { + "type": "type2", + "amount": 70, + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document8", + "description": "description4", + "type": "type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id4", + "name": "name4", + "email": "email8", + "document": "document8", + "description": "description4", + "type": "type4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata3", + "key1": "metadata4" + }, + "pix_key": "pix_key6" + }, + "gateway_recipients": [ + { + "gateway": "gateway8", + "status": "status0", + "pgid": "pgid4", + "created_at": "created_at6", + "updated_at": "updated_at4" + }, + { + "gateway": "gateway9", + "status": "status1", + "pgid": "pgid5", + "created_at": "created_at7", + "updated_at": "updated_at5" + } + ], + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 2, + "delay": 36, + "days": [ + 12 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 128 + }, + "code": "code2", + "payment_mode": "payment_mode8" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata6" + }, + "pix_key": "pix_key6" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 68, + "delay": 222, + "days": [ + 198 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 234 + }, + "code": "code2", + "payment_mode": "payment_mode8" + }, + "gateway_id": "gateway_id2", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee8" + }, + "id": "id2" + }, + { + "type": "type3", + "amount": 71, + "recipient": { + "id": "id5", + "name": "name5", + "email": "email1", + "document": "document9", + "description": "description5", + "type": "type5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id3", + "holder_name": "holder_name9", + "holder_type": "holder_type5", + "bank": "bank1", + "branch_number": "branch_number9", + "branch_check_digit": "branch_check_digit9", + "account_number": "account_number3", + "account_check_digit": "account_check_digit9", + "type": "type3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id5", + "name": "name5", + "email": "email9", + "document": "document9", + "description": "description5", + "type": "type5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id3", + "holder_name": "holder_name9", + "holder_type": "holder_type5", + "bank": "bank1", + "branch_number": "branch_number9", + "branch_check_digit": "branch_check_digit9", + "account_number": "account_number3", + "account_check_digit": "account_check_digit9", + "type": "type3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata4", + "key1": "metadata5", + "key2": "metadata6" + }, + "pix_key": "pix_key7" + }, + "gateway_recipients": [ + { + "gateway": "gateway9", + "status": "status1", + "pgid": "pgid5", + "created_at": "created_at7", + "updated_at": "updated_at5" + }, + { + "gateway": "gateway0", + "status": "status2", + "pgid": "pgid6", + "created_at": "created_at8", + "updated_at": "updated_at6" + }, + { + "gateway": "gateway1", + "status": "status3", + "pgid": "pgid7", + "created_at": "created_at9", + "updated_at": "updated_at7" + } + ], + "metadata": { + "key0": "metadata2", + "key1": "metadata1" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type9", + "volume_percentage": 3, + "delay": 37, + "days": [ + 13, + 14 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval1", + "transfer_day": 129 + }, + "code": "code3", + "payment_mode": "payment_mode9" + }, + "metadata": { + "key0": "metadata6", + "key1": "metadata5", + "key2": "metadata4" + }, + "pix_key": "pix_key7" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata2", + "key1": "metadata1" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type9", + "volume_percentage": 67, + "delay": 223, + "days": [ + 199, + 200 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval9", + "transfer_day": 233 + }, + "code": "code3", + "payment_mode": "payment_mode9" + }, + "gateway_id": "gateway_id3", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee9" + }, + "id": "id3" + }, + { + "type": "type4", + "amount": 72, + "recipient": { + "id": "id6", + "name": "name6", + "email": "email0", + "document": "document0", + "description": "description6", + "type": "type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id4", + "holder_name": "holder_name0", + "holder_type": "holder_type6", + "bank": "bank2", + "branch_number": "branch_number0", + "branch_check_digit": "branch_check_digit0", + "account_number": "account_number4", + "account_check_digit": "account_check_digit0", + "type": "type4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id6", + "name": "name6", + "email": "email0", + "document": "document0", + "description": "description6", + "type": "type6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id4", + "holder_name": "holder_name0", + "holder_type": "holder_type6", + "bank": "bank2", + "branch_number": "branch_number0", + "branch_check_digit": "branch_check_digit0", + "account_number": "account_number4", + "account_check_digit": "account_check_digit0", + "type": "type4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata5" + }, + "pix_key": "pix_key8" + }, + "gateway_recipients": [ + { + "gateway": "gateway0", + "status": "status2", + "pgid": "pgid6", + "created_at": "created_at8", + "updated_at": "updated_at6" + } + ], + "metadata": { + "key0": "metadata3" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type0", + "volume_percentage": 4, + "delay": 38, + "days": [ + 14, + 15, + 16 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval2", + "transfer_day": 130 + }, + "code": "code4", + "payment_mode": "payment_mode0" + }, + "metadata": { + "key0": "metadata5" + }, + "pix_key": "pix_key8" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata3" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type0", + "volume_percentage": 66, + "delay": 224, + "days": [ + 200, + 201, + 202 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval8", + "transfer_day": 232 + }, + "code": "code4", + "payment_mode": "payment_mode0" + }, + "gateway_id": "gateway_id4", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee0" + }, + "id": "id4" + } + ], + "next_attempt": "2016-03-13T12:52:32.123Z", + "transaction_type": "transaction", + "id": "id0", + "gateway_response": { + "code": "code0", + "errors": [ + { + "message": "message7" + }, + { + "message": "message8" + }, + { + "message": "message9" + } + ] + }, + "antifraud_response": { + "status": "status0", + "return_code": "return_code8", + "return_message": "return_message6", + "provider_name": "provider_name6", + "score": "score8" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata2" + }, + "split": [ + {}, + {} + ], + "interest": { + "days": 44, + "type": "type0", + "amount": 118 + }, + "fine": { + "days": 62, + "type": "type2", + "amount": 136 + }, + "max_days_to_pay_past_due": 50 + }, + "invoice": { + "id": "id2", + "code": "code0", + "url": "url6", + "amount": 26, + "status": "status4", + "payment_method": "payment_method8", + "created_at": "2016-03-13T12:52:32.123Z", + "items": [ + { + "amount": 85, + "description": "description9", + "pricing_scheme": { + "price": 67, + "scheme_type": "scheme_type1", + "price_brackets": [ + { + "start_quantity": 142, + "price": 176, + "end_quantity": 150, + "overage_price": 164 + } + ], + "minimum_price": 227, + "percentage": 175.19 + }, + "price_bracket": {}, + "quantity": 199, + "name": "name9", + "subscription_item_id": "subscription_item_id3" + }, + { + "amount": 86, + "description": "description0", + "pricing_scheme": { + "price": 66, + "scheme_type": "scheme_type2", + "price_brackets": [ + { + "start_quantity": 143, + "price": 175, + "end_quantity": 151, + "overage_price": 165 + }, + { + "start_quantity": 144, + "price": 174, + "end_quantity": 152, + "overage_price": 166 + } + ], + "minimum_price": 226, + "percentage": 175.2 + }, + "price_bracket": {}, + "quantity": 200, + "name": "name0", + "subscription_item_id": "subscription_item_id4" + }, + { + "amount": 87, + "description": "description1", + "pricing_scheme": { + "price": 65, + "scheme_type": "scheme_type3", + "price_brackets": [ + { + "start_quantity": 144, + "price": 174, + "end_quantity": 152, + "overage_price": 166 + }, + { + "start_quantity": 145, + "price": 173, + "end_quantity": 153, + "overage_price": 167 + }, + { + "start_quantity": 146, + "price": 172, + "end_quantity": 154, + "overage_price": 168 + } + ], + "minimum_price": 225, + "percentage": 175.21 + }, + "price_bracket": {}, + "quantity": 201, + "name": "name1", + "subscription_item_id": "subscription_item_id5" + } + ], + "customer": { + "id": "id2", + "name": "name2", + "email": "email4", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document6", + "type": "type8", + "fb_access_token": "fb_access_token6", + "address": { + "id": "id8", + "street": "street8", + "number": "number6", + "complement": "complement4", + "zip_code": "zip_code2", + "neighborhood": "neighborhood4", + "city": "city8", + "state": "state4", + "country": "country2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id8", + "name": "name8", + "email": "email2", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document2", + "type": "type8", + "fb_access_token": "fb_access_token2", + "address": { + "id": "id4", + "street": "street4", + "number": "number2", + "complement": "complement0", + "zip_code": "zip_code8", + "neighborhood": "neighborhood0", + "city": "city4", + "state": "state0", + "country": "country8", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata6" + }, + "line_1": "line_18", + "line_2": "line_22", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata5", + "key1": "metadata4", + "key2": "metadata3" + }, + "phones": { + "home_phone": { + "country_code": "country_code0", + "number": "number8", + "area_code": "area_code0" + }, + "mobile_phone": { + "country_code": "country_code0", + "number": "number2", + "area_code": "area_code0" + } + }, + "fb_id": 108, + "code": "code6", + "document_type": "document_type6" + }, + "metadata": { + "key0": "metadata1" + }, + "line_1": "line_12", + "line_2": "line_26", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata9" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 58, + "code": "code0", + "document_type": "document_type0" + }, + "charge": { + "id": "id6", + "code": "code4", + "gateway_id": "gateway_id4", + "amount": 248, + "status": "status2", + "currency": "currency4", + "payment_method": "payment_method4", + "due_at": "2016-03-13T12:52:32.123Z", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "last_transaction": { + "gateway_id": "gateway_id8", + "amount": 66, + "status": "status0", + "success": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 42, + "max_attempts": 30, + "splits": [ + {}, + {} + ], + "next_attempt": "2016-03-13T12:52:32.123Z", + "transaction_type": "transaction", + "id": "id8", + "gateway_response": { + "code": "code8", + "errors": [ + {}, + {} + ] + }, + "antifraud_response": { + "status": "status8", + "return_code": "return_code6", + "return_message": "return_message4", + "provider_name": "provider_name4", + "score": "score6" + }, + "metadata": { + "key0": "metadata5" + }, + "split": [ + {} + ], + "interest": { + "days": 44, + "type": "type8", + "amount": 118 + }, + "fine": { + "days": 246, + "type": "type0", + "amount": 64 + }, + "max_days_to_pay_past_due": 234 + }, + "invoice": { + "id": "id0", + "code": "code8", + "url": "url4", + "amount": 46, + "status": "status8", + "payment_method": "payment_method0", + "created_at": "2016-03-13T12:52:32.123Z", + "items": [ + {}, + {} + ], + "customer": {}, + "charge": {}, + "installments": 250, + "billing_address": { + "street": "street8", + "number": "number4", + "zip_code": "zip_code2", + "neighborhood": "neighborhood4", + "city": "city2", + "state": "state6", + "country": "country2", + "complement": "complement6", + "line_1": "line_18", + "line_2": "line_26" + }, + "subscription": { + "id": "id4", + "code": "code2", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval2", + "interval_count": 234, + "billing_type": "billing_type8", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id2", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id8", + "code": "code6", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval6", + "interval_count": 36, + "billing_type": "billing_type8", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id6", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status8", + "duration": 20, + "created_at": "created_at4", + "updated_at": "updated_at2", + "cycle": 216 + }, + "payment_method": "payment_method2", + "currency": "currency8", + "installments": 204, + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id8", + "last_four_digits": "last_four_digits4", + "brand": "brand2", + "holder_name": "holder_name4", + "exp_month": 182, + "exp_year": 114, + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street0", + "number": "number2", + "zip_code": "zip_code4", + "neighborhood": "neighborhood6", + "city": "city0", + "state": "state4", + "country": "country4", + "complement": "complement4", + "line_1": "line_16", + "line_2": "line_28" + }, + "customer": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata6" + }, + "type": "type2", + "holder_document": "holder_document8", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits8", + "label": "label8" + }, + "items": [ + { + "id": "id5", + "description": "description5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id6", + "value": 169.08, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 36, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": { + "id": "id2", + "description": "description2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id3", + "value": 204.15, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 215, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 204.16, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 216, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 204.17, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 217, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id1", + "value": 59.43, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 79, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name2", + "quantity": 4, + "cycles": 24, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {} + ], + "subscription": {}, + "name": "name5", + "quantity": 81, + "cycles": 155, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id6", + "description": "description6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id7", + "value": 169.09, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 37, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": { + "id": "id3", + "description": "description3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id4", + "value": 204.16, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 216, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id2", + "value": 59.44, + "increment_type": "increment_type4", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 80, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id3", + "value": 59.45, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 81, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name3", + "quantity": 5, + "cycles": 25, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id8", + "value": 169.1, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 38, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": { + "id": "id4", + "description": "description4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id5", + "value": 204.17, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 217, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 204.18, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 218, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id3", + "value": 59.45, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 81, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 59.46, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 82, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 59.47, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 83, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name4", + "quantity": 6, + "cycles": 26, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {}, + {} + ], + "subscription": {}, + "name": "name6", + "quantity": 82, + "cycles": 154, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id7", + "description": "description7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id8", + "value": 169.1, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 38, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": { + "id": "id4", + "description": "description4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id5", + "value": 204.17, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 217, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 204.18, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 218, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id3", + "value": 59.45, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 81, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 59.46, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 82, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 59.47, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 83, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name4", + "quantity": 6, + "cycles": 26, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id9", + "value": 169.11, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 39, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": { + "id": "id5", + "description": "description5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id6", + "value": 204.18, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 218, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id7", + "value": 204.19, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 219, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id8", + "value": 204.2, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 220, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id4", + "value": 59.46, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 82, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name5", + "quantity": 7, + "cycles": 27, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id0", + "value": 169.12, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 40, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": { + "id": "id6", + "description": "description6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id7", + "value": 204.19, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 219, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id5", + "value": 59.47, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 83, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 59.48, + "increment_type": "increment_type8", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 84, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name6", + "quantity": 8, + "cycles": 28, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {} + ], + "subscription": {}, + "name": "name7", + "quantity": 83, + "cycles": 153, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor8", + "metadata": { + "key0": "metadata5", + "key1": "metadata6" + }, + "setup": { + "id": "id2", + "description": "description8", + "amount": 228, + "status": "status6" + }, + "gateway_affiliation_id": "gateway_affiliation_id4", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 80, + "minimum_price": 222, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 148, + "split": { + "enabled": false, + "rules": [ + {}, + {}, + {} + ] + }, + "boleto": { + "interest": {}, + "fine": {}, + "max_days_to_pay_past_due": 80 + }, + "manual_billing": false + }, + "status": "status4", + "duration": 218, + "created_at": "created_at0", + "updated_at": "updated_at8", + "cycle": 158 + }, + "payment_method": "payment_method4", + "currency": "currency4", + "installments": 146, + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id8", + "last_four_digits": "last_four_digits4", + "brand": "brand2", + "holder_name": "holder_name4", + "exp_month": 216, + "exp_year": 80, + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": {}, + "customer": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata4" + }, + "type": "type2", + "holder_document": "holder_document2", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits8", + "label": "label8" + }, + "items": [ + {}, + {} + ], + "statement_descriptor": "statement_descriptor4", + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "setup": { + "id": "id8", + "description": "description8", + "amount": 170, + "status": "status0" + }, + "gateway_affiliation_id": "gateway_affiliation_id0", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 118, + "minimum_price": 232, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + {} + ], + "boleto_due_days": 90, + "split": { + "enabled": false, + "rules": [ + {}, + {} + ] + }, + "boleto": { + "interest": {}, + "fine": {}, + "max_days_to_pay_past_due": 22 + }, + "manual_billing": false + }, + "cycle": {}, + "shipping": { + "amount": 52, + "description": "description6", + "recipient_name": "recipient_name2", + "recipient_phone": "recipient_phone6", + "address": {}, + "max_delivery_date": "2016-03-13T12:52:32.123Z", + "estimated_delivery_date": "2016-03-13T12:52:32.123Z", + "type": "type6" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata4", + "key2": "metadata5" + }, + "due_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "billing_at": "2016-03-13T12:52:32.123Z", + "seen_at": "2016-03-13T12:52:32.123Z", + "total_discount": 62, + "total_increment": 134, + "subscription_id": "subscription_id0" + }, + "order": { + "id": "id0", + "code": "code8", + "currency": "currency0", + "items": [ + { + "id": "id7", + "amount": 247, + "description": "description7", + "quantity": 105, + "category": "category5", + "code": "code5" + } + ], + "customer": {}, + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "charges": [ + {}, + {} + ], + "invoice_url": "invoice_url2", + "shipping": { + "amount": 30, + "description": "description4", + "recipient_name": "recipient_name2", + "recipient_phone": "recipient_phone6", + "address": {}, + "max_delivery_date": "2016-03-13T12:52:32.123Z", + "estimated_delivery_date": "2016-03-13T12:52:32.123Z", + "type": "type4" + }, + "metadata": { + "key0": "metadata7" + }, + "checkouts": [ + { + "id": "id7", + "amount": 197, + "default_payment_method": "default_payment_method7", + "success_url": "success_url9", + "payment_url": "payment_url1", + "gateway_affiliation_id": "gateway_affiliation_id3", + "accepted_payment_methods": [ + "accepted_payment_methods0", + "accepted_payment_methods1" + ], + "status": "status9", + "skip_checkout_success_page": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "customer_editable": true, + "customer": {}, + "billingaddress": {}, + "credit_card": { + "statementDescriptor": "statementDescriptor1", + "installments": [ + { + "number": "number8", + "total": 154 + }, + { + "number": "number9", + "total": 155 + }, + { + "number": "number0", + "total": 156 + } + ], + "authentication": { + "type": "type7", + "threed_secure": { + "mpi": "mpi3", + "eci": "eci5", + "cavv": "cavv1", + "transaction_Id": "transaction_Id1", + "success_url": "success_url7" + } + } + }, + "boleto": { + "due_at": "2016-03-13T12:52:32.123Z", + "instructions": "instructions5" + }, + "billing_address_editable": true, + "shipping": {}, + "shippable": true, + "closed_at": "2016-03-13T12:52:32.123Z", + "expires_at": "2016-03-13T12:52:32.123Z", + "currency": "currency7", + "debit_card": { + "statement_descriptor": "statement_descriptor1", + "authentication": { + "type": "type3", + "threed_secure": { + "mpi": "mpi9", + "eci": "eci1", + "cavv": "cavv7", + "transaction_Id": "transaction_Id7", + "success_url": "success_url3" + } + } + }, + "bank_transfer": { + "bank": [ + "bank2", + "bank3" + ] + }, + "accepted_brands": [ + "accepted_brands3", + "accepted_brands4" + ], + "pix": { + "expires_at": "2016-03-13T12:52:32.123Z", + "additional_information": [ + { + "Name": "Name4", + "Value": "Value2" + }, + { + "Name": "Name5", + "Value": "Value3" + } + ] + } + }, + { + "id": "id8", + "amount": 198, + "default_payment_method": "default_payment_method8", + "success_url": "success_url0", + "payment_url": "payment_url2", + "gateway_affiliation_id": "gateway_affiliation_id4", + "accepted_payment_methods": [ + "accepted_payment_methods1", + "accepted_payment_methods2", + "accepted_payment_methods3" + ], + "status": "status0", + "skip_checkout_success_page": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "customer_editable": false, + "customer": {}, + "billingaddress": {}, + "credit_card": { + "statementDescriptor": "statementDescriptor2", + "installments": [ + { + "number": "number9", + "total": 155 + } + ], + "authentication": { + "type": "type8", + "threed_secure": { + "mpi": "mpi4", + "eci": "eci6", + "cavv": "cavv2", + "transaction_Id": "transaction_Id2", + "success_url": "success_url8" + } + } + }, + "boleto": { + "due_at": "2016-03-13T12:52:32.123Z", + "instructions": "instructions6" + }, + "billing_address_editable": false, + "shipping": {}, + "shippable": false, + "closed_at": "2016-03-13T12:52:32.123Z", + "expires_at": "2016-03-13T12:52:32.123Z", + "currency": "currency8", + "debit_card": { + "statement_descriptor": "statement_descriptor2", + "authentication": { + "type": "type4", + "threed_secure": { + "mpi": "mpi0", + "eci": "eci2", + "cavv": "cavv8", + "transaction_Id": "transaction_Id8", + "success_url": "success_url4" + } + } + }, + "bank_transfer": { + "bank": [ + "bank3", + "bank4", + "bank5" + ] + }, + "accepted_brands": [ + "accepted_brands4", + "accepted_brands5", + "accepted_brands6" + ], + "pix": { + "expires_at": "2016-03-13T12:52:32.123Z", + "additional_information": [ + { + "Name": "Name5", + "Value": "Value3" + }, + { + "Name": "Name6", + "Value": "Value4" + }, + { + "Name": "Name7", + "Value": "Value5" + } + ] + } + }, + { + "id": "id9", + "amount": 199, + "default_payment_method": "default_payment_method9", + "success_url": "success_url1", + "payment_url": "payment_url3", + "gateway_affiliation_id": "gateway_affiliation_id5", + "accepted_payment_methods": [ + "accepted_payment_methods2" + ], + "status": "status1", + "skip_checkout_success_page": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "customer_editable": true, + "customer": {}, + "billingaddress": {}, + "credit_card": { + "statementDescriptor": "statementDescriptor3", + "installments": [ + { + "number": "number0", + "total": 156 + }, + { + "number": "number1", + "total": 157 + } + ], + "authentication": { + "type": "type9", + "threed_secure": { + "mpi": "mpi5", + "eci": "eci7", + "cavv": "cavv3", + "transaction_Id": "transaction_Id3", + "success_url": "success_url9" + } + } + }, + "boleto": { + "due_at": "2016-03-13T12:52:32.123Z", + "instructions": "instructions7" + }, + "billing_address_editable": true, + "shipping": {}, + "shippable": true, + "closed_at": "2016-03-13T12:52:32.123Z", + "expires_at": "2016-03-13T12:52:32.123Z", + "currency": "currency9", + "debit_card": { + "statement_descriptor": "statement_descriptor3", + "authentication": { + "type": "type5", + "threed_secure": { + "mpi": "mpi1", + "eci": "eci3", + "cavv": "cavv9", + "transaction_Id": "transaction_Id9", + "success_url": "success_url5" + } + } + }, + "bank_transfer": { + "bank": [ + "bank4" + ] + }, + "accepted_brands": [ + "accepted_brands5" + ], + "pix": { + "expires_at": "2016-03-13T12:52:32.123Z", + "additional_information": [ + { + "Name": "Name6", + "Value": "Value4" + } + ] + } + } + ], + "ip": "ip4", + "session_id": "session_id2", + "location": { + "latitude": "latitude8", + "longitude": "longitude8" + }, + "device": { + "platform": "platform0" + }, + "closed": false + }, + "customer": {}, + "metadata": { + "key0": "metadata7", + "key1": "metadata8", + "key2": "metadata9" + }, + "paid_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "canceled_amount": 118, + "paid_amount": 156, + "interest_and_fine_paid": 104, + "recurrency_cycle": "recurrency_cycle0" + }, + "installments": 66, + "billing_address": {}, + "subscription": {}, + "cycle": {}, + "shipping": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "due_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "billing_at": "2016-03-13T12:52:32.123Z", + "seen_at": "2016-03-13T12:52:32.123Z", + "total_discount": 134, + "total_increment": 206, + "subscription_id": "subscription_id2" + }, + "order": { + "id": "id8", + "code": "code6", + "currency": "currency2", + "items": [ + {}, + {}, + {} + ], + "customer": {}, + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "charges": [ + {} + ], + "invoice_url": "invoice_url0", + "shipping": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata6" + }, + "checkouts": [ + {}, + {} + ], + "ip": "ip2", + "session_id": "session_id0", + "location": { + "latitude": "latitude4", + "longitude": "longitude6" + }, + "device": { + "platform": "platform2" + }, + "closed": false + }, + "customer": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata4" + }, + "paid_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "canceled_amount": 190, + "paid_amount": 172, + "interest_and_fine_paid": 176, + "recurrency_cycle": "recurrency_cycle2" + }, + "installments": 250, + "billing_address": { + "street": "street8", + "number": "number4", + "zip_code": "zip_code2", + "neighborhood": "neighborhood4", + "city": "city2", + "state": "state6", + "country": "country2", + "complement": "complement6", + "line_1": "line_18", + "line_2": "line_26" + }, + "subscription": { + "id": "id4", + "code": "code2", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval2", + "interval_count": 234, + "billing_type": "billing_type8", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id2", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id8", + "code": "code6", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval6", + "interval_count": 36, + "billing_type": "billing_type8", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id6", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status8", + "duration": 20, + "created_at": "created_at4", + "updated_at": "updated_at2", + "cycle": 216 + }, + "payment_method": "payment_method2", + "currency": "currency8", + "installments": 204, + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id8", + "name": "name8", + "email": "email8", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document8", + "type": "type2", + "fb_access_token": "fb_access_token2", + "address": { + "id": "id4", + "street": "street4", + "number": "number2", + "complement": "complement0", + "zip_code": "zip_code8", + "neighborhood": "neighborhood0", + "city": "city4", + "state": "state0", + "country": "country8", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id4", + "name": "name4", + "email": "email2", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document8", + "type": "type6", + "fb_access_token": "fb_access_token8", + "address": { + "id": "id0", + "street": "street0", + "number": "number8", + "complement": "complement6", + "zip_code": "zip_code4", + "neighborhood": "neighborhood6", + "city": "city0", + "state": "state6", + "country": "country4", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "line_1": "line_14", + "line_2": "line_28", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "phones": { + "home_phone": { + "country_code": "country_code6", + "number": "number4", + "area_code": "area_code6" + }, + "mobile_phone": { + "country_code": "country_code4", + "number": "number6", + "area_code": "area_code6" + } + }, + "fb_id": 246, + "code": "code2", + "document_type": "document_type2" + }, + "metadata": { + "key0": "metadata1" + }, + "line_1": "line_18", + "line_2": "line_22", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata5" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 196, + "code": "code6", + "document_type": "document_type6" + }, + "card": { + "id": "id8", + "last_four_digits": "last_four_digits4", + "brand": "brand2", + "holder_name": "holder_name4", + "exp_month": 182, + "exp_year": 114, + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street0", + "number": "number2", + "zip_code": "zip_code4", + "neighborhood": "neighborhood6", + "city": "city0", + "state": "state4", + "country": "country4", + "complement": "complement4", + "line_1": "line_16", + "line_2": "line_28" + }, + "customer": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata6" + }, + "type": "type2", + "holder_document": "holder_document8", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits8", + "label": "label8" + }, + "items": [ + { + "id": "id5", + "description": "description5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 103, + "scheme_type": "scheme_type3", + "price_brackets": [ + { + "start_quantity": 106, + "price": 212, + "end_quantity": 114, + "overage_price": 128 + }, + { + "start_quantity": 107, + "price": 211, + "end_quantity": 115, + "overage_price": 129 + } + ], + "minimum_price": 7, + "percentage": 92.91 + }, + "discounts": [ + { + "id": "id6", + "value": 169.08, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 36, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": { + "id": "id2", + "description": "description2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 6, + "scheme_type": "scheme_type4", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 90, + "percentage": 206.52 + }, + "discounts": [ + { + "id": "id3", + "value": 204.15, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 215, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 204.16, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 216, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 204.17, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 217, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id1", + "value": 59.43, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 79, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name2", + "quantity": 4, + "cycles": 24, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {} + ], + "subscription": {}, + "name": "name5", + "quantity": 81, + "cycles": 155, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id6", + "description": "description6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 104, + "scheme_type": "scheme_type2", + "price_brackets": [ + { + "start_quantity": 105, + "price": 213, + "end_quantity": 113, + "overage_price": 127 + } + ], + "minimum_price": 8, + "percentage": 92.9 + }, + "discounts": [ + { + "id": "id7", + "value": 169.09, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 37, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": { + "id": "id3", + "description": "description3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 5, + "scheme_type": "scheme_type5", + "price_brackets": [ + {} + ], + "minimum_price": 91, + "percentage": 206.53 + }, + "discounts": [ + { + "id": "id4", + "value": 204.16, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 216, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id2", + "value": 59.44, + "increment_type": "increment_type4", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 80, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id3", + "value": 59.45, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 81, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name3", + "quantity": 5, + "cycles": 25, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id8", + "value": 169.1, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 38, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": { + "id": "id4", + "description": "description4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 4, + "scheme_type": "scheme_type6", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 92, + "percentage": 206.54 + }, + "discounts": [ + { + "id": "id5", + "value": 204.17, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 217, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 204.18, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 218, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id3", + "value": 59.45, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 81, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 59.46, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 82, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 59.47, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 83, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name4", + "quantity": 6, + "cycles": 26, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {}, + {} + ], + "subscription": {}, + "name": "name6", + "quantity": 82, + "cycles": 154, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id7", + "description": "description7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 105, + "scheme_type": "scheme_type1", + "price_brackets": [ + { + "start_quantity": 104, + "price": 214, + "end_quantity": 112, + "overage_price": 126 + }, + { + "start_quantity": 105, + "price": 213, + "end_quantity": 113, + "overage_price": 127 + }, + { + "start_quantity": 106, + "price": 212, + "end_quantity": 114, + "overage_price": 128 + } + ], + "minimum_price": 9, + "percentage": 92.89 + }, + "discounts": [ + { + "id": "id8", + "value": 169.1, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 38, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": { + "id": "id4", + "description": "description4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 4, + "scheme_type": "scheme_type6", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 92, + "percentage": 206.54 + }, + "discounts": [ + { + "id": "id5", + "value": 204.17, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 217, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 204.18, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 218, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id3", + "value": 59.45, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 81, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 59.46, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 82, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 59.47, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 83, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name4", + "quantity": 6, + "cycles": 26, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id9", + "value": 169.11, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 39, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": { + "id": "id5", + "description": "description5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 3, + "scheme_type": "scheme_type7", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 93, + "percentage": 206.55 + }, + "discounts": [ + { + "id": "id6", + "value": 204.18, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 218, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id7", + "value": 204.19, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 219, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id8", + "value": 204.2, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 220, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id4", + "value": 59.46, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 82, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name5", + "quantity": 7, + "cycles": 27, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id0", + "value": 169.12, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 40, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": { + "id": "id6", + "description": "description6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 2, + "scheme_type": "scheme_type8", + "price_brackets": [ + {} + ], + "minimum_price": 94, + "percentage": 206.56 + }, + "discounts": [ + { + "id": "id7", + "value": 204.19, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 219, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id5", + "value": 59.47, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 83, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 59.48, + "increment_type": "increment_type8", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 84, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name6", + "quantity": 8, + "cycles": 28, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {} + ], + "subscription": {}, + "name": "name7", + "quantity": 83, + "cycles": 153, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor8", + "metadata": { + "key0": "metadata5", + "key1": "metadata6" + }, + "setup": { + "id": "id2", + "description": "description8", + "amount": 228, + "status": "status6" + }, + "gateway_affiliation_id": "gateway_affiliation_id4", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 80, + "minimum_price": 222, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 148, + "split": { + "enabled": false, + "rules": [ + { + "type": "type2", + "amount": 108, + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document6", + "description": "description0", + "type": "type0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document6", + "description": "description0", + "type": "type0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata4" + }, + "pix_key": "pix_key8" + }, + "gateway_recipients": [ + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + }, + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + }, + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + } + ], + "metadata": { + "key0": "metadata3", + "key1": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 100, + "delay": 190, + "days": [ + 166, + 167 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 10 + }, + "code": "code8", + "payment_mode": "payment_mode6" + }, + "metadata": { + "key0": "metadata5", + "key1": "metadata4" + }, + "pix_key": "pix_key8" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata3", + "key1": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 170, + "delay": 120, + "days": [ + 96, + 97 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 80 + }, + "code": "code8", + "payment_mode": "payment_mode6" + }, + "gateway_id": "gateway_id2", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee2" + }, + "id": "id8" + }, + { + "type": "type1", + "amount": 109, + "recipient": { + "id": "id9", + "name": "name9", + "email": "email7", + "document": "document7", + "description": "description1", + "type": "type1", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type3", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id9", + "name": "name9", + "email": "email7", + "document": "document7", + "description": "description9", + "type": "type1", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata4", + "key1": "metadata3", + "key2": "metadata2" + }, + "pix_key": "pix_key9" + }, + "gateway_recipients": [ + { + "gateway": "gateway3", + "status": "status5", + "pgid": "pgid9", + "created_at": "created_at1", + "updated_at": "updated_at9" + }, + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + } + ], + "metadata": { + "key0": "metadata4", + "key1": "metadata5", + "key2": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type7", + "volume_percentage": 101, + "delay": 189, + "days": [ + 165 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 11 + }, + "code": "code7", + "payment_mode": "payment_mode7" + }, + "metadata": { + "key0": "metadata4", + "key1": "metadata3", + "key2": "metadata2" + }, + "pix_key": "pix_key9" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata4", + "key1": "metadata5", + "key2": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type7", + "volume_percentage": 171, + "delay": 119, + "days": [ + 95 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 81 + }, + "code": "code7", + "payment_mode": "payment_mode7" + }, + "gateway_id": "gateway_id1", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee1" + }, + "id": "id9" + }, + { + "type": "type0", + "amount": 110, + "recipient": { + "id": "id8", + "name": "name8", + "email": "email8", + "document": "document8", + "description": "description2", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id8", + "name": "name8", + "email": "email8", + "document": "document8", + "description": "description8", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata3" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + { + "gateway": "gateway2", + "status": "status4", + "pgid": "pgid8", + "created_at": "created_at0", + "updated_at": "updated_at8" + } + ], + "metadata": { + "key0": "metadata5" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 102, + "delay": 188, + "days": [ + 164, + 165, + 166 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 12 + }, + "code": "code6", + "payment_mode": "payment_mode8" + }, + "metadata": { + "key0": "metadata3" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata5" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 172, + "delay": 118, + "days": [ + 94, + 95, + 96 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 82 + }, + "code": "code6", + "payment_mode": "payment_mode8" + }, + "gateway_id": "gateway_id0", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee0" + }, + "id": "id0" + } + ] + }, + "boleto": { + "interest": { + "days": 198, + "type": "type2", + "amount": 16 + }, + "fine": { + "days": 92, + "type": "type0", + "amount": 90 + }, + "max_days_to_pay_past_due": 80 + }, + "manual_billing": false + }, + "status": "status4", + "duration": 218, + "created_at": "created_at0", + "updated_at": "updated_at8", + "cycle": 158 + }, + "payment_method": "payment_method4", + "currency": "currency4", + "installments": 146, + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id8", + "last_four_digits": "last_four_digits4", + "brand": "brand2", + "holder_name": "holder_name4", + "exp_month": 216, + "exp_year": 80, + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street0", + "number": "number2", + "zip_code": "zip_code4", + "neighborhood": "neighborhood6", + "city": "city0", + "state": "state4", + "country": "country4", + "complement": "complement4", + "line_1": "line_16", + "line_2": "line_28" + }, + "customer": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata4" + }, + "type": "type2", + "holder_document": "holder_document2", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits8", + "label": "label8" + }, + "items": [ + {}, + {} + ], + "statement_descriptor": "statement_descriptor4", + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "setup": { + "id": "id8", + "description": "description8", + "amount": 170, + "status": "status0" + }, + "gateway_affiliation_id": "gateway_affiliation_id0", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 118, + "minimum_price": 232, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + {} + ], + "boleto_due_days": 90, + "split": { + "enabled": false, + "rules": [ + {}, + {} + ] + }, + "boleto": { + "interest": { + "days": 0, + "type": "type4", + "amount": 74 + }, + "fine": { + "days": 34, + "type": "type4", + "amount": 108 + }, + "max_days_to_pay_past_due": 22 + }, + "manual_billing": false + }, + "cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id0", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id4", + "code": "code2", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval2", + "interval_count": 182, + "billing_type": "billing_type2", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id2", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id2", + "code": "code0", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval0", + "interval_count": 180, + "billing_type": "billing_type4", + "current_cycle": {}, + "payment_method": "payment_method8", + "currency": "currency2", + "installments": 92, + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id2", + "name": "name2", + "email": "email4", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document4", + "type": "type8", + "fb_access_token": "fb_access_token6", + "address": { + "id": "id8", + "street": "street8", + "number": "number6", + "complement": "complement4", + "zip_code": "zip_code2", + "neighborhood": "neighborhood4", + "city": "city8", + "state": "state4", + "country": "country2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id8", + "name": "name8", + "email": "email8", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document2", + "type": "type2", + "fb_access_token": "fb_access_token2", + "address": { + "id": "id4", + "street": "street4", + "number": "number2", + "complement": "complement0", + "zip_code": "zip_code8", + "neighborhood": "neighborhood0", + "city": "city4", + "state": "state0", + "country": "country8", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata5" + }, + "line_1": "line_18", + "line_2": "line_22", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata5" + }, + "phones": { + "home_phone": { + "country_code": "country_code0", + "number": "number8", + "area_code": "area_code0" + }, + "mobile_phone": { + "country_code": "country_code0", + "number": "number2", + "area_code": "area_code0" + } + }, + "fb_id": 134, + "code": "code6", + "document_type": "document_type6" + }, + "metadata": { + "key0": "metadata5", + "key1": "metadata4" + }, + "line_1": "line_12", + "line_2": "line_26", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata2" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 84, + "code": "code0", + "document_type": "document_type0" + }, + "card": { + "id": "id4", + "last_four_digits": "last_four_digits0", + "brand": "brand8", + "holder_name": "holder_name0", + "exp_month": 70, + "exp_year": 226, + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street4", + "number": "number8", + "zip_code": "zip_code8", + "neighborhood": "neighborhood0", + "city": "city6", + "state": "state0", + "country": "country8", + "complement": "complement0", + "line_1": "line_12", + "line_2": "line_22" + }, + "customer": {}, + "metadata": { + "key0": "metadata9" + }, + "type": "type6", + "holder_document": "holder_document2", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits4", + "label": "label4" + }, + "items": [ + { + "id": "id9", + "description": "description9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 247, + "scheme_type": "scheme_type9", + "price_brackets": [ + { + "start_quantity": 218, + "price": 100, + "end_quantity": 226, + "overage_price": 240 + }, + { + "start_quantity": 219, + "price": 99, + "end_quantity": 227, + "overage_price": 241 + }, + { + "start_quantity": 220, + "price": 98, + "end_quantity": 228, + "overage_price": 242 + } + ], + "minimum_price": 151, + "percentage": 78.67 + }, + "discounts": [ + { + "id": "id0", + "value": 183.32, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 180, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": { + "id": "id6", + "description": "description6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 138, + "scheme_type": "scheme_type8", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 234, + "percentage": 220.76 + }, + "discounts": [ + { + "id": "id7", + "value": 218.39, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 103, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id8", + "value": 218.4, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 104, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id5", + "value": 73.67, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 223, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 73.68, + "increment_type": "increment_type8", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 224, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id7", + "value": 73.69, + "increment_type": "increment_type9", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 225, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name6", + "quantity": 148, + "cycles": 168, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id1", + "value": 183.33, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 181, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": { + "id": "id7", + "description": "description7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 139, + "scheme_type": "scheme_type9", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 235, + "percentage": 220.77 + }, + "discounts": [ + { + "id": "id8", + "value": 218.4, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 104, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id9", + "value": 218.41, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 105, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id0", + "value": 218.42, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 106, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id6", + "value": 73.68, + "increment_type": "increment_type8", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 224, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name7", + "quantity": 149, + "cycles": 169, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id2", + "value": 183.34, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 182, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": { + "id": "id8", + "description": "description8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 140, + "scheme_type": "scheme_type0", + "price_brackets": [ + {} + ], + "minimum_price": 236, + "percentage": 220.78 + }, + "discounts": [ + { + "id": "id9", + "value": 218.41, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 105, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id7", + "value": 73.69, + "increment_type": "increment_type9", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 225, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id8", + "value": 73.7, + "increment_type": "increment_type0", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 226, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name8", + "quantity": 150, + "cycles": 170, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {} + ], + "subscription": {}, + "name": "name9", + "quantity": 225, + "cycles": 11, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id0", + "description": "description0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 248, + "scheme_type": "scheme_type8", + "price_brackets": [ + { + "start_quantity": 217, + "price": 101, + "end_quantity": 225, + "overage_price": 239 + }, + { + "start_quantity": 218, + "price": 100, + "end_quantity": 226, + "overage_price": 240 + } + ], + "minimum_price": 152, + "percentage": 78.66 + }, + "discounts": [ + { + "id": "id1", + "value": 183.33, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 181, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": { + "id": "id7", + "description": "description7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 139, + "scheme_type": "scheme_type9", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 235, + "percentage": 220.77 + }, + "discounts": [ + { + "id": "id8", + "value": 218.4, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 104, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id9", + "value": 218.41, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 105, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id0", + "value": 218.42, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 106, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id6", + "value": 73.68, + "increment_type": "increment_type8", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 224, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name7", + "quantity": 149, + "cycles": 169, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {} + ], + "subscription": {}, + "name": "name0", + "quantity": 226, + "cycles": 10, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor2", + "metadata": { + "key0": "metadata1", + "key1": "metadata2", + "key2": "metadata3" + }, + "setup": { + "id": "id6", + "description": "description4", + "amount": 116, + "status": "status2" + }, + "gateway_affiliation_id": "gateway_affiliation_id8", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 192, + "minimum_price": 78, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + {} + ], + "boleto_due_days": 36, + "split": { + "enabled": false, + "rules": [ + { + "type": "type8", + "amount": 252, + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document2", + "description": "description6", + "type": "type6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type8", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document2", + "description": "description4", + "type": "type6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + { + "gateway": "gateway8", + "status": "status0", + "pgid": "pgid4", + "created_at": "created_at6", + "updated_at": "updated_at4" + }, + { + "gateway": "gateway9", + "status": "status1", + "pgid": "pgid5", + "created_at": "created_at7", + "updated_at": "updated_at5" + }, + { + "gateway": "gateway0", + "status": "status2", + "pgid": "pgid6", + "created_at": "created_at8", + "updated_at": "updated_at6" + } + ], + "metadata": { + "key0": "metadata9", + "key1": "metadata0" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 72, + "delay": 218, + "days": [ + 194, + 195 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 238 + }, + "code": "code2", + "payment_mode": "payment_mode2" + }, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata9", + "key1": "metadata0" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 142, + "delay": 148, + "days": [ + 124, + 125 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 52 + }, + "code": "code2", + "payment_mode": "payment_mode2" + }, + "gateway_id": "gateway_id8", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee8" + }, + "id": "id2" + }, + { + "type": "type7", + "amount": 253, + "recipient": { + "id": "id5", + "name": "name5", + "email": "email1", + "document": "document1", + "description": "description5", + "type": "type5", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id3", + "holder_name": "holder_name9", + "holder_type": "holder_type5", + "bank": "bank1", + "branch_number": "branch_number9", + "branch_check_digit": "branch_check_digit9", + "account_number": "account_number3", + "account_check_digit": "account_check_digit9", + "type": "type7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id5", + "name": "name5", + "email": "email1", + "document": "document1", + "description": "description5", + "type": "type5", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id3", + "holder_name": "holder_name9", + "holder_type": "holder_type5", + "bank": "bank1", + "branch_number": "branch_number9", + "branch_check_digit": "branch_check_digit9", + "account_number": "account_number3", + "account_check_digit": "account_check_digit9", + "type": "type3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata0" + }, + "pix_key": "pix_key3" + }, + "gateway_recipients": [ + { + "gateway": "gateway9", + "status": "status1", + "pgid": "pgid5", + "created_at": "created_at7", + "updated_at": "updated_at5" + } + ], + "metadata": { + "key0": "metadata8" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type1", + "volume_percentage": 71, + "delay": 219, + "days": [ + 195, + 196, + 197 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval9", + "transfer_day": 237 + }, + "code": "code3", + "payment_mode": "payment_mode1" + }, + "metadata": { + "key0": "metadata0" + }, + "pix_key": "pix_key3" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata8" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type1", + "volume_percentage": 141, + "delay": 149, + "days": [ + 125, + 126, + 127 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval9", + "transfer_day": 51 + }, + "code": "code3", + "payment_mode": "payment_mode1" + }, + "gateway_id": "gateway_id7", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee7" + }, + "id": "id3" + } + ] + }, + "boleto": { + "interest": { + "days": 54, + "type": "type8", + "amount": 128 + }, + "fine": { + "days": 236, + "type": "type6", + "amount": 202 + }, + "max_days_to_pay_past_due": 224 + }, + "manual_billing": false + }, + "status": "status4", + "duration": 166, + "created_at": "created_at0", + "updated_at": "updated_at8", + "cycle": 106 + }, + "payment_method": "payment_method6", + "currency": "currency4", + "installments": 94, + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id2", + "last_four_digits": "last_four_digits8", + "brand": "brand6", + "holder_name": "holder_name8", + "exp_month": 72, + "exp_year": 224, + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street6", + "number": "number6", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city4", + "state": "state8", + "country": "country0", + "complement": "complement8", + "line_1": "line_10", + "line_2": "line_24" + }, + "customer": {}, + "metadata": { + "key0": "metadata1", + "key1": "metadata2", + "key2": "metadata3" + }, + "type": "type8", + "holder_document": "holder_document4", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits2", + "label": "label2" + }, + "items": [ + {} + ], + "statement_descriptor": "statement_descriptor4", + "metadata": { + "key0": "metadata9" + }, + "setup": { + "id": "id8", + "description": "description2", + "amount": 118, + "status": "status0" + }, + "gateway_affiliation_id": "gateway_affiliation_id0", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 190, + "minimum_price": 76, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {} + ], + "increments": [ + {}, + {} + ], + "boleto_due_days": 38, + "split": { + "enabled": false, + "rules": [ + {} + ] + }, + "boleto": { + "interest": { + "days": 52, + "type": "type6", + "amount": 126 + }, + "fine": { + "days": 238, + "type": "type4", + "amount": 200 + }, + "max_days_to_pay_past_due": 226 + }, + "manual_billing": false + }, + "status": "status2", + "duration": 164, + "created_at": "created_at8", + "updated_at": "updated_at6", + "cycle": 104 + }, + "shipping": { + "amount": 52, + "description": "description6", + "recipient_name": "recipient_name2", + "recipient_phone": "recipient_phone6", + "address": { + "id": "id0", + "street": "street0", + "number": "number8", + "complement": "complement6", + "zip_code": "zip_code4", + "neighborhood": "neighborhood6", + "city": "city0", + "state": "state6", + "country": "country4", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id0", + "name": "name0", + "email": "email6", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document4", + "type": "type0", + "fb_access_token": "fb_access_token4", + "address": { + "id": "id6", + "street": "street6", + "number": "number4", + "complement": "complement2", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city6", + "state": "state2", + "country": "country0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id6", + "name": "name6", + "email": "email0", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document0", + "type": "type6", + "fb_access_token": "fb_access_token0", + "address": {}, + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "phones": { + "home_phone": { + "country_code": "country_code8", + "number": "number6", + "area_code": "area_code8" + }, + "mobile_phone": { + "country_code": "country_code8", + "number": "number6", + "area_code": "area_code8" + } + }, + "fb_id": 150, + "code": "code4", + "document_type": "document_type4" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2" + }, + "line_1": "line_10", + "line_2": "line_24", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata6", + "key2": "metadata5" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 100, + "code": "code8", + "document_type": "document_type8" + }, + "metadata": { + "key0": "metadata7" + }, + "line_1": "line_14", + "line_2": "line_28", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "max_delivery_date": "2016-03-13T12:52:32.123Z", + "estimated_delivery_date": "2016-03-13T12:52:32.123Z", + "type": "type6" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata4", + "key2": "metadata5" + }, + "due_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "billing_at": "2016-03-13T12:52:32.123Z", + "seen_at": "2016-03-13T12:52:32.123Z", + "total_discount": 62, + "total_increment": 134, + "subscription_id": "subscription_id0" } ``` diff --git a/doc/models/get-location-response.md b/doc/models/get-location-response.md index daf790d..809d7df 100644 --- a/doc/models/get-location-response.md +++ b/doc/models/get-location-response.md @@ -18,8 +18,8 @@ Response object for geetting an order location request ```json { - "latitude": null, - "longitude": null + "latitude": "latitude6", + "longitude": "longitude4" } ``` diff --git a/doc/models/get-order-item-response.md b/doc/models/get-order-item-response.md index 0051ffe..aebec2c 100644 --- a/doc/models/get-order-item-response.md +++ b/doc/models/get-order-item-response.md @@ -22,12 +22,12 @@ Response object for getting an order item ```json { - "id": null, - "amount": null, - "description": null, - "quantity": null, - "category": null, - "code": null + "id": "id0", + "amount": 46, + "description": "description0", + "quantity": 68, + "category": "category2", + "code": "code8" } ``` diff --git a/doc/models/get-order-response.md b/doc/models/get-order-response.md index 1cce741..722dd37 100644 --- a/doc/models/get-order-response.md +++ b/doc/models/get-order-response.md @@ -34,24 +34,3278 @@ Response object for getting an Order ```json { - "id": null, - "code": null, - "currency": null, - "items": null, - "customer": null, - "status": null, - "created_at": null, - "updated_at": null, - "charges": null, - "invoice_url": null, - "shipping": null, - "metadata": null, - "checkouts": null, - "ip": null, - "session_id": null, - "location": null, - "device": null, - "closed": null + "id": "id0", + "code": "code8", + "currency": "currency0", + "items": [ + { + "id": "id7", + "amount": 13, + "description": "description7", + "quantity": 127, + "category": "category5", + "code": "code5" + }, + { + "id": "id8", + "amount": 14, + "description": "description8", + "quantity": 128, + "category": "category6", + "code": "code6" + } + ], + "customer": { + "id": "id0", + "name": "name0", + "email": "email6", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document6", + "type": "type0", + "fb_access_token": "fb_access_token4", + "address": { + "id": "id6", + "street": "street6", + "number": "number4", + "complement": "complement2", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city6", + "state": "state2", + "country": "country0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id6", + "name": "name6", + "email": "email0", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document0", + "type": "type4", + "fb_access_token": "fb_access_token0", + "address": { + "id": "id2", + "street": "street2", + "number": "number0", + "complement": "complement8", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city2", + "state": "state8", + "country": "country6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata7", + "key1": "metadata6" + }, + "line_1": "line_16", + "line_2": "line_20", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "phones": { + "home_phone": { + "country_code": "country_code8", + "number": "number6", + "area_code": "area_code8" + }, + "mobile_phone": { + "country_code": "country_code2", + "number": "number4", + "area_code": "area_code8" + } + }, + "fb_id": 224, + "code": "code4", + "document_type": "document_type4" + }, + "metadata": { + "key0": "metadata3" + }, + "line_1": "line_10", + "line_2": "line_24", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 174, + "code": "code8", + "document_type": "document_type8" + }, + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "charges": [ + { + "id": "id8", + "code": "code6", + "gateway_id": "gateway_id2", + "amount": 42, + "status": "status0", + "currency": "currency2", + "payment_method": "payment_method2", + "due_at": "2016-03-13T12:52:32.123Z", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "last_transaction": { + "gateway_id": "gateway_id0", + "amount": 100, + "status": "status2", + "success": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 76, + "max_attempts": 64, + "splits": [ + { + "type": "type8", + "amount": 32, + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document2", + "description": "description6", + "type": "type6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type8", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document2", + "description": "description4", + "type": "type6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + { + "gateway": "gateway8", + "status": "status0", + "pgid": "pgid4", + "created_at": "created_at6", + "updated_at": "updated_at4" + }, + { + "gateway": "gateway9", + "status": "status1", + "pgid": "pgid5", + "created_at": "created_at7", + "updated_at": "updated_at5" + }, + { + "gateway": "gateway0", + "status": "status2", + "pgid": "pgid6", + "created_at": "created_at8", + "updated_at": "updated_at6" + } + ], + "metadata": { + "key0": "metadata9", + "key1": "metadata0" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 36, + "delay": 254, + "days": [ + 230, + 231 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 202 + }, + "code": "code2", + "payment_mode": "payment_mode8" + }, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata9", + "key1": "metadata0" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 106, + "delay": 184, + "days": [ + 160, + 161 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 16 + }, + "code": "code2", + "payment_mode": "payment_mode2" + }, + "gateway_id": "gateway_id8", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee8" + }, + "id": "id2" + } + ], + "next_attempt": "2016-03-13T12:52:32.123Z", + "transaction_type": "transaction", + "id": "id0", + "gateway_response": { + "code": "code0", + "errors": [ + { + "message": "message7" + } + ] + }, + "antifraud_response": { + "status": "status0", + "return_code": "return_code8", + "return_message": "return_message6", + "provider_name": "provider_name6", + "score": "score8" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata6" + }, + "split": [ + {}, + {}, + {} + ], + "interest": { + "days": 10, + "type": "type0", + "amount": 84 + }, + "fine": { + "days": 24, + "type": "type2", + "amount": 98 + }, + "max_days_to_pay_past_due": 12 + }, + "invoice": { + "id": "id2", + "code": "code0", + "url": "url6", + "amount": 12, + "status": "status6", + "payment_method": "payment_method8", + "created_at": "2016-03-13T12:52:32.123Z", + "items": [ + { + "amount": 47, + "description": "description9", + "pricing_scheme": { + "price": 183, + "scheme_type": "scheme_type9", + "price_brackets": [ + { + "start_quantity": 26, + "price": 36, + "end_quantity": 34, + "overage_price": 48 + } + ], + "minimum_price": 87, + "percentage": 248.27 + }, + "price_bracket": {}, + "quantity": 161, + "name": "name9", + "subscription_item_id": "subscription_item_id3" + } + ], + "customer": { + "id": "id8", + "name": "name8", + "email": "email8", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document8", + "type": "type2", + "fb_access_token": "fb_access_token2", + "address": { + "id": "id4", + "street": "street4", + "number": "number2", + "complement": "complement0", + "zip_code": "zip_code8", + "neighborhood": "neighborhood0", + "city": "city4", + "state": "state0", + "country": "country8", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id4", + "name": "name4", + "email": "email2", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document8", + "type": "type6", + "fb_access_token": "fb_access_token8", + "address": { + "id": "id0", + "street": "street0", + "number": "number8", + "complement": "complement6", + "zip_code": "zip_code4", + "neighborhood": "neighborhood6", + "city": "city0", + "state": "state6", + "country": "country4", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata8", + "key2": "metadata7" + }, + "line_1": "line_14", + "line_2": "line_28", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata0" + }, + "phones": { + "home_phone": { + "country_code": "country_code6", + "number": "number4", + "area_code": "area_code6" + }, + "mobile_phone": { + "country_code": "country_code4", + "number": "number6", + "area_code": "area_code6" + } + }, + "fb_id": 190, + "code": "code2", + "document_type": "document_type2" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "line_1": "line_12", + "line_2": "line_22", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata5", + "key1": "metadata6", + "key2": "metadata7" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 140, + "code": "code6", + "document_type": "document_type6" + }, + "charge": { + "id": "id6", + "code": "code4", + "gateway_id": "gateway_id4", + "amount": 46, + "status": "status8", + "currency": "currency6", + "payment_method": "payment_method4", + "due_at": "2016-03-13T12:52:32.123Z", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "last_transaction": { + "gateway_id": "gateway_id8", + "amount": 104, + "status": "status0", + "success": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 80, + "max_attempts": 68, + "splits": [ + {} + ], + "next_attempt": "2016-03-13T12:52:32.123Z", + "transaction_type": "transaction", + "id": "id8", + "gateway_response": { + "code": "code8", + "errors": [ + {} + ] + }, + "antifraud_response": { + "status": "status8", + "return_code": "return_code6", + "return_message": "return_message4", + "provider_name": "provider_name4", + "score": "score6" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "split": [ + {}, + {}, + {} + ], + "interest": { + "days": 10, + "type": "type2", + "amount": 84 + }, + "fine": { + "days": 28, + "type": "type0", + "amount": 102 + }, + "max_days_to_pay_past_due": 16 + }, + "invoice": { + "id": "id0", + "code": "code8", + "url": "url4", + "amount": 248, + "status": "status2", + "payment_method": "payment_method0", + "created_at": "2016-03-13T12:52:32.123Z", + "items": [ + {} + ], + "customer": {}, + "charge": {}, + "installments": 32, + "billing_address": { + "street": "street2", + "number": "number0", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city2", + "state": "state8", + "country": "country6", + "complement": "complement2", + "line_1": "line_14", + "line_2": "line_20" + }, + "subscription": { + "id": "id4", + "code": "code2", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval2", + "interval_count": 196, + "billing_type": "billing_type2", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id2", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id2", + "code": "code0", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval0", + "interval_count": 166, + "billing_type": "billing_type4", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id0", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status2", + "duration": 150, + "created_at": "created_at8", + "updated_at": "updated_at6", + "cycle": 90 + }, + "payment_method": "payment_method8", + "currency": "currency2", + "installments": 78, + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id4", + "last_four_digits": "last_four_digits0", + "brand": "brand8", + "holder_name": "holder_name0", + "exp_month": 56, + "exp_year": 240, + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street4", + "number": "number8", + "zip_code": "zip_code8", + "neighborhood": "neighborhood0", + "city": "city6", + "state": "state0", + "country": "country8", + "complement": "complement0", + "line_1": "line_12", + "line_2": "line_22" + }, + "customer": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata0" + }, + "type": "type6", + "holder_document": "holder_document2", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits4", + "label": "label4" + }, + "items": [ + { + "id": "id9", + "description": "description9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id0", + "value": 206.22, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 166, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": { + "id": "id6", + "description": "description6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id7", + "value": 241.29, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 89, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id8", + "value": 241.3, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 90, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id9", + "value": 241.31, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 91, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id5", + "value": 96.57, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 209, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name6", + "quantity": 134, + "cycles": 154, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {} + ], + "subscription": {}, + "name": "name9", + "quantity": 211, + "cycles": 25, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id0", + "description": "description0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id1", + "value": 206.23, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 167, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": { + "id": "id7", + "description": "description7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id8", + "value": 241.3, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 90, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id6", + "value": 96.58, + "increment_type": "increment_type8", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 210, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id7", + "value": 96.59, + "increment_type": "increment_type9", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 211, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name7", + "quantity": 135, + "cycles": 155, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id2", + "value": 206.24, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 168, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": { + "id": "id8", + "description": "description8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id9", + "value": 241.31, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 91, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id0", + "value": 241.32, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 92, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id7", + "value": 96.59, + "increment_type": "increment_type9", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 211, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id8", + "value": 96.6, + "increment_type": "increment_type0", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 212, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id9", + "value": 96.61, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 213, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name8", + "quantity": 136, + "cycles": 156, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {}, + {} + ], + "subscription": {}, + "name": "name0", + "quantity": 212, + "cycles": 24, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id1", + "description": "description1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id2", + "value": 206.24, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 168, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": { + "id": "id8", + "description": "description8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id9", + "value": 241.31, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 91, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id0", + "value": 241.32, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 92, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id7", + "value": 96.59, + "increment_type": "increment_type9", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 211, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id8", + "value": 96.6, + "increment_type": "increment_type0", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 212, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id9", + "value": 96.61, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 213, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name8", + "quantity": 136, + "cycles": 156, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id3", + "value": 206.25, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 169, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": { + "id": "id9", + "description": "description9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id0", + "value": 241.32, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 92, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id1", + "value": 241.33, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 93, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id2", + "value": 241.34, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 94, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id8", + "value": 96.6, + "increment_type": "increment_type0", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 212, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name9", + "quantity": 137, + "cycles": 157, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id4", + "value": 206.26, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 170, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": { + "id": "id0", + "description": "description0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id1", + "value": 241.33, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 93, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id9", + "value": 96.61, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 213, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id0", + "value": 96.62, + "increment_type": "increment_type2", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 214, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name0", + "quantity": 138, + "cycles": 158, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {} + ], + "subscription": {}, + "name": "name1", + "quantity": 213, + "cycles": 23, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor2", + "metadata": { + "key0": "metadata1", + "key1": "metadata2" + }, + "setup": { + "id": "id6", + "description": "description4", + "amount": 102, + "status": "status2" + }, + "gateway_affiliation_id": "gateway_affiliation_id8", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 206, + "minimum_price": 92, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 22, + "split": { + "enabled": false, + "rules": [ + {}, + {}, + {} + ] + }, + "boleto": { + "interest": {}, + "fine": {}, + "max_days_to_pay_past_due": 210 + }, + "manual_billing": false + }, + "status": "status4", + "duration": 180, + "created_at": "created_at0", + "updated_at": "updated_at8", + "cycle": 120 + }, + "payment_method": "payment_method6", + "currency": "currency4", + "installments": 108, + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id2", + "last_four_digits": "last_four_digits8", + "brand": "brand6", + "holder_name": "holder_name8", + "exp_month": 86, + "exp_year": 210, + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": {}, + "customer": {}, + "metadata": { + "key0": "metadata1", + "key1": "metadata2" + }, + "type": "type8", + "holder_document": "holder_document4", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits2", + "label": "label2" + }, + "items": [ + {}, + {}, + {} + ], + "statement_descriptor": "statement_descriptor4", + "metadata": { + "key0": "metadata9", + "key1": "metadata0" + }, + "setup": { + "id": "id8", + "description": "description2", + "amount": 132, + "status": "status0" + }, + "gateway_affiliation_id": "gateway_affiliation_id0", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 176, + "minimum_price": 62, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 52, + "split": { + "enabled": false, + "rules": [ + {}, + {}, + {} + ] + }, + "boleto": { + "interest": {}, + "fine": {}, + "max_days_to_pay_past_due": 240 + }, + "manual_billing": false + }, + "cycle": {}, + "shipping": { + "amount": 90, + "description": "description4", + "recipient_name": "recipient_name2", + "recipient_phone": "recipient_phone6", + "address": {}, + "max_delivery_date": "2016-03-13T12:52:32.123Z", + "estimated_delivery_date": "2016-03-13T12:52:32.123Z", + "type": "type4" + }, + "metadata": { + "key0": "metadata7" + }, + "due_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "billing_at": "2016-03-13T12:52:32.123Z", + "seen_at": "2016-03-13T12:52:32.123Z", + "total_discount": 100, + "total_increment": 172, + "subscription_id": "subscription_id0" + }, + "order": { + "id": "id0", + "code": "code8", + "currency": "currency0", + "items": [ + { + "id": "id7", + "amount": 209, + "description": "description7", + "quantity": 67, + "category": "category5", + "code": "code5" + }, + { + "id": "id8", + "amount": 210, + "description": "description8", + "quantity": 68, + "category": "category6", + "code": "code6" + } + ], + "customer": {}, + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "charges": [ + {}, + {} + ], + "invoice_url": "invoice_url2", + "shipping": { + "amount": 248, + "description": "description4", + "recipient_name": "recipient_name2", + "recipient_phone": "recipient_phone6", + "address": {}, + "max_delivery_date": "2016-03-13T12:52:32.123Z", + "estimated_delivery_date": "2016-03-13T12:52:32.123Z", + "type": "type6" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata4", + "key2": "metadata5" + }, + "checkouts": [ + { + "id": "id7", + "amount": 159, + "default_payment_method": "default_payment_method7", + "success_url": "success_url9", + "payment_url": "payment_url1", + "gateway_affiliation_id": "gateway_affiliation_id3", + "accepted_payment_methods": [ + "accepted_payment_methods0", + "accepted_payment_methods1", + "accepted_payment_methods2" + ], + "status": "status9", + "skip_checkout_success_page": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "customer_editable": true, + "customer": {}, + "billingaddress": {}, + "credit_card": { + "statementDescriptor": "statementDescriptor1", + "installments": [ + { + "number": "number8", + "total": 116 + } + ], + "authentication": { + "type": "type3", + "threed_secure": { + "mpi": "mpi7", + "eci": "eci5", + "cavv": "cavv1", + "transaction_Id": "transaction_Id9", + "success_url": "success_url7" + } + } + }, + "boleto": { + "due_at": "2016-03-13T12:52:32.123Z", + "instructions": "instructions5" + }, + "billing_address_editable": true, + "shipping": {}, + "shippable": true, + "closed_at": "2016-03-13T12:52:32.123Z", + "expires_at": "2016-03-13T12:52:32.123Z", + "currency": "currency7", + "debit_card": { + "statement_descriptor": "statement_descriptor1", + "authentication": { + "type": "type7", + "threed_secure": { + "mpi": "mpi3", + "eci": "eci9", + "cavv": "cavv5", + "transaction_Id": "transaction_Id5", + "success_url": "success_url1" + } + } + }, + "bank_transfer": { + "bank": [ + "bank2", + "bank3" + ] + }, + "accepted_brands": [ + "accepted_brands3", + "accepted_brands4", + "accepted_brands5" + ], + "pix": { + "expires_at": "2016-03-13T12:52:32.123Z", + "additional_information": [ + { + "Name": "Name4", + "Value": "Value2" + }, + { + "Name": "Name5", + "Value": "Value3" + }, + { + "Name": "Name6", + "Value": "Value4" + } + ] + } + } + ], + "ip": "ip4", + "session_id": "session_id8", + "location": { + "latitude": "latitude2", + "longitude": "longitude8" + }, + "device": { + "platform": "platform0" + }, + "closed": false + }, + "customer": {}, + "metadata": { + "key0": "metadata3" + }, + "paid_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "canceled_amount": 156, + "paid_amount": 138, + "interest_and_fine_paid": 142, + "recurrency_cycle": "recurrency_cycle0" + }, + "installments": 28, + "billing_address": {}, + "subscription": {}, + "cycle": {}, + "shipping": {}, + "metadata": { + "key0": "metadata1" + }, + "due_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "billing_at": "2016-03-13T12:52:32.123Z", + "seen_at": "2016-03-13T12:52:32.123Z", + "total_discount": 96, + "total_increment": 168, + "subscription_id": "subscription_id2" + }, + "order": { + "id": "id8", + "code": "code6", + "currency": "currency8", + "items": [ + {}, + {} + ], + "customer": {}, + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "charges": [ + {}, + {}, + {} + ], + "invoice_url": "invoice_url0", + "shipping": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata4", + "key2": "metadata3" + }, + "checkouts": [ + {} + ], + "ip": "ip2", + "session_id": "session_id0", + "location": { + "latitude": "latitude6", + "longitude": "longitude6" + }, + "device": { + "platform": "platform8" + }, + "closed": false + }, + "customer": {}, + "metadata": { + "key0": "metadata5" + }, + "paid_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "canceled_amount": 152, + "paid_amount": 122, + "interest_and_fine_paid": 138, + "recurrency_cycle": "recurrency_cycle2" + }, + { + "id": "id9", + "code": "code7", + "gateway_id": "gateway_id1", + "amount": 43, + "status": "status9", + "currency": "currency1", + "payment_method": "payment_method1", + "due_at": "2016-03-13T12:52:32.123Z", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "last_transaction": { + "gateway_id": "gateway_id1", + "amount": 101, + "status": "status3", + "success": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 77, + "max_attempts": 65, + "splits": [ + { + "type": "type7", + "amount": 33, + "recipient": { + "id": "id5", + "name": "name5", + "email": "email1", + "document": "document1", + "description": "description5", + "type": "type5", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id3", + "holder_name": "holder_name9", + "holder_type": "holder_type5", + "bank": "bank1", + "branch_number": "branch_number9", + "branch_check_digit": "branch_check_digit9", + "account_number": "account_number3", + "account_check_digit": "account_check_digit9", + "type": "type7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id5", + "name": "name5", + "email": "email1", + "document": "document1", + "description": "description5", + "type": "type5", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id3", + "holder_name": "holder_name9", + "holder_type": "holder_type5", + "bank": "bank1", + "branch_number": "branch_number9", + "branch_check_digit": "branch_check_digit9", + "account_number": "account_number3", + "account_check_digit": "account_check_digit9", + "type": "type3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata0" + }, + "pix_key": "pix_key3" + }, + "gateway_recipients": [ + { + "gateway": "gateway9", + "status": "status1", + "pgid": "pgid5", + "created_at": "created_at7", + "updated_at": "updated_at5" + } + ], + "metadata": { + "key0": "metadata8" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type1", + "volume_percentage": 35, + "delay": 255, + "days": [ + 231, + 232, + 233 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval9", + "transfer_day": 201 + }, + "code": "code3", + "payment_mode": "payment_mode9" + }, + "metadata": { + "key0": "metadata0" + }, + "pix_key": "pix_key3" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata8" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type1", + "volume_percentage": 105, + "delay": 185, + "days": [ + 161, + 162, + 163 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval9", + "transfer_day": 15 + }, + "code": "code3", + "payment_mode": "payment_mode1" + }, + "gateway_id": "gateway_id7", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee7" + }, + "id": "id3" + }, + { + "type": "type6", + "amount": 34, + "recipient": { + "id": "id6", + "name": "name6", + "email": "email0", + "document": "document0", + "description": "description4", + "type": "type4", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id4", + "holder_name": "holder_name0", + "holder_type": "holder_type6", + "bank": "bank2", + "branch_number": "branch_number0", + "branch_check_digit": "branch_check_digit0", + "account_number": "account_number4", + "account_check_digit": "account_check_digit0", + "type": "type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id6", + "name": "name6", + "email": "email0", + "document": "document0", + "description": "description6", + "type": "type4", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id4", + "holder_name": "holder_name0", + "holder_type": "holder_type6", + "bank": "bank2", + "branch_number": "branch_number0", + "branch_check_digit": "branch_check_digit0", + "account_number": "account_number4", + "account_check_digit": "account_check_digit0", + "type": "type4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "pix_key": "pix_key2" + }, + "gateway_recipients": [ + { + "gateway": "gateway0", + "status": "status2", + "pgid": "pgid6", + "created_at": "created_at8", + "updated_at": "updated_at6" + }, + { + "gateway": "gateway1", + "status": "status3", + "pgid": "pgid7", + "created_at": "created_at9", + "updated_at": "updated_at7" + } + ], + "metadata": { + "key0": "metadata7", + "key1": "metadata8", + "key2": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type0", + "volume_percentage": 34, + "delay": 0, + "days": [ + 232 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval8", + "transfer_day": 200 + }, + "code": "code4", + "payment_mode": "payment_mode0" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "pix_key": "pix_key2" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata7", + "key1": "metadata8", + "key2": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type0", + "volume_percentage": 104, + "delay": 186, + "days": [ + 162 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval8", + "transfer_day": 14 + }, + "code": "code4", + "payment_mode": "payment_mode0" + }, + "gateway_id": "gateway_id6", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee6" + }, + "id": "id4" + } + ], + "next_attempt": "2016-03-13T12:52:32.123Z", + "transaction_type": "transaction", + "id": "id1", + "gateway_response": { + "code": "code1", + "errors": [ + { + "message": "message8" + }, + { + "message": "message9" + } + ] + }, + "antifraud_response": { + "status": "status1", + "return_code": "return_code9", + "return_message": "return_message7", + "provider_name": "provider_name7", + "score": "score9" + }, + "metadata": { + "key0": "metadata8" + }, + "split": [ + {} + ], + "interest": { + "days": 9, + "type": "type1", + "amount": 83 + }, + "fine": { + "days": 25, + "type": "type3", + "amount": 99 + }, + "max_days_to_pay_past_due": 13 + }, + "invoice": { + "id": "id3", + "code": "code1", + "url": "url7", + "amount": 11, + "status": "status5", + "payment_method": "payment_method7", + "created_at": "2016-03-13T12:52:32.123Z", + "items": [ + { + "amount": 48, + "description": "description0", + "pricing_scheme": { + "price": 184, + "scheme_type": "scheme_type8", + "price_brackets": [ + { + "start_quantity": 25, + "price": 37, + "end_quantity": 33, + "overage_price": 47 + }, + { + "start_quantity": 26, + "price": 36, + "end_quantity": 34, + "overage_price": 48 + }, + { + "start_quantity": 27, + "price": 35, + "end_quantity": 35, + "overage_price": 49 + } + ], + "minimum_price": 88, + "percentage": 248.26 + }, + "price_bracket": {}, + "quantity": 162, + "name": "name0", + "subscription_item_id": "subscription_item_id4" + }, + { + "amount": 49, + "description": "description1", + "pricing_scheme": { + "price": 185, + "scheme_type": "scheme_type7", + "price_brackets": [ + { + "start_quantity": 24, + "price": 38, + "end_quantity": 32, + "overage_price": 46 + }, + { + "start_quantity": 25, + "price": 37, + "end_quantity": 33, + "overage_price": 47 + } + ], + "minimum_price": 89, + "percentage": 248.25 + }, + "price_bracket": {}, + "quantity": 163, + "name": "name1", + "subscription_item_id": "subscription_item_id5" + } + ], + "customer": { + "id": "id7", + "name": "name7", + "email": "email9", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document9", + "type": "type3", + "fb_access_token": "fb_access_token1", + "address": { + "id": "id3", + "street": "street3", + "number": "number1", + "complement": "complement9", + "zip_code": "zip_code7", + "neighborhood": "neighborhood9", + "city": "city3", + "state": "state9", + "country": "country7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id3", + "name": "name3", + "email": "email3", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document7", + "type": "type7", + "fb_access_token": "fb_access_token7", + "address": { + "id": "id9", + "street": "street9", + "number": "number7", + "complement": "complement5", + "zip_code": "zip_code3", + "neighborhood": "neighborhood5", + "city": "city9", + "state": "state5", + "country": "country3", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata0", + "key1": "metadata9" + }, + "line_1": "line_13", + "line_2": "line_27", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata0", + "key1": "metadata9", + "key2": "metadata8" + }, + "phones": { + "home_phone": { + "country_code": "country_code5", + "number": "number3", + "area_code": "area_code5" + }, + "mobile_phone": { + "country_code": "country_code5", + "number": "number7", + "area_code": "area_code5" + } + }, + "fb_id": 189, + "code": "code1", + "document_type": "document_type1" + }, + "metadata": { + "key0": "metadata0" + }, + "line_1": "line_13", + "line_2": "line_21", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata6" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 139, + "code": "code5", + "document_type": "document_type5" + }, + "charge": { + "id": "id5", + "code": "code3", + "gateway_id": "gateway_id5", + "amount": 45, + "status": "status7", + "currency": "currency5", + "payment_method": "payment_method5", + "due_at": "2016-03-13T12:52:32.123Z", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "last_transaction": { + "gateway_id": "gateway_id7", + "amount": 103, + "status": "status9", + "success": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 79, + "max_attempts": 67, + "splits": [ + {}, + {}, + {} + ], + "next_attempt": "2016-03-13T12:52:32.123Z", + "transaction_type": "transaction", + "id": "id7", + "gateway_response": { + "code": "code7", + "errors": [ + {}, + {}, + {} + ] + }, + "antifraud_response": { + "status": "status7", + "return_code": "return_code5", + "return_message": "return_message3", + "provider_name": "provider_name3", + "score": "score5" + }, + "metadata": { + "key0": "metadata2", + "key1": "metadata1" + }, + "split": [ + {}, + {} + ], + "interest": { + "days": 9, + "type": "type3", + "amount": 83 + }, + "fine": { + "days": 27, + "type": "type9", + "amount": 101 + }, + "max_days_to_pay_past_due": 15 + }, + "invoice": { + "id": "id9", + "code": "code7", + "url": "url3", + "amount": 247, + "status": "status1", + "payment_method": "payment_method1", + "created_at": "2016-03-13T12:52:32.123Z", + "items": [ + {}, + {}, + {} + ], + "customer": {}, + "charge": {}, + "installments": 31, + "billing_address": { + "street": "street1", + "number": "number1", + "zip_code": "zip_code5", + "neighborhood": "neighborhood7", + "city": "city1", + "state": "state7", + "country": "country5", + "complement": "complement3", + "line_1": "line_15", + "line_2": "line_29" + }, + "subscription": { + "id": "id5", + "code": "code3", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval3", + "interval_count": 197, + "billing_type": "billing_type1", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id3", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id1", + "code": "code9", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval9", + "interval_count": 165, + "billing_type": "billing_type5", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id9", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status1", + "duration": 149, + "created_at": "created_at7", + "updated_at": "updated_at5", + "cycle": 89 + }, + "payment_method": "payment_method9", + "currency": "currency1", + "installments": 77, + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id5", + "last_four_digits": "last_four_digits1", + "brand": "brand9", + "holder_name": "holder_name9", + "exp_month": 55, + "exp_year": 241, + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street3", + "number": "number9", + "zip_code": "zip_code7", + "neighborhood": "neighborhood9", + "city": "city7", + "state": "state1", + "country": "country7", + "complement": "complement1", + "line_1": "line_13", + "line_2": "line_21" + }, + "customer": {}, + "metadata": { + "key0": "metadata8" + }, + "type": "type5", + "holder_document": "holder_document1", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits5", + "label": "label5" + }, + "items": [ + { + "id": "id8", + "description": "description8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id9", + "value": 206.21, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 165, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": { + "id": "id5", + "description": "description5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id6", + "value": 241.28, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 88, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id7", + "value": 241.29, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 89, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id4", + "value": 96.56, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 208, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 96.57, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 209, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 96.58, + "increment_type": "increment_type8", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 210, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name5", + "quantity": 133, + "cycles": 153, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id0", + "value": 206.22, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 166, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": { + "id": "id6", + "description": "description6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id7", + "value": 241.29, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 89, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id8", + "value": 241.3, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 90, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id9", + "value": 241.31, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 91, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id5", + "value": 96.57, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 209, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name6", + "quantity": 134, + "cycles": 154, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id1", + "value": 206.23, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 167, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": { + "id": "id7", + "description": "description7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id8", + "value": 241.3, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 90, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id6", + "value": 96.58, + "increment_type": "increment_type8", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 210, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id7", + "value": 96.59, + "increment_type": "increment_type9", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 211, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name7", + "quantity": 135, + "cycles": 155, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {} + ], + "subscription": {}, + "name": "name8", + "quantity": 210, + "cycles": 26, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id9", + "description": "description9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id0", + "value": 206.22, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 166, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": { + "id": "id6", + "description": "description6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id7", + "value": 241.29, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 89, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id8", + "value": 241.3, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 90, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id9", + "value": 241.31, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 91, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id5", + "value": 96.57, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 209, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name6", + "quantity": 134, + "cycles": 154, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {} + ], + "subscription": {}, + "name": "name9", + "quantity": 211, + "cycles": 25, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor1", + "metadata": { + "key0": "metadata2", + "key1": "metadata3", + "key2": "metadata4" + }, + "setup": { + "id": "id5", + "description": "description5", + "amount": 101, + "status": "status3" + }, + "gateway_affiliation_id": "gateway_affiliation_id7", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 207, + "minimum_price": 93, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + {} + ], + "boleto_due_days": 21, + "split": { + "enabled": true, + "rules": [ + {}, + {} + ] + }, + "boleto": { + "interest": {}, + "fine": {}, + "max_days_to_pay_past_due": 209 + }, + "manual_billing": true + }, + "status": "status5", + "duration": 181, + "created_at": "created_at1", + "updated_at": "updated_at9", + "cycle": 121 + }, + "payment_method": "payment_method5", + "currency": "currency5", + "installments": 109, + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id1", + "last_four_digits": "last_four_digits7", + "brand": "brand5", + "holder_name": "holder_name7", + "exp_month": 87, + "exp_year": 209, + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": {}, + "customer": {}, + "metadata": { + "key0": "metadata2", + "key1": "metadata3", + "key2": "metadata4" + }, + "type": "type9", + "holder_document": "holder_document5", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits1", + "label": "label1" + }, + "items": [ + {} + ], + "statement_descriptor": "statement_descriptor5", + "metadata": { + "key0": "metadata8" + }, + "setup": { + "id": "id9", + "description": "description1", + "amount": 133, + "status": "status9" + }, + "gateway_affiliation_id": "gateway_affiliation_id1", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 175, + "minimum_price": 61, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {} + ], + "increments": [ + {}, + {} + ], + "boleto_due_days": 53, + "split": { + "enabled": true, + "rules": [ + {} + ] + }, + "boleto": { + "interest": {}, + "fine": {}, + "max_days_to_pay_past_due": 241 + }, + "manual_billing": true + }, + "cycle": {}, + "shipping": { + "amount": 89, + "description": "description3", + "recipient_name": "recipient_name1", + "recipient_phone": "recipient_phone5", + "address": {}, + "max_delivery_date": "2016-03-13T12:52:32.123Z", + "estimated_delivery_date": "2016-03-13T12:52:32.123Z", + "type": "type3" + }, + "metadata": { + "key0": "metadata6", + "key1": "metadata5" + }, + "due_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "billing_at": "2016-03-13T12:52:32.123Z", + "seen_at": "2016-03-13T12:52:32.123Z", + "total_discount": 99, + "total_increment": 171, + "subscription_id": "subscription_id9" + }, + "order": { + "id": "id1", + "code": "code9", + "currency": "currency9", + "items": [ + { + "id": "id8", + "amount": 210, + "description": "description8", + "quantity": 68, + "category": "category6", + "code": "code6" + }, + { + "id": "id9", + "amount": 211, + "description": "description9", + "quantity": 69, + "category": "category7", + "code": "code7" + }, + { + "id": "id0", + "amount": 212, + "description": "description0", + "quantity": 70, + "category": "category8", + "code": "code8" + } + ], + "customer": {}, + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "charges": [ + {} + ], + "invoice_url": "invoice_url3", + "shipping": { + "amount": 249, + "description": "description5", + "recipient_name": "recipient_name3", + "recipient_phone": "recipient_phone7", + "address": {}, + "max_delivery_date": "2016-03-13T12:52:32.123Z", + "estimated_delivery_date": "2016-03-13T12:52:32.123Z", + "type": "type5" + }, + "metadata": { + "key0": "metadata2", + "key1": "metadata3" + }, + "checkouts": [ + { + "id": "id8", + "amount": 160, + "default_payment_method": "default_payment_method8", + "success_url": "success_url0", + "payment_url": "payment_url2", + "gateway_affiliation_id": "gateway_affiliation_id4", + "accepted_payment_methods": [ + "accepted_payment_methods1" + ], + "status": "status0", + "skip_checkout_success_page": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "customer_editable": false, + "customer": {}, + "billingaddress": {}, + "credit_card": { + "statementDescriptor": "statementDescriptor2", + "installments": [ + { + "number": "number9", + "total": 117 + }, + { + "number": "number0", + "total": 118 + } + ], + "authentication": { + "type": "type2", + "threed_secure": { + "mpi": "mpi6", + "eci": "eci6", + "cavv": "cavv2", + "transaction_Id": "transaction_Id8", + "success_url": "success_url8" + } + } + }, + "boleto": { + "due_at": "2016-03-13T12:52:32.123Z", + "instructions": "instructions6" + }, + "billing_address_editable": false, + "shipping": {}, + "shippable": false, + "closed_at": "2016-03-13T12:52:32.123Z", + "expires_at": "2016-03-13T12:52:32.123Z", + "currency": "currency8", + "debit_card": { + "statement_descriptor": "statement_descriptor2", + "authentication": { + "type": "type6", + "threed_secure": { + "mpi": "mpi4", + "eci": "eci8", + "cavv": "cavv6", + "transaction_Id": "transaction_Id6", + "success_url": "success_url0" + } + } + }, + "bank_transfer": { + "bank": [ + "bank1" + ] + }, + "accepted_brands": [ + "accepted_brands4" + ], + "pix": { + "expires_at": "2016-03-13T12:52:32.123Z", + "additional_information": [ + { + "Name": "Name5", + "Value": "Value3" + } + ] + } + }, + { + "id": "id9", + "amount": 161, + "default_payment_method": "default_payment_method9", + "success_url": "success_url1", + "payment_url": "payment_url3", + "gateway_affiliation_id": "gateway_affiliation_id5", + "accepted_payment_methods": [ + "accepted_payment_methods2", + "accepted_payment_methods3" + ], + "status": "status1", + "skip_checkout_success_page": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "customer_editable": true, + "customer": {}, + "billingaddress": {}, + "credit_card": { + "statementDescriptor": "statementDescriptor3", + "installments": [ + { + "number": "number0", + "total": 118 + }, + { + "number": "number1", + "total": 119 + }, + { + "number": "number2", + "total": 120 + } + ], + "authentication": { + "type": "type1", + "threed_secure": { + "mpi": "mpi5", + "eci": "eci7", + "cavv": "cavv3", + "transaction_Id": "transaction_Id7", + "success_url": "success_url9" + } + } + }, + "boleto": { + "due_at": "2016-03-13T12:52:32.123Z", + "instructions": "instructions7" + }, + "billing_address_editable": true, + "shipping": {}, + "shippable": true, + "closed_at": "2016-03-13T12:52:32.123Z", + "expires_at": "2016-03-13T12:52:32.123Z", + "currency": "currency9", + "debit_card": { + "statement_descriptor": "statement_descriptor3", + "authentication": { + "type": "type5", + "threed_secure": { + "mpi": "mpi5", + "eci": "eci7", + "cavv": "cavv7", + "transaction_Id": "transaction_Id7", + "success_url": "success_url9" + } + } + }, + "bank_transfer": { + "bank": [ + "bank0", + "bank1", + "bank2" + ] + }, + "accepted_brands": [ + "accepted_brands5", + "accepted_brands6" + ], + "pix": { + "expires_at": "2016-03-13T12:52:32.123Z", + "additional_information": [ + { + "Name": "Name6", + "Value": "Value4" + }, + { + "Name": "Name7", + "Value": "Value5" + } + ] + } + } + ], + "ip": "ip5", + "session_id": "session_id7", + "location": { + "latitude": "latitude1", + "longitude": "longitude9" + }, + "device": { + "platform": "platform9" + }, + "closed": true + }, + "customer": {}, + "metadata": { + "key0": "metadata2", + "key1": "metadata1" + }, + "paid_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "canceled_amount": 155, + "paid_amount": 137, + "interest_and_fine_paid": 141, + "recurrency_cycle": "recurrency_cycle9" + }, + "installments": 29, + "billing_address": {}, + "subscription": {}, + "cycle": {}, + "shipping": {}, + "metadata": { + "key0": "metadata0", + "key1": "metadata1", + "key2": "metadata2" + }, + "due_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "billing_at": "2016-03-13T12:52:32.123Z", + "seen_at": "2016-03-13T12:52:32.123Z", + "total_discount": 97, + "total_increment": 169, + "subscription_id": "subscription_id3" + }, + "order": { + "id": "id7", + "code": "code5", + "currency": "currency7", + "items": [ + {} + ], + "customer": {}, + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "charges": [ + {}, + {} + ], + "invoice_url": "invoice_url9", + "shipping": {}, + "metadata": { + "key0": "metadata4" + }, + "checkouts": [ + {}, + {}, + {} + ], + "ip": "ip1", + "session_id": "session_id9", + "location": { + "latitude": "latitude5", + "longitude": "longitude5" + }, + "device": { + "platform": "platform7" + }, + "closed": true + }, + "customer": {}, + "metadata": { + "key0": "metadata4", + "key1": "metadata5", + "key2": "metadata6" + }, + "paid_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "canceled_amount": 153, + "paid_amount": 121, + "interest_and_fine_paid": 139, + "recurrency_cycle": "recurrency_cycle3" + } + ], + "invoice_url": "invoice_url2", + "shipping": { + "amount": 52, + "description": "description6", + "recipient_name": "recipient_name2", + "recipient_phone": "recipient_phone6", + "address": { + "id": "id0", + "street": "street0", + "number": "number8", + "complement": "complement6", + "zip_code": "zip_code4", + "neighborhood": "neighborhood6", + "city": "city0", + "state": "state6", + "country": "country4", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id0", + "name": "name0", + "email": "email6", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document4", + "type": "type0", + "fb_access_token": "fb_access_token4", + "address": { + "id": "id6", + "street": "street6", + "number": "number4", + "complement": "complement2", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city6", + "state": "state2", + "country": "country0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id6", + "name": "name6", + "email": "email0", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document0", + "type": "type6", + "fb_access_token": "fb_access_token0", + "address": {}, + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "phones": { + "home_phone": { + "country_code": "country_code8", + "number": "number6", + "area_code": "area_code8" + }, + "mobile_phone": { + "country_code": "country_code8", + "number": "number6", + "area_code": "area_code8" + } + }, + "fb_id": 150, + "code": "code4", + "document_type": "document_type4" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2" + }, + "line_1": "line_10", + "line_2": "line_24", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata6", + "key2": "metadata5" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 100, + "code": "code8", + "document_type": "document_type8" + }, + "metadata": { + "key0": "metadata7" + }, + "line_1": "line_14", + "line_2": "line_28", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "max_delivery_date": "2016-03-13T12:52:32.123Z", + "estimated_delivery_date": "2016-03-13T12:52:32.123Z", + "type": "type6" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata4", + "key2": "metadata5" + }, + "checkouts": [ + { + "id": "id7", + "amount": 219, + "default_payment_method": "default_payment_method7", + "success_url": "success_url9", + "payment_url": "payment_url1", + "gateway_affiliation_id": "gateway_affiliation_id3", + "accepted_payment_methods": [ + "accepted_payment_methods0", + "accepted_payment_methods1", + "accepted_payment_methods2" + ], + "status": "status9", + "skip_checkout_success_page": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "customer_editable": true, + "customer": { + "id": "id7", + "name": "name7", + "email": "email9", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document1", + "type": "type3", + "fb_access_token": "fb_access_token1", + "address": { + "id": "id3", + "street": "street3", + "number": "number1", + "complement": "complement9", + "zip_code": "zip_code7", + "neighborhood": "neighborhood9", + "city": "city3", + "state": "state9", + "country": "country7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id3", + "name": "name3", + "email": "email7", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document7", + "type": "type3", + "fb_access_token": "fb_access_token7", + "address": { + "id": "id9", + "street": "street9", + "number": "number7", + "complement": "complement5", + "zip_code": "zip_code3", + "neighborhood": "neighborhood5", + "city": "city9", + "state": "state5", + "country": "country3", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata0" + }, + "line_1": "line_13", + "line_2": "line_27", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata6" + }, + "phones": { + "home_phone": { + "country_code": "country_code5", + "number": "number3", + "area_code": "area_code5" + }, + "mobile_phone": { + "country_code": "country_code5", + "number": "number3", + "area_code": "area_code5" + } + }, + "fb_id": 45, + "code": "code1", + "document_type": "document_type1" + }, + "metadata": { + "key0": "metadata6", + "key1": "metadata5", + "key2": "metadata4" + }, + "line_1": "line_17", + "line_2": "line_21", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata4", + "key1": "metadata3" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 251, + "code": "code5", + "document_type": "document_type5" + }, + "billingaddress": {}, + "credit_card": { + "statementDescriptor": "statementDescriptor1", + "installments": [ + { + "number": "number8", + "total": 176 + } + ], + "authentication": { + "type": "type3", + "threed_secure": { + "mpi": "mpi7", + "eci": "eci5", + "cavv": "cavv1", + "transaction_Id": "transaction_Id9", + "success_url": "success_url7" + } + } + }, + "boleto": { + "due_at": "2016-03-13T12:52:32.123Z", + "instructions": "instructions5" + }, + "billing_address_editable": true, + "shipping": { + "amount": 61, + "description": "description1", + "recipient_name": "recipient_name9", + "recipient_phone": "recipient_phone3", + "address": {}, + "max_delivery_date": "2016-03-13T12:52:32.123Z", + "estimated_delivery_date": "2016-03-13T12:52:32.123Z", + "type": "type1" + }, + "shippable": true, + "closed_at": "2016-03-13T12:52:32.123Z", + "expires_at": "2016-03-13T12:52:32.123Z", + "currency": "currency7", + "debit_card": { + "statement_descriptor": "statement_descriptor1", + "authentication": { + "type": "type7", + "threed_secure": { + "mpi": "mpi3", + "eci": "eci9", + "cavv": "cavv5", + "transaction_Id": "transaction_Id5", + "success_url": "success_url1" + } + } + }, + "bank_transfer": { + "bank": [ + "bank2", + "bank3" + ] + }, + "accepted_brands": [ + "accepted_brands3", + "accepted_brands4", + "accepted_brands5" + ], + "pix": { + "expires_at": "2016-03-13T12:52:32.123Z", + "additional_information": [ + { + "Name": "Name4", + "Value": "Value2" + }, + { + "Name": "Name5", + "Value": "Value3" + }, + { + "Name": "Name6", + "Value": "Value4" + } + ] + } + } + ], + "ip": "ip4", + "session_id": "session_id8", + "location": { + "latitude": "latitude2", + "longitude": "longitude8" + }, + "device": { + "platform": "platform0" + }, + "closed": false } ``` diff --git a/doc/models/get-payment-authentication-response.md b/doc/models/get-payment-authentication-response.md index 72f146b..aad2d1d 100644 --- a/doc/models/get-payment-authentication-response.md +++ b/doc/models/get-payment-authentication-response.md @@ -18,8 +18,14 @@ Payment Authentication response ```json { - "type": null, - "threed_secure": null + "type": "type0", + "threed_secure": { + "mpi": "mpi0", + "eci": "eci2", + "cavv": "cavv8", + "transaction_Id": "transaction_Id2", + "success_url": "success_url4" + } } ``` diff --git a/doc/models/get-period-response.md b/doc/models/get-period-response.md index df8db58..2f45195 100644 --- a/doc/models/get-period-response.md +++ b/doc/models/get-period-response.md @@ -26,16 +26,1362 @@ Response object for getting a period ```json { - "start_at": null, - "end_at": null, - "id": null, - "billing_at": null, - "subscription": null, - "status": null, - "duration": null, - "created_at": null, - "updated_at": null, - "cycle": null + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id0", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id4", + "code": "code2", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval2", + "interval_count": 234, + "billing_type": "billing_type8", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id2", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id8", + "code": "code6", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval6", + "interval_count": 36, + "billing_type": "billing_type8", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id6", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status8", + "duration": 20, + "created_at": "created_at4", + "updated_at": "updated_at2", + "cycle": 216 + }, + "payment_method": "payment_method2", + "currency": "currency8", + "installments": 204, + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id8", + "name": "name8", + "email": "email8", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document8", + "type": "type2", + "fb_access_token": "fb_access_token2", + "address": { + "id": "id4", + "street": "street4", + "number": "number2", + "complement": "complement0", + "zip_code": "zip_code8", + "neighborhood": "neighborhood0", + "city": "city4", + "state": "state0", + "country": "country8", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id4", + "name": "name4", + "email": "email2", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document8", + "type": "type6", + "fb_access_token": "fb_access_token8", + "address": { + "id": "id0", + "street": "street0", + "number": "number8", + "complement": "complement6", + "zip_code": "zip_code4", + "neighborhood": "neighborhood6", + "city": "city0", + "state": "state6", + "country": "country4", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "line_1": "line_14", + "line_2": "line_28", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "phones": { + "home_phone": { + "country_code": "country_code6", + "number": "number4", + "area_code": "area_code6" + }, + "mobile_phone": { + "country_code": "country_code4", + "number": "number6", + "area_code": "area_code6" + } + }, + "fb_id": 246, + "code": "code2", + "document_type": "document_type2" + }, + "metadata": { + "key0": "metadata1" + }, + "line_1": "line_18", + "line_2": "line_22", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata5" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 196, + "code": "code6", + "document_type": "document_type6" + }, + "card": { + "id": "id8", + "last_four_digits": "last_four_digits4", + "brand": "brand2", + "holder_name": "holder_name4", + "exp_month": 182, + "exp_year": 114, + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street0", + "number": "number2", + "zip_code": "zip_code4", + "neighborhood": "neighborhood6", + "city": "city0", + "state": "state4", + "country": "country4", + "complement": "complement4", + "line_1": "line_16", + "line_2": "line_28" + }, + "customer": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata6" + }, + "type": "type2", + "holder_document": "holder_document8", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits8", + "label": "label8" + }, + "items": [ + { + "id": "id5", + "description": "description5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 103, + "scheme_type": "scheme_type3", + "price_brackets": [ + { + "start_quantity": 106, + "price": 212, + "end_quantity": 114, + "overage_price": 128 + }, + { + "start_quantity": 107, + "price": 211, + "end_quantity": 115, + "overage_price": 129 + } + ], + "minimum_price": 7, + "percentage": 92.91 + }, + "discounts": [ + { + "id": "id6", + "value": 169.08, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 36, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": { + "id": "id2", + "description": "description2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 6, + "scheme_type": "scheme_type4", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 90, + "percentage": 206.52 + }, + "discounts": [ + { + "id": "id3", + "value": 204.15, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 215, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 204.16, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 216, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 204.17, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 217, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id1", + "value": 59.43, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 79, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name2", + "quantity": 4, + "cycles": 24, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {} + ], + "subscription": {}, + "name": "name5", + "quantity": 81, + "cycles": 155, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id6", + "description": "description6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 104, + "scheme_type": "scheme_type2", + "price_brackets": [ + { + "start_quantity": 105, + "price": 213, + "end_quantity": 113, + "overage_price": 127 + } + ], + "minimum_price": 8, + "percentage": 92.9 + }, + "discounts": [ + { + "id": "id7", + "value": 169.09, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 37, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": { + "id": "id3", + "description": "description3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 5, + "scheme_type": "scheme_type5", + "price_brackets": [ + {} + ], + "minimum_price": 91, + "percentage": 206.53 + }, + "discounts": [ + { + "id": "id4", + "value": 204.16, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 216, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id2", + "value": 59.44, + "increment_type": "increment_type4", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 80, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id3", + "value": 59.45, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 81, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name3", + "quantity": 5, + "cycles": 25, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id8", + "value": 169.1, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 38, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": { + "id": "id4", + "description": "description4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 4, + "scheme_type": "scheme_type6", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 92, + "percentage": 206.54 + }, + "discounts": [ + { + "id": "id5", + "value": 204.17, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 217, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 204.18, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 218, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id3", + "value": 59.45, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 81, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 59.46, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 82, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 59.47, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 83, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name4", + "quantity": 6, + "cycles": 26, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {}, + {} + ], + "subscription": {}, + "name": "name6", + "quantity": 82, + "cycles": 154, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id7", + "description": "description7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 105, + "scheme_type": "scheme_type1", + "price_brackets": [ + { + "start_quantity": 104, + "price": 214, + "end_quantity": 112, + "overage_price": 126 + }, + { + "start_quantity": 105, + "price": 213, + "end_quantity": 113, + "overage_price": 127 + }, + { + "start_quantity": 106, + "price": 212, + "end_quantity": 114, + "overage_price": 128 + } + ], + "minimum_price": 9, + "percentage": 92.89 + }, + "discounts": [ + { + "id": "id8", + "value": 169.1, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 38, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": { + "id": "id4", + "description": "description4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 4, + "scheme_type": "scheme_type6", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 92, + "percentage": 206.54 + }, + "discounts": [ + { + "id": "id5", + "value": 204.17, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 217, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 204.18, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 218, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id3", + "value": 59.45, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 81, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 59.46, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 82, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 59.47, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 83, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name4", + "quantity": 6, + "cycles": 26, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id9", + "value": 169.11, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 39, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": { + "id": "id5", + "description": "description5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 3, + "scheme_type": "scheme_type7", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 93, + "percentage": 206.55 + }, + "discounts": [ + { + "id": "id6", + "value": 204.18, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 218, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id7", + "value": 204.19, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 219, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id8", + "value": 204.2, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 220, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id4", + "value": 59.46, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 82, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name5", + "quantity": 7, + "cycles": 27, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id0", + "value": 169.12, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 40, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": { + "id": "id6", + "description": "description6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 2, + "scheme_type": "scheme_type8", + "price_brackets": [ + {} + ], + "minimum_price": 94, + "percentage": 206.56 + }, + "discounts": [ + { + "id": "id7", + "value": 204.19, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 219, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id5", + "value": 59.47, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 83, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 59.48, + "increment_type": "increment_type8", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 84, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name6", + "quantity": 8, + "cycles": 28, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {} + ], + "subscription": {}, + "name": "name7", + "quantity": 83, + "cycles": 153, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor8", + "metadata": { + "key0": "metadata5", + "key1": "metadata6" + }, + "setup": { + "id": "id2", + "description": "description8", + "amount": 228, + "status": "status6" + }, + "gateway_affiliation_id": "gateway_affiliation_id4", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 80, + "minimum_price": 222, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 148, + "split": { + "enabled": false, + "rules": [ + { + "type": "type2", + "amount": 108, + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document6", + "description": "description0", + "type": "type0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document6", + "description": "description0", + "type": "type0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata4" + }, + "pix_key": "pix_key8" + }, + "gateway_recipients": [ + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + }, + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + }, + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + } + ], + "metadata": { + "key0": "metadata3", + "key1": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 100, + "delay": 190, + "days": [ + 166, + 167 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 10 + }, + "code": "code8", + "payment_mode": "payment_mode6" + }, + "metadata": { + "key0": "metadata5", + "key1": "metadata4" + }, + "pix_key": "pix_key8" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata3", + "key1": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 170, + "delay": 120, + "days": [ + 96, + 97 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 80 + }, + "code": "code8", + "payment_mode": "payment_mode6" + }, + "gateway_id": "gateway_id2", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee2" + }, + "id": "id8" + }, + { + "type": "type1", + "amount": 109, + "recipient": { + "id": "id9", + "name": "name9", + "email": "email7", + "document": "document7", + "description": "description1", + "type": "type1", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type3", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id9", + "name": "name9", + "email": "email7", + "document": "document7", + "description": "description9", + "type": "type1", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata4", + "key1": "metadata3", + "key2": "metadata2" + }, + "pix_key": "pix_key9" + }, + "gateway_recipients": [ + { + "gateway": "gateway3", + "status": "status5", + "pgid": "pgid9", + "created_at": "created_at1", + "updated_at": "updated_at9" + }, + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + } + ], + "metadata": { + "key0": "metadata4", + "key1": "metadata5", + "key2": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type7", + "volume_percentage": 101, + "delay": 189, + "days": [ + 165 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 11 + }, + "code": "code7", + "payment_mode": "payment_mode7" + }, + "metadata": { + "key0": "metadata4", + "key1": "metadata3", + "key2": "metadata2" + }, + "pix_key": "pix_key9" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata4", + "key1": "metadata5", + "key2": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type7", + "volume_percentage": 171, + "delay": 119, + "days": [ + 95 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 81 + }, + "code": "code7", + "payment_mode": "payment_mode7" + }, + "gateway_id": "gateway_id1", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee1" + }, + "id": "id9" + }, + { + "type": "type0", + "amount": 110, + "recipient": { + "id": "id8", + "name": "name8", + "email": "email8", + "document": "document8", + "description": "description2", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id8", + "name": "name8", + "email": "email8", + "document": "document8", + "description": "description8", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata3" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + { + "gateway": "gateway2", + "status": "status4", + "pgid": "pgid8", + "created_at": "created_at0", + "updated_at": "updated_at8" + } + ], + "metadata": { + "key0": "metadata5" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 102, + "delay": 188, + "days": [ + 164, + 165, + 166 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 12 + }, + "code": "code6", + "payment_mode": "payment_mode8" + }, + "metadata": { + "key0": "metadata3" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata5" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 172, + "delay": 118, + "days": [ + 94, + 95, + 96 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 82 + }, + "code": "code6", + "payment_mode": "payment_mode8" + }, + "gateway_id": "gateway_id0", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee0" + }, + "id": "id0" + } + ] + }, + "boleto": { + "interest": { + "days": 198, + "type": "type2", + "amount": 16 + }, + "fine": { + "days": 92, + "type": "type0", + "amount": 90 + }, + "max_days_to_pay_past_due": 80 + }, + "manual_billing": false + }, + "status": "status4", + "duration": 218, + "created_at": "created_at0", + "updated_at": "updated_at8", + "cycle": 158 + }, + "payment_method": "payment_method4", + "currency": "currency4", + "installments": 146, + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id8", + "last_four_digits": "last_four_digits4", + "brand": "brand2", + "holder_name": "holder_name4", + "exp_month": 216, + "exp_year": 80, + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street0", + "number": "number2", + "zip_code": "zip_code4", + "neighborhood": "neighborhood6", + "city": "city0", + "state": "state4", + "country": "country4", + "complement": "complement4", + "line_1": "line_16", + "line_2": "line_28" + }, + "customer": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata4" + }, + "type": "type2", + "holder_document": "holder_document2", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits8", + "label": "label8" + }, + "items": [ + {}, + {} + ], + "statement_descriptor": "statement_descriptor4", + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "setup": { + "id": "id8", + "description": "description8", + "amount": 170, + "status": "status0" + }, + "gateway_affiliation_id": "gateway_affiliation_id0", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 118, + "minimum_price": 232, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + {} + ], + "boleto_due_days": 90, + "split": { + "enabled": false, + "rules": [ + {}, + {} + ] + }, + "boleto": { + "interest": { + "days": 0, + "type": "type4", + "amount": 74 + }, + "fine": { + "days": 34, + "type": "type4", + "amount": 108 + }, + "max_days_to_pay_past_due": 22 + }, + "manual_billing": false + }, + "status": "status8", + "duration": 112, + "created_at": "created_at2", + "updated_at": "updated_at4", + "cycle": 52 } ``` diff --git a/doc/models/get-phone-response.md b/doc/models/get-phone-response.md index 5aeed74..7f08a15 100644 --- a/doc/models/get-phone-response.md +++ b/doc/models/get-phone-response.md @@ -17,9 +17,9 @@ ```json { - "country_code": null, - "number": null, - "area_code": null + "country_code": "country_code0", + "number": "number2", + "area_code": "area_code0" } ``` diff --git a/doc/models/get-phones-response.md b/doc/models/get-phones-response.md index 5486239..9b35936 100644 --- a/doc/models/get-phones-response.md +++ b/doc/models/get-phones-response.md @@ -16,8 +16,16 @@ ```json { - "home_phone": null, - "mobile_phone": null + "home_phone": { + "country_code": "country_code0", + "number": "number2", + "area_code": "area_code0" + }, + "mobile_phone": { + "country_code": "country_code0", + "number": "number8", + "area_code": "area_code0" + } } ``` diff --git a/doc/models/get-pix-bank-account-response.md b/doc/models/get-pix-bank-account-response.md index 55f478e..a330220 100644 --- a/doc/models/get-pix-bank-account-response.md +++ b/doc/models/get-pix-bank-account-response.md @@ -20,10 +20,10 @@ Payer's bank details. ```json { - "bank_name": null, - "ispb": null, - "branch_code": null, - "account_number": null + "bank_name": "bank_name4", + "ispb": "ispb4", + "branch_code": "branch_code8", + "account_number": "account_number0" } ``` diff --git a/doc/models/get-pix-payer-response.md b/doc/models/get-pix-payer-response.md index a4f5640..c93a8da 100644 --- a/doc/models/get-pix-payer-response.md +++ b/doc/models/get-pix-payer-response.md @@ -20,10 +20,15 @@ Pix payer data. ```json { - "name": null, - "document": null, - "document_type": null, - "bank_account": null + "name": "name0", + "document": "document6", + "document_type": "document_type8", + "bank_account": { + "bank_name": "bank_name0", + "ispb": "ispb8", + "branch_code": "branch_code2", + "account_number": "account_number4" + } } ``` diff --git a/doc/models/get-pix-transaction-response.md b/doc/models/get-pix-transaction-response.md index 6b48b89..02768e6 100644 --- a/doc/models/get-pix-transaction-response.md +++ b/doc/models/get-pix-transaction-response.md @@ -26,31 +26,637 @@ Response object when getting a pix transaction ```json { - "gateway_id": null, - "amount": null, - "status": null, - "success": null, - "created_at": null, - "updated_at": null, - "attempt_count": null, - "max_attempts": null, - "splits": null, - "next_attempt": null, + "gateway_id": "gateway_id6", + "amount": 190, + "status": "status4", + "success": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 90, + "max_attempts": 154, + "splits": [ + { + "type": "type2", + "amount": 82, + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document6", + "description": "description0", + "type": "type0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document6", + "description": "description0", + "type": "type0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata5" + }, + "pix_key": "pix_key8" + }, + "gateway_recipients": [ + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + } + ], + "metadata": { + "key0": "metadata3" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 74, + "delay": 216, + "days": [ + 192, + 193, + 194 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 240 + }, + "code": "code8", + "payment_mode": "payment_mode4" + }, + "metadata": { + "key0": "metadata5" + }, + "pix_key": "pix_key8" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata3" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 144, + "delay": 146, + "days": [ + 122, + 123, + 124 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 54 + }, + "code": "code8", + "payment_mode": "payment_mode6" + }, + "gateway_id": "gateway_id2", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee2" + }, + "id": "id8" + }, + { + "type": "type3", + "amount": 81, + "recipient": { + "id": "id1", + "name": "name1", + "email": "email5", + "document": "document5", + "description": "description9", + "type": "type9", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id9", + "holder_name": "holder_name5", + "holder_type": "holder_type1", + "bank": "bank7", + "branch_number": "branch_number5", + "branch_check_digit": "branch_check_digit5", + "account_number": "account_number9", + "account_check_digit": "account_check_digit5", + "type": "type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id1", + "name": "name1", + "email": "email5", + "document": "document5", + "description": "description1", + "type": "type9", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id9", + "holder_name": "holder_name5", + "holder_type": "holder_type1", + "bank": "bank7", + "branch_number": "branch_number5", + "branch_check_digit": "branch_check_digit5", + "account_number": "account_number9", + "account_check_digit": "account_check_digit5", + "type": "type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata6", + "key1": "metadata5", + "key2": "metadata4" + }, + "pix_key": "pix_key7" + }, + "gateway_recipients": [ + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + }, + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + } + ], + "metadata": { + "key0": "metadata2", + "key1": "metadata3", + "key2": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type5", + "volume_percentage": 73, + "delay": 217, + "days": [ + 193 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval3", + "transfer_day": 239 + }, + "code": "code9", + "payment_mode": "payment_mode5" + }, + "metadata": { + "key0": "metadata6", + "key1": "metadata5", + "key2": "metadata4" + }, + "pix_key": "pix_key7" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata2", + "key1": "metadata3", + "key2": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type5", + "volume_percentage": 143, + "delay": 147, + "days": [ + 123 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval3", + "transfer_day": 53 + }, + "code": "code9", + "payment_mode": "payment_mode5" + }, + "gateway_id": "gateway_id3", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee3" + }, + "id": "id7" + } + ], + "next_attempt": "2016-03-13T12:52:32.123Z", "transaction_type": "pix", - "id": null, - "gateway_response": null, - "antifraud_response": null, - "metadata": null, - "split": null, - "interest": null, - "fine": null, - "max_days_to_pay_past_due": null, - "qr_code": null, - "qr_code_url": null, - "expires_at": null, - "additional_information": null, - "end_to_end_id": null, - "payer": null + "id": "id4", + "gateway_response": { + "code": "code2", + "errors": [ + { + "message": "message9" + }, + { + "message": "message0" + }, + { + "message": "message1" + } + ] + }, + "antifraud_response": { + "status": "status4", + "return_code": "return_code2", + "return_message": "return_message0", + "provider_name": "provider_name0", + "score": "score2" + }, + "metadata": { + "key0": "metadata9", + "key1": "metadata0", + "key2": "metadata1" + }, + "split": [ + { + "type": "type8", + "amount": 136, + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document2", + "description": "description6", + "type": "type6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type8", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document2", + "description": "description4", + "type": "type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata8", + "key2": "metadata7" + }, + "pix_key": "pix_key6" + }, + "gateway_recipients": [ + { + "gateway": "gateway8", + "status": "status0", + "pgid": "pgid4", + "created_at": "created_at6", + "updated_at": "updated_at4" + }, + { + "gateway": "gateway9", + "status": "status1", + "pgid": "pgid5", + "created_at": "created_at7", + "updated_at": "updated_at5" + } + ], + "metadata": { + "key0": "metadata9", + "key1": "metadata0", + "key2": "metadata1" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 188, + "delay": 102, + "days": [ + 78 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 98 + }, + "code": "code2", + "payment_mode": "payment_mode8" + }, + "metadata": { + "key0": "metadata9", + "key1": "metadata8", + "key2": "metadata7" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata9", + "key1": "metadata0", + "key2": "metadata1" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 2, + "delay": 32, + "days": [ + 8 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 168 + }, + "code": "code2", + "payment_mode": "payment_mode2" + }, + "gateway_id": "gateway_id8", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee8" + }, + "id": "id2" + }, + { + "type": "type7", + "amount": 137, + "recipient": { + "id": "id5", + "name": "name5", + "email": "email1", + "document": "document1", + "description": "description5", + "type": "type5", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id3", + "holder_name": "holder_name9", + "holder_type": "holder_type5", + "bank": "bank1", + "branch_number": "branch_number9", + "branch_check_digit": "branch_check_digit9", + "account_number": "account_number3", + "account_check_digit": "account_check_digit9", + "type": "type7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id5", + "name": "name5", + "email": "email1", + "document": "document1", + "description": "description5", + "type": "type5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id3", + "holder_name": "holder_name9", + "holder_type": "holder_type5", + "bank": "bank1", + "branch_number": "branch_number9", + "branch_check_digit": "branch_check_digit9", + "account_number": "account_number3", + "account_check_digit": "account_check_digit9", + "type": "type3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata0", + "key1": "metadata9" + }, + "pix_key": "pix_key7" + }, + "gateway_recipients": [ + { + "gateway": "gateway9", + "status": "status1", + "pgid": "pgid5", + "created_at": "created_at7", + "updated_at": "updated_at5" + }, + { + "gateway": "gateway0", + "status": "status2", + "pgid": "pgid6", + "created_at": "created_at8", + "updated_at": "updated_at6" + }, + { + "gateway": "gateway1", + "status": "status3", + "pgid": "pgid7", + "created_at": "created_at9", + "updated_at": "updated_at7" + } + ], + "metadata": { + "key0": "metadata8", + "key1": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type1", + "volume_percentage": 187, + "delay": 103, + "days": [ + 79, + 80 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval9", + "transfer_day": 97 + }, + "code": "code3", + "payment_mode": "payment_mode9" + }, + "metadata": { + "key0": "metadata0", + "key1": "metadata9" + }, + "pix_key": "pix_key3" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata8", + "key1": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type1", + "volume_percentage": 1, + "delay": 33, + "days": [ + 9, + 10 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval9", + "transfer_day": 167 + }, + "code": "code3", + "payment_mode": "payment_mode1" + }, + "gateway_id": "gateway_id7", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee9" + }, + "id": "id3" + } + ], + "interest": { + "days": 176, + "type": "type4", + "amount": 250 + }, + "fine": { + "days": 114, + "type": "type4", + "amount": 188 + }, + "max_days_to_pay_past_due": 102, + "qr_code": "qr_code6", + "qr_code_url": "qr_code_url2", + "expires_at": "2016-03-13T12:52:32.123Z", + "additional_information": [ + { + "Name": "Name5", + "Value": "Value7" + }, + { + "Name": "Name6", + "Value": "Value6" + } + ], + "end_to_end_id": "end_to_end_id0", + "payer": { + "name": "name8", + "document": "document2", + "document_type": "document_type6", + "bank_account": { + "bank_name": "bank_name8", + "ispb": "ispb6", + "branch_code": "branch_code0", + "account_number": "account_number2" + } + } } ``` diff --git a/doc/models/get-plan-item-response.md b/doc/models/get-plan-item-response.md index 39eea10..11c017e 100644 --- a/doc/models/get-plan-item-response.md +++ b/doc/models/get-plan-item-response.md @@ -27,17 +27,325 @@ Response object for getting a plan item ```json { - "id": null, - "name": null, - "status": null, - "created_at": null, - "updated_at": null, - "pricing_scheme": null, - "description": null, - "plan": null, - "quantity": null, - "cycles": null, - "deleted_at": null + "id": "id0", + "name": "name0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 166, + "scheme_type": "scheme_type8", + "price_brackets": [ + { + "start_quantity": 119, + "price": 57, + "end_quantity": 127, + "overage_price": 141 + }, + { + "start_quantity": 120, + "price": 58, + "end_quantity": 128, + "overage_price": 142 + }, + { + "start_quantity": 121, + "price": 59, + "end_quantity": 129, + "overage_price": 143 + } + ], + "minimum_price": 6, + "percentage": 251.76 + }, + "description": "description0", + "plan": { + "id": "id4", + "name": "name4", + "description": "description4", + "url": "url8", + "statement_descriptor": "statement_descriptor4", + "interval": "interval2", + "interval_count": 148, + "billing_type": "billing_type2", + "payment_methods": [ + "payment_methods9", + "payment_methods8" + ], + "installments": [ + 185, + 186, + 187 + ], + "status": "status6", + "currency": "currency4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "items": [ + { + "id": "id1", + "name": "name1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 73, + "scheme_type": "scheme_type3", + "price_brackets": [ + { + "start_quantity": 136, + "price": 182, + "end_quantity": 144, + "overage_price": 158 + }, + { + "start_quantity": 137, + "price": 181, + "end_quantity": 145, + "overage_price": 159 + }, + { + "start_quantity": 138, + "price": 180, + "end_quantity": 146, + "overage_price": 160 + } + ], + "minimum_price": 233, + "percentage": 42.01 + }, + "description": "description1", + "plan": { + "id": "id7", + "name": "name7", + "description": "description7", + "url": "url1", + "statement_descriptor": "statement_descriptor7", + "interval": "interval5", + "interval_count": 141, + "billing_type": "billing_type9", + "payment_methods": [ + "payment_methods8", + "payment_methods9" + ], + "installments": [ + 178, + 179, + 180 + ], + "status": "status1", + "currency": "currency7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "items": [ + { + "id": "id4", + "name": "name4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 208, + "scheme_type": "scheme_type4", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 112, + "percentage": 56.02 + }, + "description": "description4", + "plan": {}, + "quantity": 186, + "cycles": 50, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id5", + "name": "name5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 209, + "scheme_type": "scheme_type3", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 113, + "percentage": 56.01 + }, + "description": "description5", + "plan": {}, + "quantity": 187, + "cycles": 49, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "billing_days": [ + 114, + 113 + ], + "shippable": true, + "metadata": { + "key0": "metadata6", + "key1": "metadata7", + "key2": "metadata8" + }, + "trial_period_days": 113, + "minimum_price": 117, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "quantity": 193, + "cycles": 213, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id2", + "name": "name2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 72, + "scheme_type": "scheme_type4", + "price_brackets": [ + { + "start_quantity": 137, + "price": 181, + "end_quantity": 145, + "overage_price": 159 + } + ], + "minimum_price": 232, + "percentage": 42.02 + }, + "description": "description2", + "plan": { + "id": "id8", + "name": "name8", + "description": "description8", + "url": "url2", + "statement_descriptor": "statement_descriptor8", + "interval": "interval6", + "interval_count": 142, + "billing_type": "billing_type8", + "payment_methods": [ + "payment_methods7" + ], + "installments": [ + 179 + ], + "status": "status0", + "currency": "currency8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "items": [ + { + "id": "id5", + "name": "name5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 209, + "scheme_type": "scheme_type3", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 113, + "percentage": 56.01 + }, + "description": "description5", + "plan": {}, + "quantity": 187, + "cycles": 49, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id6", + "name": "name6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 210, + "scheme_type": "scheme_type2", + "price_brackets": [ + {} + ], + "minimum_price": 114, + "percentage": 56.0 + }, + "description": "description6", + "plan": {}, + "quantity": 188, + "cycles": 48, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id7", + "name": "name7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 211, + "scheme_type": "scheme_type1", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 115, + "percentage": 55.99 + }, + "description": "description7", + "plan": {}, + "quantity": 189, + "cycles": 47, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "billing_days": [ + 113, + 112, + 111 + ], + "shippable": false, + "metadata": { + "key0": "metadata5", + "key1": "metadata6" + }, + "trial_period_days": 114, + "minimum_price": 116, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "quantity": 194, + "cycles": 214, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "billing_days": [ + 149, + 150 + ], + "shippable": false, + "metadata": { + "key0": "metadata9", + "key1": "metadata0", + "key2": "metadata1" + }, + "trial_period_days": 120, + "minimum_price": 110, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "quantity": 68, + "cycles": 168, + "deleted_at": "2016-03-13T12:52:32.123Z" } ``` diff --git a/doc/models/get-plan-response.md b/doc/models/get-plan-response.md index 9fd63d8..6434eec 100644 --- a/doc/models/get-plan-response.md +++ b/doc/models/get-plan-response.md @@ -37,27 +37,363 @@ Response object for getting a plan ```json { - "id": null, - "name": null, - "description": null, - "url": null, - "statement_descriptor": null, - "interval": null, - "interval_count": null, - "billing_type": null, - "payment_methods": null, - "installments": null, - "status": null, - "currency": null, - "created_at": null, - "updated_at": null, - "items": null, - "billing_days": null, - "shippable": null, - "metadata": null, - "trial_period_days": null, - "minimum_price": null, - "deleted_at": null + "id": "id0", + "name": "name0", + "description": "description0", + "url": "url4", + "statement_descriptor": "statement_descriptor0", + "interval": "interval2", + "interval_count": 82, + "billing_type": "billing_type6", + "payment_methods": [ + "payment_methods5", + "payment_methods6" + ], + "installments": [ + 119, + 120, + 121 + ], + "status": "status8", + "currency": "currency0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "items": [ + { + "id": "id7", + "name": "name7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 149, + "scheme_type": "scheme_type1", + "price_brackets": [ + { + "start_quantity": 60, + "price": 2, + "end_quantity": 68, + "overage_price": 82 + }, + { + "start_quantity": 61, + "price": 1, + "end_quantity": 69, + "overage_price": 83 + }, + { + "start_quantity": 62, + "price": 0, + "end_quantity": 70, + "overage_price": 84 + } + ], + "minimum_price": 53, + "percentage": 25.89 + }, + "description": "description7", + "plan": { + "id": "id7", + "name": "name7", + "description": "description3", + "url": "url1", + "statement_descriptor": "statement_descriptor7", + "interval": "interval5", + "interval_count": 89, + "billing_type": "billing_type9", + "payment_methods": [ + "payment_methods8", + "payment_methods9" + ], + "installments": [ + 126, + 127, + 128 + ], + "status": "status1", + "currency": "currency7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "items": [ + { + "id": "id4", + "name": "name4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 156, + "scheme_type": "scheme_type4", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 60, + "percentage": 192.22 + }, + "description": "description4", + "plan": { + "id": "id0", + "name": "name0", + "description": "description0", + "url": "url4", + "statement_descriptor": "statement_descriptor0", + "interval": "interval2", + "interval_count": 82, + "billing_type": "billing_type6", + "payment_methods": [ + "payment_methods5", + "payment_methods6" + ], + "installments": [ + 119, + 120, + 121 + ], + "status": "status8", + "currency": "currency0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "items": [ + {}, + {} + ], + "billing_days": [ + 143, + 144, + 145 + ], + "shippable": false, + "metadata": { + "key0": "metadata3", + "key1": "metadata4", + "key2": "metadata5" + }, + "trial_period_days": 54, + "minimum_price": 176, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "quantity": 134, + "cycles": 102, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id5", + "name": "name5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 157, + "scheme_type": "scheme_type3", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 61, + "percentage": 192.21 + }, + "description": "description5", + "plan": { + "id": "id1", + "name": "name1", + "description": "description9", + "url": "url5", + "statement_descriptor": "statement_descriptor1", + "interval": "interval1", + "interval_count": 83, + "billing_type": "billing_type5", + "payment_methods": [ + "payment_methods4" + ], + "installments": [ + 120 + ], + "status": "status7", + "currency": "currency9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "items": [ + {}, + {}, + {} + ], + "billing_days": [ + 142, + 143 + ], + "shippable": true, + "metadata": { + "key0": "metadata2", + "key1": "metadata3" + }, + "trial_period_days": 55, + "minimum_price": 175, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "quantity": 135, + "cycles": 101, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "billing_days": [ + 120, + 119, + 118 + ], + "shippable": true, + "metadata": { + "key0": "metadata6", + "key1": "metadata7", + "key2": "metadata8" + }, + "trial_period_days": 61, + "minimum_price": 169, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "quantity": 127, + "cycles": 109, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id8", + "name": "name8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 150, + "scheme_type": "scheme_type0", + "price_brackets": [ + { + "start_quantity": 59, + "price": 3, + "end_quantity": 67, + "overage_price": 81 + }, + { + "start_quantity": 60, + "price": 2, + "end_quantity": 68, + "overage_price": 82 + } + ], + "minimum_price": 54, + "percentage": 25.88 + }, + "description": "description8", + "plan": { + "id": "id6", + "name": "name6", + "description": "description4", + "url": "url0", + "statement_descriptor": "statement_descriptor6", + "interval": "interval6", + "interval_count": 88, + "billing_type": "billing_type0", + "payment_methods": [ + "payment_methods9", + "payment_methods0", + "payment_methods1" + ], + "installments": [ + 125, + 126 + ], + "status": "status2", + "currency": "currency6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "items": [ + { + "id": "id3", + "name": "name3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 155, + "scheme_type": "scheme_type5", + "price_brackets": [ + {} + ], + "minimum_price": 59, + "percentage": 192.23 + }, + "description": "description3", + "plan": { + "id": "id1", + "name": "name1", + "description": "description9", + "url": "url5", + "statement_descriptor": "statement_descriptor1", + "interval": "interval1", + "interval_count": 83, + "billing_type": "billing_type5", + "payment_methods": [ + "payment_methods4" + ], + "installments": [ + 120 + ], + "status": "status7", + "currency": "currency9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "items": [ + {}, + {}, + {} + ], + "billing_days": [ + 142, + 143 + ], + "shippable": true, + "metadata": { + "key0": "metadata2", + "key1": "metadata3" + }, + "trial_period_days": 55, + "minimum_price": 175, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "quantity": 133, + "cycles": 103, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "billing_days": [ + 119 + ], + "shippable": false, + "metadata": { + "key0": "metadata7" + }, + "trial_period_days": 60, + "minimum_price": 170, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "quantity": 128, + "cycles": 108, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "billing_days": [ + 143, + 144, + 145 + ], + "shippable": false, + "metadata": { + "key0": "metadata3", + "key1": "metadata4", + "key2": "metadata5" + }, + "trial_period_days": 54, + "minimum_price": 176, + "deleted_at": "2016-03-13T12:52:32.123Z" } ``` diff --git a/doc/models/get-price-bracket-response.md b/doc/models/get-price-bracket-response.md index e20f1ff..ae36812 100644 --- a/doc/models/get-price-bracket-response.md +++ b/doc/models/get-price-bracket-response.md @@ -20,10 +20,10 @@ Response object for getting a price bracket ```json { - "start_quantity": null, - "price": null, - "end_quantity": null, - "overage_price": null + "start_quantity": 46, + "price": 16, + "end_quantity": 54, + "overage_price": 68 } ``` diff --git a/doc/models/get-pricing-scheme-response.md b/doc/models/get-pricing-scheme-response.md index 31250c2..b40fa4c 100644 --- a/doc/models/get-pricing-scheme-response.md +++ b/doc/models/get-pricing-scheme-response.md @@ -21,11 +21,30 @@ Response object for getting a pricing scheme ```json { - "price": null, - "scheme_type": null, - "price_brackets": null, - "minimum_price": null, - "percentage": null + "price": 16, + "scheme_type": "scheme_type0", + "price_brackets": [ + { + "start_quantity": 193, + "price": 125, + "end_quantity": 201, + "overage_price": 215 + }, + { + "start_quantity": 194, + "price": 124, + "end_quantity": 202, + "overage_price": 216 + }, + { + "start_quantity": 195, + "price": 123, + "end_quantity": 203, + "overage_price": 217 + } + ], + "minimum_price": 176, + "percentage": 4.18 } ``` diff --git a/doc/models/get-private-label-transaction-response.md b/doc/models/get-private-label-transaction-response.md index 7c1a3cd..4eff225 100644 --- a/doc/models/get-private-label-transaction-response.md +++ b/doc/models/get-private-label-transaction-response.md @@ -31,36 +31,587 @@ Response object for getting a private label transaction ```json { - "gateway_id": null, - "amount": null, - "status": null, - "success": null, - "created_at": null, - "updated_at": null, - "attempt_count": null, - "max_attempts": null, - "splits": null, - "next_attempt": null, + "gateway_id": "gateway_id6", + "amount": 20, + "status": "status6", + "success": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 4, + "max_attempts": 240, + "splits": [ + { + "type": "type6", + "amount": 44, + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document2", + "description": "description6", + "type": "type6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type8", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document8", + "description": "description4", + "type": "type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata7" + }, + "pix_key": "pix_key6" + }, + "gateway_recipients": [ + { + "gateway": "gateway8", + "status": "status0", + "pgid": "pgid4", + "created_at": "created_at6", + "updated_at": "updated_at4" + } + ], + "metadata": { + "key0": "metadata1" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 204, + "delay": 86, + "days": [ + 62, + 63, + 64 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 114 + }, + "code": "code2", + "payment_mode": "payment_mode8" + }, + "metadata": { + "key0": "metadata9" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 18, + "delay": 16, + "days": [ + 248, + 249, + 250 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 184 + }, + "code": "code2", + "payment_mode": "payment_mode2" + }, + "gateway_id": "gateway_id6", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee6" + }, + "id": "id4" + }, + { + "type": "type7", + "amount": 45, + "recipient": { + "id": "id5", + "name": "name5", + "email": "email1", + "document": "document1", + "description": "description5", + "type": "type5", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id3", + "holder_name": "holder_name9", + "holder_type": "holder_type5", + "bank": "bank1", + "branch_number": "branch_number9", + "branch_check_digit": "branch_check_digit9", + "account_number": "account_number3", + "account_check_digit": "account_check_digit9", + "type": "type7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id5", + "name": "name5", + "email": "email1", + "document": "document9", + "description": "description5", + "type": "type5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id3", + "holder_name": "holder_name9", + "holder_type": "holder_type5", + "bank": "bank1", + "branch_number": "branch_number9", + "branch_check_digit": "branch_check_digit9", + "account_number": "account_number3", + "account_check_digit": "account_check_digit9", + "type": "type3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata6", + "key1": "metadata5" + }, + "pix_key": "pix_key7" + }, + "gateway_recipients": [ + { + "gateway": "gateway9", + "status": "status1", + "pgid": "pgid5", + "created_at": "created_at7", + "updated_at": "updated_at5" + }, + { + "gateway": "gateway0", + "status": "status2", + "pgid": "pgid6", + "created_at": "created_at8", + "updated_at": "updated_at6" + } + ], + "metadata": { + "key0": "metadata2", + "key1": "metadata1", + "key2": "metadata0" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type1", + "volume_percentage": 203, + "delay": 87, + "days": [ + 63 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval9", + "transfer_day": 113 + }, + "code": "code3", + "payment_mode": "payment_mode9" + }, + "metadata": { + "key0": "metadata0", + "key1": "metadata9", + "key2": "metadata8" + }, + "pix_key": "pix_key3" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata8", + "key1": "metadata9", + "key2": "metadata0" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type1", + "volume_percentage": 17, + "delay": 17, + "days": [ + 249 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval9", + "transfer_day": 183 + }, + "code": "code3", + "payment_mode": "payment_mode1" + }, + "gateway_id": "gateway_id7", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee7" + }, + "id": "id3" + } + ], + "next_attempt": "2016-03-13T12:52:32.123Z", "transaction_type": "private_label", - "id": null, - "gateway_response": null, - "antifraud_response": null, - "metadata": null, - "split": null, - "interest": null, - "fine": null, - "max_days_to_pay_past_due": null, - "statement_descriptor": null, - "acquirer_name": null, - "acquirer_affiliation_code": null, - "acquirer_tid": null, - "acquirer_nsu": null, - "acquirer_auth_code": null, - "operation_type": null, - "card": null, - "acquirer_message": null, - "acquirer_return_code": null, - "installments": null + "id": "id4", + "gateway_response": { + "code": "code4", + "errors": [ + { + "message": "message1" + }, + { + "message": "message2" + } + ] + }, + "antifraud_response": { + "status": "status4", + "return_code": "return_code2", + "return_message": "return_message0", + "provider_name": "provider_name0", + "score": "score2" + }, + "metadata": { + "key0": "metadata1" + }, + "split": [ + { + "type": "type8", + "amount": 222, + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document2", + "description": "description4", + "type": "type6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document8", + "description": "description4", + "type": "type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata7" + }, + "pix_key": "pix_key6" + }, + "gateway_recipients": [ + { + "gateway": "gateway8", + "status": "status0", + "pgid": "pgid4", + "created_at": "created_at6", + "updated_at": "updated_at4" + } + ], + "metadata": { + "key0": "metadata1" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 102, + "delay": 188, + "days": [ + 164, + 165, + 166 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 12 + }, + "code": "code2", + "payment_mode": "payment_mode8" + }, + "metadata": { + "key0": "metadata9" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 172, + "delay": 118, + "days": [ + 94, + 95, + 96 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 82 + }, + "code": "code2", + "payment_mode": "payment_mode8" + }, + "gateway_id": "gateway_id8", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee8" + }, + "id": "id2" + } + ], + "interest": { + "days": 90, + "type": "type4", + "amount": 164 + }, + "fine": { + "days": 200, + "type": "type4", + "amount": 18 + }, + "max_days_to_pay_past_due": 188, + "statement_descriptor": "statement_descriptor0", + "acquirer_name": "acquirer_name4", + "acquirer_affiliation_code": "acquirer_affiliation_code8", + "acquirer_tid": "acquirer_tid0", + "acquirer_nsu": "acquirer_nsu0", + "acquirer_auth_code": "acquirer_auth_code8", + "operation_type": "operation_type6", + "card": { + "id": "id6", + "last_four_digits": "last_four_digits2", + "brand": "brand0", + "holder_name": "holder_name2", + "exp_month": 228, + "exp_year": 68, + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street8", + "number": "number4", + "zip_code": "zip_code2", + "neighborhood": "neighborhood4", + "city": "city2", + "state": "state6", + "country": "country2", + "complement": "complement6", + "line_1": "line_18", + "line_2": "line_26" + }, + "customer": { + "id": "id6", + "name": "name6", + "email": "email0", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document0", + "type": "type4", + "fb_access_token": "fb_access_token0", + "address": { + "id": "id2", + "street": "street2", + "number": "number0", + "complement": "complement8", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city2", + "state": "state8", + "country": "country6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id2", + "name": "name2", + "email": "email4", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document6", + "type": "type8", + "fb_access_token": "fb_access_token6", + "address": { + "id": "id8", + "street": "street8", + "number": "number6", + "complement": "complement4", + "zip_code": "zip_code2", + "neighborhood": "neighborhood4", + "city": "city8", + "state": "state4", + "country": "country2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "line_1": "line_12", + "line_2": "line_26", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "phones": { + "home_phone": { + "country_code": "country_code4", + "number": "number2", + "area_code": "area_code4" + }, + "mobile_phone": { + "country_code": "country_code4", + "number": "number8", + "area_code": "area_code4" + } + }, + "fb_id": 106, + "code": "code0", + "document_type": "document_type0" + }, + "metadata": { + "key0": "metadata9", + "key1": "metadata8", + "key2": "metadata7" + }, + "line_1": "line_16", + "line_2": "line_20", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata8", + "key2": "metadata9" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 56, + "code": "code4", + "document_type": "document_type4" + }, + "metadata": { + "key0": "metadata7" + }, + "type": "type4", + "holder_document": "holder_document0", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits6", + "label": "label6" + }, + "acquirer_message": "acquirer_message0", + "acquirer_return_code": "acquirer_return_code8", + "installments": 250 } ``` diff --git a/doc/models/get-recipient-response.md b/doc/models/get-recipient-response.md index 2aec20e..f85f10e 100644 --- a/doc/models/get-recipient-response.md +++ b/doc/models/get-recipient-response.md @@ -33,23 +33,7 @@ Recipient response ```json { - "id": null, - "name": null, - "email": null, - "document": null, - "description": null, - "type": null, - "status": null, - "created_at": null, - "updated_at": null, - "deleted_at": null, - "default_bank_account": null, - "gateway_recipients": null, - "metadata": null, - "automatic_anticipation_settings": null, - "transfer_settings": null, - "code": null, - "payment_mode": null + "payment_mode": "bank_transfer" } ``` diff --git a/doc/models/get-safety-pay-transaction-response.md b/doc/models/get-safety-pay-transaction-response.md index 46716f9..1eb572b 100644 --- a/doc/models/get-safety-pay-transaction-response.md +++ b/doc/models/get-safety-pay-transaction-response.md @@ -24,29 +24,452 @@ Response object for getting a safety pay transaction ```json { - "gateway_id": null, - "amount": null, - "status": null, - "success": null, - "created_at": null, - "updated_at": null, - "attempt_count": null, - "max_attempts": null, - "splits": null, - "next_attempt": null, + "gateway_id": "gateway_id6", + "amount": 62, + "status": "status6", + "success": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 218, + "max_attempts": 26, + "splits": [ + { + "type": "type6", + "amount": 86, + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document2", + "description": "description6", + "type": "type6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type8", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document8", + "description": "description4", + "type": "type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata7" + }, + "pix_key": "pix_key6" + }, + "gateway_recipients": [ + { + "gateway": "gateway8", + "status": "status0", + "pgid": "pgid4", + "created_at": "created_at6", + "updated_at": "updated_at4" + } + ], + "metadata": { + "key0": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 162, + "delay": 128, + "days": [ + 104, + 105, + 106 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 72 + }, + "code": "code2", + "payment_mode": "payment_mode8" + }, + "metadata": { + "key0": "metadata9" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 232, + "delay": 58, + "days": [ + 34, + 35, + 36 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 142 + }, + "code": "code2", + "payment_mode": "payment_mode2" + }, + "gateway_id": "gateway_id6", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee6" + }, + "id": "id4" + }, + { + "type": "type7", + "amount": 87, + "recipient": { + "id": "id5", + "name": "name5", + "email": "email1", + "document": "document1", + "description": "description5", + "type": "type5", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id3", + "holder_name": "holder_name9", + "holder_type": "holder_type5", + "bank": "bank1", + "branch_number": "branch_number9", + "branch_check_digit": "branch_check_digit9", + "account_number": "account_number3", + "account_check_digit": "account_check_digit9", + "type": "type7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id5", + "name": "name5", + "email": "email1", + "document": "document9", + "description": "description5", + "type": "type5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id3", + "holder_name": "holder_name9", + "holder_type": "holder_type5", + "bank": "bank1", + "branch_number": "branch_number9", + "branch_check_digit": "branch_check_digit9", + "account_number": "account_number3", + "account_check_digit": "account_check_digit9", + "type": "type3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata6", + "key1": "metadata5" + }, + "pix_key": "pix_key7" + }, + "gateway_recipients": [ + { + "gateway": "gateway9", + "status": "status1", + "pgid": "pgid5", + "created_at": "created_at7", + "updated_at": "updated_at5" + }, + { + "gateway": "gateway0", + "status": "status2", + "pgid": "pgid6", + "created_at": "created_at8", + "updated_at": "updated_at6" + } + ], + "metadata": { + "key0": "metadata8", + "key1": "metadata9", + "key2": "metadata0" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type1", + "volume_percentage": 161, + "delay": 129, + "days": [ + 105 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval9", + "transfer_day": 71 + }, + "code": "code3", + "payment_mode": "payment_mode9" + }, + "metadata": { + "key0": "metadata0", + "key1": "metadata9", + "key2": "metadata8" + }, + "pix_key": "pix_key3" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata8", + "key1": "metadata9", + "key2": "metadata0" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type1", + "volume_percentage": 231, + "delay": 59, + "days": [ + 35 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval9", + "transfer_day": 141 + }, + "code": "code3", + "payment_mode": "payment_mode1" + }, + "gateway_id": "gateway_id7", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee7" + }, + "id": "id3" + } + ], + "next_attempt": "2016-03-13T12:52:32.123Z", "transaction_type": "safetypay", - "id": null, - "gateway_response": null, - "antifraud_response": null, - "metadata": null, - "split": null, - "interest": null, - "fine": null, - "max_days_to_pay_past_due": null, - "url": null, - "bank_tid": null, - "paid_at": null, - "paid_amount": null + "id": "id4", + "gateway_response": { + "code": "code4", + "errors": [ + { + "message": "message1" + }, + { + "message": "message2" + } + ] + }, + "antifraud_response": { + "status": "status4", + "return_code": "return_code2", + "return_message": "return_message0", + "provider_name": "provider_name0", + "score": "score2" + }, + "metadata": { + "key0": "metadata1" + }, + "split": [ + { + "type": "type8", + "amount": 8, + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document2", + "description": "description4", + "type": "type6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document8", + "description": "description4", + "type": "type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata7" + }, + "pix_key": "pix_key6" + }, + "gateway_recipients": [ + { + "gateway": "gateway8", + "status": "status0", + "pgid": "pgid4", + "created_at": "created_at6", + "updated_at": "updated_at4" + } + ], + "metadata": { + "key0": "metadata1" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 60, + "delay": 230, + "days": [ + 206, + 207, + 208 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 226 + }, + "code": "code2", + "payment_mode": "payment_mode8" + }, + "metadata": { + "key0": "metadata9" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 130, + "delay": 160, + "days": [ + 136, + 137, + 138 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 40 + }, + "code": "code2", + "payment_mode": "payment_mode8" + }, + "gateway_id": "gateway_id8", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee8" + }, + "id": "id2" + } + ], + "interest": { + "days": 48, + "type": "type4", + "amount": 122 + }, + "fine": { + "days": 242, + "type": "type4", + "amount": 60 + }, + "max_days_to_pay_past_due": 230, + "url": "url4", + "bank_tid": "bank_tid4", + "paid_at": "2016-03-13T12:52:32.123Z", + "paid_amount": 210 } ``` diff --git a/doc/models/get-setup-response.md b/doc/models/get-setup-response.md index 2ace123..19dc0b8 100644 --- a/doc/models/get-setup-response.md +++ b/doc/models/get-setup-response.md @@ -20,10 +20,10 @@ Response object for getting the setup from a subscription ```json { - "id": null, - "description": null, - "amount": null, - "status": null + "id": "id0", + "description": "description0", + "amount": 46, + "status": "status8" } ``` diff --git a/doc/models/get-shipping-response.md b/doc/models/get-shipping-response.md index c5bba26..fb0cbc7 100644 --- a/doc/models/get-shipping-response.md +++ b/doc/models/get-shipping-response.md @@ -24,14 +24,109 @@ Response object for getting the shipping data ```json { - "amount": null, - "description": null, - "recipient_name": null, - "recipient_phone": null, - "address": null, - "max_delivery_date": null, - "estimated_delivery_date": null, - "type": null + "amount": 46, + "description": "description0", + "recipient_name": "recipient_name8", + "recipient_phone": "recipient_phone2", + "address": { + "id": "id6", + "street": "street6", + "number": "number4", + "complement": "complement2", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city6", + "state": "state2", + "country": "country0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id6", + "name": "name6", + "email": "email0", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document0", + "type": "type4", + "fb_access_token": "fb_access_token0", + "address": { + "id": "id2", + "street": "street2", + "number": "number0", + "complement": "complement8", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city2", + "state": "state8", + "country": "country6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id2", + "name": "name2", + "email": "email4", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document6", + "type": "type2", + "fb_access_token": "fb_access_token6", + "address": {}, + "metadata": { + "key0": "metadata9" + }, + "phones": { + "home_phone": { + "country_code": "country_code4", + "number": "number2", + "area_code": "area_code4" + }, + "mobile_phone": { + "country_code": "country_code4", + "number": "number8", + "area_code": "area_code4" + } + }, + "fb_id": 52, + "code": "code0", + "document_type": "document_type0" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata6", + "key2": "metadata5" + }, + "line_1": "line_16", + "line_2": "line_20", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata8" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 2, + "code": "code4", + "document_type": "document_type4" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "line_1": "line_10", + "line_2": "line_24", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "max_delivery_date": "2016-03-13T12:52:32.123Z", + "estimated_delivery_date": "2016-03-13T12:52:32.123Z", + "type": "type0" } ``` diff --git a/doc/models/get-split-options-response.md b/doc/models/get-split-options-response.md index 2bb013d..f6bc282 100644 --- a/doc/models/get-split-options-response.md +++ b/doc/models/get-split-options-response.md @@ -17,9 +17,9 @@ ```json { - "liable": null, - "charge_processing_fee": null, - "charge_remainder_fee": null + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee8" } ``` diff --git a/doc/models/get-split-response.md b/doc/models/get-split-response.md index c9d495a..a27d432 100644 --- a/doc/models/get-split-response.md +++ b/doc/models/get-split-response.md @@ -22,12 +22,143 @@ Split response ```json { - "type": null, - "amount": null, - "recipient": null, - "gateway_id": null, - "options": null, - "id": null + "type": "type0", + "amount": 46, + "recipient": { + "id": "id8", + "name": "name8", + "email": "email8", + "document": "document8", + "description": "description2", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id8", + "name": "name8", + "email": "email8", + "document": "document2", + "description": "description8", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata3", + "key1": "metadata2" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + { + "gateway": "gateway2", + "status": "status4", + "pgid": "pgid8", + "created_at": "created_at0", + "updated_at": "updated_at8" + }, + { + "gateway": "gateway3", + "status": "status5", + "pgid": "pgid9", + "created_at": "created_at1", + "updated_at": "updated_at9" + } + ], + "metadata": { + "key0": "metadata5", + "key1": "metadata4", + "key2": "metadata3" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 202, + "delay": 88, + "days": [ + 64 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 112 + }, + "code": "code6", + "payment_mode": "payment_mode2" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata5", + "key1": "metadata6", + "key2": "metadata7" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 16, + "delay": 18, + "days": [ + 250 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 182 + }, + "code": "code6", + "payment_mode": "payment_mode8" + }, + "gateway_id": "gateway_id0", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee0" + }, + "id": "id0" } ``` diff --git a/doc/models/get-subscription-item-response.md b/doc/models/get-subscription-item-response.md index 3caaba2..9204513 100644 --- a/doc/models/get-subscription-item-response.md +++ b/doc/models/get-subscription-item-response.md @@ -27,19 +27,5521 @@ ```json { - "id": null, - "description": null, - "status": null, - "created_at": null, - "updated_at": null, - "pricing_scheme": null, - "discounts": null, - "increments": null, - "subscription": null, - "name": null, - "quantity": null, - "cycles": null, - "deleted_at": null + "id": "id0", + "description": "description0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 166, + "scheme_type": "scheme_type8", + "price_brackets": [ + { + "start_quantity": 119, + "price": 57, + "end_quantity": 127, + "overage_price": 141 + }, + { + "start_quantity": 120, + "price": 58, + "end_quantity": 128, + "overage_price": 142 + }, + { + "start_quantity": 121, + "price": 59, + "end_quantity": 129, + "overage_price": 143 + } + ], + "minimum_price": 6, + "percentage": 251.76 + }, + "discounts": [ + { + "id": "id1", + "value": 10.23, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 233, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": { + "id": "id3", + "code": "code1", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval9", + "interval_count": 43, + "billing_type": "billing_type3", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id1", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id3", + "code": "code1", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval1", + "interval_count": 63, + "billing_type": "billing_type3", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id1", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status3", + "duration": 47, + "created_at": "created_at9", + "updated_at": "updated_at7", + "cycle": 243 + }, + "payment_method": "payment_method7", + "currency": "currency3", + "installments": 231, + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id3", + "name": "name3", + "email": "email3", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document3", + "type": "type7", + "fb_access_token": "fb_access_token7", + "address": { + "id": "id9", + "street": "street9", + "number": "number7", + "complement": "complement5", + "zip_code": "zip_code3", + "neighborhood": "neighborhood5", + "city": "city9", + "state": "state5", + "country": "country3", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id9", + "name": "name9", + "email": "email7", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document3", + "type": "type9", + "fb_access_token": "fb_access_token3", + "address": { + "id": "id5", + "street": "street5", + "number": "number3", + "complement": "complement1", + "zip_code": "zip_code9", + "neighborhood": "neighborhood1", + "city": "city5", + "state": "state1", + "country": "country9", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata4", + "key1": "metadata3", + "key2": "metadata2" + }, + "line_1": "line_19", + "line_2": "line_23", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata6", + "key1": "metadata5" + }, + "phones": { + "home_phone": { + "country_code": "country_code1", + "number": "number9", + "area_code": "area_code1" + }, + "mobile_phone": { + "country_code": "country_code1", + "number": "number1", + "area_code": "area_code1" + } + }, + "fb_id": 17, + "code": "code7", + "document_type": "document_type7" + }, + "metadata": { + "key0": "metadata6", + "key1": "metadata5", + "key2": "metadata4" + }, + "line_1": "line_13", + "line_2": "line_27", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata0", + "key1": "metadata1", + "key2": "metadata2" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 223, + "code": "code1", + "document_type": "document_type1" + }, + "card": { + "id": "id7", + "last_four_digits": "last_four_digits3", + "brand": "brand1", + "holder_name": "holder_name3", + "exp_month": 131, + "exp_year": 165, + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street1", + "number": "number1", + "zip_code": "zip_code5", + "neighborhood": "neighborhood7", + "city": "city9", + "state": "state3", + "country": "country5", + "complement": "complement3", + "line_1": "line_15", + "line_2": "line_29" + }, + "customer": {}, + "metadata": { + "key0": "metadata6", + "key1": "metadata7", + "key2": "metadata8" + }, + "type": "type3", + "holder_document": "holder_document9", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits7", + "label": "label7" + }, + "items": [ + { + "id": "id0", + "description": "description0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 158, + "scheme_type": "scheme_type2", + "price_brackets": [ + { + "start_quantity": 51, + "price": 11, + "end_quantity": 59, + "overage_price": 73 + }, + { + "start_quantity": 52, + "price": 10, + "end_quantity": 60, + "overage_price": 74 + } + ], + "minimum_price": 62, + "percentage": 64.2 + }, + "discounts": [ + { + "id": "id1", + "value": 61.83, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 63, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": { + "id": "id7", + "description": "description7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 21, + "scheme_type": "scheme_type9", + "price_brackets": [ + {} + ], + "minimum_price": 117, + "percentage": 99.27 + }, + "discounts": [ + {} + ], + "increments": [ + { + "id": "id6", + "value": 208.18, + "increment_type": "increment_type8", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 106, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id7", + "value": 208.19, + "increment_type": "increment_type9", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 107, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name7", + "quantity": 31, + "cycles": 51, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id2", + "value": 61.84, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 64, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": { + "id": "id8", + "description": "description8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 22, + "scheme_type": "scheme_type0", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 118, + "percentage": 99.28 + }, + "discounts": [ + {}, + {} + ], + "increments": [ + { + "id": "id7", + "value": 208.19, + "increment_type": "increment_type9", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 107, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id8", + "value": 208.2, + "increment_type": "increment_type0", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 108, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id9", + "value": 208.21, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 109, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name8", + "quantity": 32, + "cycles": 52, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {}, + {} + ], + "subscription": {}, + "name": "name0", + "quantity": 108, + "cycles": 128, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor3", + "metadata": { + "key0": "metadata0" + }, + "setup": { + "id": "id7", + "description": "description7", + "amount": 255, + "status": "status9" + }, + "gateway_affiliation_id": "gateway_affiliation_id9", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 203, + "minimum_price": 195, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 175, + "split": { + "enabled": true, + "rules": [ + { + "type": "type7", + "amount": 135, + "recipient": { + "id": "id5", + "name": "name5", + "email": "email1", + "document": "document1", + "description": "description5", + "type": "type5", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id3", + "holder_name": "holder_name9", + "holder_type": "holder_type5", + "bank": "bank1", + "branch_number": "branch_number9", + "branch_check_digit": "branch_check_digit9", + "account_number": "account_number3", + "account_check_digit": "account_check_digit9", + "type": "type7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id5", + "name": "name5", + "email": "email1", + "document": "document9", + "description": "description5", + "type": "type5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id3", + "holder_name": "holder_name9", + "holder_type": "holder_type5", + "bank": "bank1", + "branch_number": "branch_number9", + "branch_check_digit": "branch_check_digit9", + "account_number": "account_number3", + "account_check_digit": "account_check_digit9", + "type": "type3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata6", + "key1": "metadata5" + }, + "pix_key": "pix_key7" + }, + "gateway_recipients": [ + { + "gateway": "gateway9", + "status": "status1", + "pgid": "pgid5", + "created_at": "created_at7", + "updated_at": "updated_at5" + }, + { + "gateway": "gateway0", + "status": "status2", + "pgid": "pgid6", + "created_at": "created_at8", + "updated_at": "updated_at6" + } + ], + "metadata": { + "key0": "metadata2", + "key1": "metadata1", + "key2": "metadata0" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type1", + "volume_percentage": 189, + "delay": 101, + "days": [ + 77 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval9", + "transfer_day": 99 + }, + "code": "code3", + "payment_mode": "payment_mode9" + }, + "metadata": { + "key0": "metadata0", + "key1": "metadata9", + "key2": "metadata8" + }, + "pix_key": "pix_key3" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata8", + "key1": "metadata9", + "key2": "metadata0" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type1", + "volume_percentage": 3, + "delay": 31, + "days": [ + 7 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval9", + "transfer_day": 169 + }, + "code": "code3", + "payment_mode": "payment_mode1" + }, + "gateway_id": "gateway_id7", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee9" + }, + "id": "id3" + } + ] + }, + "boleto": { + "interest": { + "days": 171, + "type": "type3", + "amount": 245 + }, + "fine": { + "days": 119, + "type": "type5", + "amount": 193 + }, + "max_days_to_pay_past_due": 107 + }, + "manual_billing": true + }, + "status": "status7", + "duration": 27, + "created_at": "created_at9", + "updated_at": "updated_at7", + "cycle": 223 + }, + "payment_method": "payment_method7", + "currency": "currency7", + "installments": 211, + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id3", + "last_four_digits": "last_four_digits9", + "brand": "brand7", + "holder_name": "holder_name9", + "exp_month": 189, + "exp_year": 107, + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street5", + "number": "number7", + "zip_code": "zip_code9", + "neighborhood": "neighborhood1", + "city": "city5", + "state": "state9", + "country": "country9", + "complement": "complement9", + "line_1": "line_11", + "line_2": "line_23" + }, + "customer": {}, + "metadata": { + "key0": "metadata0" + }, + "type": "type7", + "holder_document": "holder_document3", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits3", + "label": "label3" + }, + "items": [ + {}, + {} + ], + "statement_descriptor": "statement_descriptor3", + "metadata": { + "key0": "metadata0", + "key1": "metadata1", + "key2": "metadata2" + }, + "setup": { + "id": "id7", + "description": "description3", + "amount": 21, + "status": "status1" + }, + "gateway_affiliation_id": "gateway_affiliation_id9", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 73, + "minimum_price": 215, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + {} + ], + "boleto_due_days": 155, + "split": { + "enabled": true, + "rules": [ + {}, + {} + ] + }, + "boleto": { + "interest": { + "days": 121, + "type": "type3", + "amount": 195 + }, + "fine": { + "days": 103, + "type": "type9", + "amount": 79 + }, + "max_days_to_pay_past_due": 157 + }, + "manual_billing": true + }, + "subscription_item": {} + }, + { + "id": "id2", + "value": 10.24, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 232, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": { + "id": "id2", + "code": "code0", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval0", + "interval_count": 42, + "billing_type": "billing_type4", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id0", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id4", + "code": "code2", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval2", + "interval_count": 64, + "billing_type": "billing_type2", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id2", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status4", + "duration": 48, + "created_at": "created_at0", + "updated_at": "updated_at8", + "cycle": 244 + }, + "payment_method": "payment_method6", + "currency": "currency4", + "installments": 232, + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id4", + "name": "name4", + "email": "email2", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document2", + "type": "type6", + "fb_access_token": "fb_access_token8", + "address": { + "id": "id0", + "street": "street0", + "number": "number8", + "complement": "complement6", + "zip_code": "zip_code4", + "neighborhood": "neighborhood6", + "city": "city0", + "state": "state6", + "country": "country4", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id0", + "name": "name0", + "email": "email6", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document4", + "type": "type0", + "fb_access_token": "fb_access_token4", + "address": { + "id": "id6", + "street": "street6", + "number": "number4", + "complement": "complement2", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city6", + "state": "state2", + "country": "country0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata3" + }, + "line_1": "line_10", + "line_2": "line_24", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata7" + }, + "phones": { + "home_phone": { + "country_code": "country_code2", + "number": "number0", + "area_code": "area_code2" + }, + "mobile_phone": { + "country_code": "country_code2", + "number": "number0", + "area_code": "area_code2" + } + }, + "fb_id": 18, + "code": "code8", + "document_type": "document_type8" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata6" + }, + "line_1": "line_14", + "line_2": "line_28", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata9", + "key1": "metadata0" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 224, + "code": "code2", + "document_type": "document_type2" + }, + "card": { + "id": "id8", + "last_four_digits": "last_four_digits4", + "brand": "brand2", + "holder_name": "holder_name4", + "exp_month": 130, + "exp_year": 166, + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street0", + "number": "number2", + "zip_code": "zip_code4", + "neighborhood": "neighborhood6", + "city": "city0", + "state": "state4", + "country": "country4", + "complement": "complement4", + "line_1": "line_16", + "line_2": "line_28" + }, + "customer": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata6" + }, + "type": "type2", + "holder_document": "holder_document8", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits8", + "label": "label8" + }, + "items": [ + { + "id": "id1", + "description": "description1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 157, + "scheme_type": "scheme_type3", + "price_brackets": [ + { + "start_quantity": 52, + "price": 10, + "end_quantity": 60, + "overage_price": 74 + }, + { + "start_quantity": 53, + "price": 9, + "end_quantity": 61, + "overage_price": 75 + }, + { + "start_quantity": 54, + "price": 8, + "end_quantity": 62, + "overage_price": 76 + } + ], + "minimum_price": 61, + "percentage": 64.21 + }, + "discounts": [ + { + "id": "id2", + "value": 61.84, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 64, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": { + "id": "id8", + "description": "description8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 22, + "scheme_type": "scheme_type0", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 118, + "percentage": 99.28 + }, + "discounts": [ + {}, + {} + ], + "increments": [ + { + "id": "id7", + "value": 208.19, + "increment_type": "increment_type9", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 107, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id8", + "value": 208.2, + "increment_type": "increment_type0", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 108, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id9", + "value": 208.21, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 109, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name8", + "quantity": 32, + "cycles": 52, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id3", + "value": 61.85, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 65, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": { + "id": "id9", + "description": "description9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 23, + "scheme_type": "scheme_type1", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 119, + "percentage": 99.29 + }, + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + { + "id": "id8", + "value": 208.2, + "increment_type": "increment_type0", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 108, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name9", + "quantity": 33, + "cycles": 53, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id4", + "value": 61.86, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 66, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": { + "id": "id0", + "description": "description0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 24, + "scheme_type": "scheme_type2", + "price_brackets": [ + {} + ], + "minimum_price": 120, + "percentage": 99.3 + }, + "discounts": [ + {} + ], + "increments": [ + { + "id": "id9", + "value": 208.21, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 109, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id0", + "value": 208.22, + "increment_type": "increment_type2", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 110, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name0", + "quantity": 34, + "cycles": 54, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {} + ], + "subscription": {}, + "name": "name1", + "quantity": 109, + "cycles": 129, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id2", + "description": "description2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 156, + "scheme_type": "scheme_type4", + "price_brackets": [ + { + "start_quantity": 53, + "price": 9, + "end_quantity": 61, + "overage_price": 75 + } + ], + "minimum_price": 60, + "percentage": 64.22 + }, + "discounts": [ + { + "id": "id3", + "value": 61.85, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 65, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": { + "id": "id9", + "description": "description9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 23, + "scheme_type": "scheme_type1", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 119, + "percentage": 99.29 + }, + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + { + "id": "id8", + "value": 208.2, + "increment_type": "increment_type0", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 108, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name9", + "quantity": 33, + "cycles": 53, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {} + ], + "subscription": {}, + "name": "name2", + "quantity": 110, + "cycles": 130, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor4", + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "setup": { + "id": "id8", + "description": "description8", + "amount": 0, + "status": "status0" + }, + "gateway_affiliation_id": "gateway_affiliation_id0", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 204, + "minimum_price": 194, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + {} + ], + "boleto_due_days": 176, + "split": { + "enabled": false, + "rules": [ + { + "type": "type6", + "amount": 136, + "recipient": { + "id": "id6", + "name": "name6", + "email": "email0", + "document": "document0", + "description": "description4", + "type": "type4", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id4", + "holder_name": "holder_name0", + "holder_type": "holder_type6", + "bank": "bank2", + "branch_number": "branch_number0", + "branch_check_digit": "branch_check_digit0", + "account_number": "account_number4", + "account_check_digit": "account_check_digit0", + "type": "type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id6", + "name": "name6", + "email": "email0", + "document": "document0", + "description": "description6", + "type": "type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id4", + "holder_name": "holder_name0", + "holder_type": "holder_type6", + "bank": "bank2", + "branch_number": "branch_number0", + "branch_check_digit": "branch_check_digit0", + "account_number": "account_number4", + "account_check_digit": "account_check_digit0", + "type": "type4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata4", + "key2": "metadata3" + }, + "pix_key": "pix_key8" + }, + "gateway_recipients": [ + { + "gateway": "gateway0", + "status": "status2", + "pgid": "pgid6", + "created_at": "created_at8", + "updated_at": "updated_at6" + }, + { + "gateway": "gateway1", + "status": "status3", + "pgid": "pgid7", + "created_at": "created_at9", + "updated_at": "updated_at7" + }, + { + "gateway": "gateway2", + "status": "status4", + "pgid": "pgid8", + "created_at": "created_at0", + "updated_at": "updated_at8" + } + ], + "metadata": { + "key0": "metadata3", + "key1": "metadata2" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type0", + "volume_percentage": 188, + "delay": 102, + "days": [ + 78, + 79 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval8", + "transfer_day": 98 + }, + "code": "code4", + "payment_mode": "payment_mode0" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata0" + }, + "pix_key": "pix_key2" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata7", + "key1": "metadata8" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type0", + "volume_percentage": 2, + "delay": 32, + "days": [ + 8, + 9 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval8", + "transfer_day": 168 + }, + "code": "code4", + "payment_mode": "payment_mode0" + }, + "gateway_id": "gateway_id6", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee0" + }, + "id": "id4" + }, + { + "type": "type5", + "amount": 137, + "recipient": { + "id": "id7", + "name": "name7", + "email": "email9", + "document": "document9", + "description": "description3", + "type": "type3", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id5", + "holder_name": "holder_name1", + "holder_type": "holder_type7", + "bank": "bank3", + "branch_number": "branch_number1", + "branch_check_digit": "branch_check_digit1", + "account_number": "account_number5", + "account_check_digit": "account_check_digit1", + "type": "type5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id7", + "name": "name7", + "email": "email9", + "document": "document1", + "description": "description7", + "type": "type3", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id5", + "holder_name": "holder_name1", + "holder_type": "holder_type7", + "bank": "bank3", + "branch_number": "branch_number1", + "branch_check_digit": "branch_check_digit1", + "account_number": "account_number5", + "account_check_digit": "account_check_digit1", + "type": "type5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata4" + }, + "pix_key": "pix_key9" + }, + "gateway_recipients": [ + { + "gateway": "gateway1", + "status": "status3", + "pgid": "pgid7", + "created_at": "created_at9", + "updated_at": "updated_at7" + } + ], + "metadata": { + "key0": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type9", + "volume_percentage": 187, + "delay": 103, + "days": [ + 79, + 80, + 81 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval7", + "transfer_day": 97 + }, + "code": "code5", + "payment_mode": "payment_mode1" + }, + "metadata": { + "key0": "metadata2" + }, + "pix_key": "pix_key1" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type9", + "volume_percentage": 1, + "delay": 33, + "days": [ + 9, + 10, + 11 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval7", + "transfer_day": 167 + }, + "code": "code5", + "payment_mode": "payment_mode9" + }, + "gateway_id": "gateway_id5", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee1" + }, + "id": "id5" + } + ] + }, + "boleto": { + "interest": { + "days": 170, + "type": "type4", + "amount": 244 + }, + "fine": { + "days": 120, + "type": "type4", + "amount": 194 + }, + "max_days_to_pay_past_due": 108 + }, + "manual_billing": false + }, + "status": "status8", + "duration": 26, + "created_at": "created_at8", + "updated_at": "updated_at6", + "cycle": 222 + }, + "payment_method": "payment_method8", + "currency": "currency8", + "installments": 210, + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id4", + "last_four_digits": "last_four_digits0", + "brand": "brand8", + "holder_name": "holder_name0", + "exp_month": 188, + "exp_year": 108, + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street6", + "number": "number6", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city4", + "state": "state8", + "country": "country0", + "complement": "complement8", + "line_1": "line_10", + "line_2": "line_24" + }, + "customer": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata0", + "key2": "metadata1" + }, + "type": "type6", + "holder_document": "holder_document2", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits4", + "label": "label4" + }, + "items": [ + {} + ], + "statement_descriptor": "statement_descriptor2", + "metadata": { + "key0": "metadata1" + }, + "setup": { + "id": "id6", + "description": "description4", + "amount": 22, + "status": "status2" + }, + "gateway_affiliation_id": "gateway_affiliation_id8", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 74, + "minimum_price": 216, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {} + ], + "increments": [ + {}, + {} + ], + "boleto_due_days": 154, + "split": { + "enabled": false, + "rules": [ + {} + ] + }, + "boleto": { + "interest": { + "days": 120, + "type": "type2", + "amount": 194 + }, + "fine": { + "days": 102, + "type": "type0", + "amount": 80 + }, + "max_days_to_pay_past_due": 158 + }, + "manual_billing": false + }, + "subscription_item": {} + }, + { + "id": "id3", + "value": 10.25, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 231, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": { + "id": "id1", + "code": "code9", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval1", + "interval_count": 41, + "billing_type": "billing_type5", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id9", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id5", + "code": "code3", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval3", + "interval_count": 65, + "billing_type": "billing_type1", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id3", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status5", + "duration": 49, + "created_at": "created_at1", + "updated_at": "updated_at9", + "cycle": 245 + }, + "payment_method": "payment_method5", + "currency": "currency5", + "installments": 233, + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id5", + "name": "name5", + "email": "email1", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document1", + "type": "type5", + "fb_access_token": "fb_access_token9", + "address": { + "id": "id1", + "street": "street1", + "number": "number9", + "complement": "complement7", + "zip_code": "zip_code5", + "neighborhood": "neighborhood7", + "city": "city1", + "state": "state7", + "country": "country5", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id1", + "name": "name1", + "email": "email5", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document5", + "type": "type1", + "fb_access_token": "fb_access_token5", + "address": { + "id": "id7", + "street": "street7", + "number": "number5", + "complement": "complement3", + "zip_code": "zip_code1", + "neighborhood": "neighborhood3", + "city": "city7", + "state": "state3", + "country": "country1", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata2", + "key1": "metadata1" + }, + "line_1": "line_11", + "line_2": "line_25", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata8", + "key1": "metadata7", + "key2": "metadata6" + }, + "phones": { + "home_phone": { + "country_code": "country_code3", + "number": "number1", + "area_code": "area_code3" + }, + "mobile_phone": { + "country_code": "country_code3", + "number": "number9", + "area_code": "area_code3" + } + }, + "fb_id": 19, + "code": "code9", + "document_type": "document_type9" + }, + "metadata": { + "key0": "metadata8" + }, + "line_1": "line_15", + "line_2": "line_29", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata8" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 225, + "code": "code3", + "document_type": "document_type3" + }, + "card": { + "id": "id9", + "last_four_digits": "last_four_digits5", + "brand": "brand3", + "holder_name": "holder_name5", + "exp_month": 129, + "exp_year": 167, + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street9", + "number": "number3", + "zip_code": "zip_code3", + "neighborhood": "neighborhood5", + "city": "city1", + "state": "state5", + "country": "country3", + "complement": "complement5", + "line_1": "line_17", + "line_2": "line_27" + }, + "customer": {}, + "metadata": { + "key0": "metadata4" + }, + "type": "type1", + "holder_document": "holder_document7", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits9", + "label": "label9" + }, + "items": [ + { + "id": "id2", + "description": "description2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 156, + "scheme_type": "scheme_type4", + "price_brackets": [ + { + "start_quantity": 53, + "price": 9, + "end_quantity": 61, + "overage_price": 75 + } + ], + "minimum_price": 60, + "percentage": 64.22 + }, + "discounts": [ + { + "id": "id3", + "value": 61.85, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 65, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": { + "id": "id9", + "description": "description9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 23, + "scheme_type": "scheme_type1", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 119, + "percentage": 99.29 + }, + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + { + "id": "id8", + "value": 208.2, + "increment_type": "increment_type0", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 108, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name9", + "quantity": 33, + "cycles": 53, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {} + ], + "subscription": {}, + "name": "name2", + "quantity": 110, + "cycles": 130, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id3", + "description": "description3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 155, + "scheme_type": "scheme_type5", + "price_brackets": [ + { + "start_quantity": 54, + "price": 8, + "end_quantity": 62, + "overage_price": 76 + }, + { + "start_quantity": 55, + "price": 7, + "end_quantity": 63, + "overage_price": 77 + } + ], + "minimum_price": 59, + "percentage": 64.23 + }, + "discounts": [ + { + "id": "id4", + "value": 61.86, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 66, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": { + "id": "id0", + "description": "description0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 24, + "scheme_type": "scheme_type2", + "price_brackets": [ + {} + ], + "minimum_price": 120, + "percentage": 99.3 + }, + "discounts": [ + {} + ], + "increments": [ + { + "id": "id9", + "value": 208.21, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 109, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id0", + "value": 208.22, + "increment_type": "increment_type2", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 110, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name0", + "quantity": 34, + "cycles": 54, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id5", + "value": 61.87, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 67, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": { + "id": "id1", + "description": "description1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 25, + "scheme_type": "scheme_type3", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 121, + "percentage": 99.31 + }, + "discounts": [ + {}, + {} + ], + "increments": [ + { + "id": "id0", + "value": 208.22, + "increment_type": "increment_type2", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 110, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id1", + "value": 208.23, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 111, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id2", + "value": 208.24, + "increment_type": "increment_type4", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 112, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name1", + "quantity": 35, + "cycles": 55, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {}, + {} + ], + "subscription": {}, + "name": "name3", + "quantity": 111, + "cycles": 131, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id4", + "description": "description4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 154, + "scheme_type": "scheme_type6", + "price_brackets": [ + { + "start_quantity": 55, + "price": 7, + "end_quantity": 63, + "overage_price": 77 + }, + { + "start_quantity": 56, + "price": 6, + "end_quantity": 64, + "overage_price": 78 + }, + { + "start_quantity": 57, + "price": 5, + "end_quantity": 65, + "overage_price": 79 + } + ], + "minimum_price": 58, + "percentage": 64.24 + }, + "discounts": [ + { + "id": "id5", + "value": 61.87, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 67, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": { + "id": "id1", + "description": "description1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 25, + "scheme_type": "scheme_type3", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 121, + "percentage": 99.31 + }, + "discounts": [ + {}, + {} + ], + "increments": [ + { + "id": "id0", + "value": 208.22, + "increment_type": "increment_type2", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 110, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id1", + "value": 208.23, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 111, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id2", + "value": 208.24, + "increment_type": "increment_type4", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 112, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name1", + "quantity": 35, + "cycles": 55, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id6", + "value": 61.88, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 68, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": { + "id": "id2", + "description": "description2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 26, + "scheme_type": "scheme_type4", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 122, + "percentage": 99.32 + }, + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + { + "id": "id1", + "value": 208.23, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 111, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name2", + "quantity": 36, + "cycles": 56, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id7", + "value": 61.89, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 69, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": { + "id": "id3", + "description": "description3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 27, + "scheme_type": "scheme_type5", + "price_brackets": [ + {} + ], + "minimum_price": 123, + "percentage": 99.33 + }, + "discounts": [ + {} + ], + "increments": [ + { + "id": "id2", + "value": 208.24, + "increment_type": "increment_type4", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 112, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id3", + "value": 208.25, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 113, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name3", + "quantity": 37, + "cycles": 57, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {} + ], + "subscription": {}, + "name": "name4", + "quantity": 112, + "cycles": 132, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor5", + "metadata": { + "key0": "metadata2", + "key1": "metadata1" + }, + "setup": { + "id": "id9", + "description": "description9", + "amount": 1, + "status": "status1" + }, + "gateway_affiliation_id": "gateway_affiliation_id1", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 205, + "minimum_price": 193, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {} + ], + "boleto_due_days": 177, + "split": { + "enabled": true, + "rules": [ + { + "type": "type5", + "amount": 137, + "recipient": { + "id": "id7", + "name": "name7", + "email": "email9", + "document": "document9", + "description": "description3", + "type": "type3", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id5", + "holder_name": "holder_name1", + "holder_type": "holder_type7", + "bank": "bank3", + "branch_number": "branch_number1", + "branch_check_digit": "branch_check_digit1", + "account_number": "account_number5", + "account_check_digit": "account_check_digit1", + "type": "type5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id7", + "name": "name7", + "email": "email9", + "document": "document1", + "description": "description7", + "type": "type3", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id5", + "holder_name": "holder_name1", + "holder_type": "holder_type7", + "bank": "bank3", + "branch_number": "branch_number1", + "branch_check_digit": "branch_check_digit1", + "account_number": "account_number5", + "account_check_digit": "account_check_digit1", + "type": "type5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata4" + }, + "pix_key": "pix_key9" + }, + "gateway_recipients": [ + { + "gateway": "gateway1", + "status": "status3", + "pgid": "pgid7", + "created_at": "created_at9", + "updated_at": "updated_at7" + } + ], + "metadata": { + "key0": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type9", + "volume_percentage": 187, + "delay": 103, + "days": [ + 79, + 80, + 81 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval7", + "transfer_day": 97 + }, + "code": "code5", + "payment_mode": "payment_mode1" + }, + "metadata": { + "key0": "metadata2" + }, + "pix_key": "pix_key1" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type9", + "volume_percentage": 1, + "delay": 33, + "days": [ + 9, + 10, + 11 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval7", + "transfer_day": 167 + }, + "code": "code5", + "payment_mode": "payment_mode9" + }, + "gateway_id": "gateway_id5", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee1" + }, + "id": "id5" + }, + { + "type": "type4", + "amount": 138, + "recipient": { + "id": "id8", + "name": "name8", + "email": "email8", + "document": "document8", + "description": "description2", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id8", + "name": "name8", + "email": "email8", + "document": "document2", + "description": "description8", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata3", + "key1": "metadata2" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + { + "gateway": "gateway2", + "status": "status4", + "pgid": "pgid8", + "created_at": "created_at0", + "updated_at": "updated_at8" + }, + { + "gateway": "gateway3", + "status": "status5", + "pgid": "pgid9", + "created_at": "created_at1", + "updated_at": "updated_at9" + } + ], + "metadata": { + "key0": "metadata5", + "key1": "metadata4", + "key2": "metadata3" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 186, + "delay": 104, + "days": [ + 80 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 96 + }, + "code": "code6", + "payment_mode": "payment_mode2" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata5", + "key1": "metadata6", + "key2": "metadata7" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 0, + "delay": 34, + "days": [ + 10 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 166 + }, + "code": "code6", + "payment_mode": "payment_mode8" + }, + "gateway_id": "gateway_id4", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee2" + }, + "id": "id6" + }, + { + "type": "type3", + "amount": 139, + "recipient": { + "id": "id9", + "name": "name9", + "email": "email7", + "document": "document7", + "description": "description1", + "type": "type1", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type3", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id9", + "name": "name9", + "email": "email7", + "document": "document3", + "description": "description9", + "type": "type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata2", + "key1": "metadata1", + "key2": "metadata0" + }, + "pix_key": "pix_key1" + }, + "gateway_recipients": [ + { + "gateway": "gateway3", + "status": "status5", + "pgid": "pgid9", + "created_at": "created_at1", + "updated_at": "updated_at9" + }, + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + }, + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + } + ], + "metadata": { + "key0": "metadata6", + "key1": "metadata5" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type7", + "volume_percentage": 185, + "delay": 105, + "days": [ + 81, + 82 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 95 + }, + "code": "code7", + "payment_mode": "payment_mode3" + }, + "metadata": { + "key0": "metadata4", + "key1": "metadata3" + }, + "pix_key": "pix_key9" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata4", + "key1": "metadata5" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type7", + "volume_percentage": 255, + "delay": 35, + "days": [ + 11, + 12 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 165 + }, + "code": "code7", + "payment_mode": "payment_mode7" + }, + "gateway_id": "gateway_id3", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee3" + }, + "id": "id7" + } + ] + }, + "boleto": { + "interest": { + "days": 169, + "type": "type5", + "amount": 243 + }, + "fine": { + "days": 121, + "type": "type3", + "amount": 195 + }, + "max_days_to_pay_past_due": 109 + }, + "manual_billing": true + }, + "status": "status9", + "duration": 25, + "created_at": "created_at7", + "updated_at": "updated_at5", + "cycle": 221 + }, + "payment_method": "payment_method9", + "currency": "currency9", + "installments": 209, + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id5", + "last_four_digits": "last_four_digits1", + "brand": "brand9", + "holder_name": "holder_name1", + "exp_month": 187, + "exp_year": 109, + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street7", + "number": "number5", + "zip_code": "zip_code1", + "neighborhood": "neighborhood3", + "city": "city3", + "state": "state7", + "country": "country1", + "complement": "complement7", + "line_1": "line_19", + "line_2": "line_25" + }, + "customer": {}, + "metadata": { + "key0": "metadata8", + "key1": "metadata9" + }, + "type": "type5", + "holder_document": "holder_document1", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits5", + "label": "label5" + }, + "items": [ + {}, + {}, + {} + ], + "statement_descriptor": "statement_descriptor1", + "metadata": { + "key0": "metadata2", + "key1": "metadata3" + }, + "setup": { + "id": "id5", + "description": "description5", + "amount": 23, + "status": "status3" + }, + "gateway_affiliation_id": "gateway_affiliation_id7", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 75, + "minimum_price": 217, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 153, + "split": { + "enabled": true, + "rules": [ + {}, + {}, + {} + ] + }, + "boleto": { + "interest": { + "days": 119, + "type": "type1", + "amount": 193 + }, + "fine": { + "days": 101, + "type": "type1", + "amount": 81 + }, + "max_days_to_pay_past_due": 159 + }, + "manual_billing": true + }, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id7", + "value": 124.19, + "increment_type": "increment_type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 101, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": { + "id": "id7", + "code": "code5", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval5", + "interval_count": 167, + "billing_type": "billing_type1", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id5", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id1", + "code": "code9", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval1", + "interval_count": 225, + "billing_type": "billing_type5", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id9", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status9", + "duration": 209, + "created_at": "created_at7", + "updated_at": "updated_at5", + "cycle": 149 + }, + "payment_method": "payment_method9", + "currency": "currency9", + "installments": 137, + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id9", + "name": "name9", + "email": "email7", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document7", + "type": "type1", + "fb_access_token": "fb_access_token3", + "address": { + "id": "id5", + "street": "street5", + "number": "number3", + "complement": "complement1", + "zip_code": "zip_code9", + "neighborhood": "neighborhood1", + "city": "city5", + "state": "state1", + "country": "country9", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id5", + "name": "name5", + "email": "email1", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document9", + "type": "type5", + "fb_access_token": "fb_access_token9", + "address": { + "id": "id1", + "street": "street1", + "number": "number9", + "complement": "complement7", + "zip_code": "zip_code5", + "neighborhood": "neighborhood7", + "city": "city1", + "state": "state7", + "country": "country5", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata8" + }, + "line_1": "line_15", + "line_2": "line_29", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata2" + }, + "phones": { + "home_phone": { + "country_code": "country_code7", + "number": "number5", + "area_code": "area_code7" + }, + "mobile_phone": { + "country_code": "country_code3", + "number": "number5", + "area_code": "area_code7" + } + }, + "fb_id": 81, + "code": "code3", + "document_type": "document_type3" + }, + "metadata": { + "key0": "metadata2", + "key1": "metadata1" + }, + "line_1": "line_11", + "line_2": "line_23", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata4", + "key1": "metadata5" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 31, + "code": "code7", + "document_type": "document_type7" + }, + "card": { + "id": "id5", + "last_four_digits": "last_four_digits1", + "brand": "brand9", + "holder_name": "holder_name1", + "exp_month": 115, + "exp_year": 181, + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street7", + "number": "number5", + "zip_code": "zip_code1", + "neighborhood": "neighborhood3", + "city": "city3", + "state": "state7", + "country": "country1", + "complement": "complement7", + "line_1": "line_19", + "line_2": "line_25" + }, + "customer": {}, + "metadata": { + "key0": "metadata8", + "key1": "metadata9" + }, + "type": "type5", + "holder_document": "holder_document1", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits5", + "label": "label5" + }, + "items": [ + { + "id": "id8", + "description": "description8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 36, + "scheme_type": "scheme_type0", + "price_brackets": [ + { + "start_quantity": 173, + "price": 145, + "end_quantity": 181, + "overage_price": 195 + }, + { + "start_quantity": 174, + "price": 144, + "end_quantity": 182, + "overage_price": 196 + } + ], + "minimum_price": 196, + "percentage": 221.58 + }, + "discounts": [ + { + "id": "id9", + "value": 40.41, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 225, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": { + "id": "id5", + "description": "description5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 73, + "scheme_type": "scheme_type7", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 233, + "percentage": 77.85 + }, + "discounts": [ + { + "id": "id6", + "value": 75.48, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 148, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id7", + "value": 75.49, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 149, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id8", + "value": 75.5, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 150, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id4", + "value": 186.76, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 244, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name5", + "quantity": 193, + "cycles": 213, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {} + ], + "subscription": {}, + "name": "name8", + "quantity": 14, + "cycles": 222, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id9", + "description": "description9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 37, + "scheme_type": "scheme_type9", + "price_brackets": [ + { + "start_quantity": 172, + "price": 146, + "end_quantity": 180, + "overage_price": 194 + } + ], + "minimum_price": 197, + "percentage": 221.57 + }, + "discounts": [ + { + "id": "id0", + "value": 40.42, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 226, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": { + "id": "id6", + "description": "description6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 72, + "scheme_type": "scheme_type8", + "price_brackets": [ + {} + ], + "minimum_price": 232, + "percentage": 77.86 + }, + "discounts": [ + { + "id": "id7", + "value": 75.49, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 149, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id5", + "value": 186.77, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 243, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 186.78, + "increment_type": "increment_type8", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 242, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name6", + "quantity": 194, + "cycles": 214, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id1", + "value": 40.43, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 227, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": { + "id": "id7", + "description": "description7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 71, + "scheme_type": "scheme_type9", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 231, + "percentage": 77.87 + }, + "discounts": [ + { + "id": "id8", + "value": 75.5, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 150, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id9", + "value": 75.51, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 151, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id6", + "value": 186.78, + "increment_type": "increment_type8", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 242, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id7", + "value": 186.79, + "increment_type": "increment_type9", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 241, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id8", + "value": 186.8, + "increment_type": "increment_type0", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 240, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name7", + "quantity": 195, + "cycles": 215, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {}, + {} + ], + "subscription": {}, + "name": "name9", + "quantity": 15, + "cycles": 221, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id0", + "description": "description0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 38, + "scheme_type": "scheme_type8", + "price_brackets": [ + { + "start_quantity": 171, + "price": 147, + "end_quantity": 179, + "overage_price": 193 + }, + { + "start_quantity": 172, + "price": 146, + "end_quantity": 180, + "overage_price": 194 + }, + { + "start_quantity": 173, + "price": 145, + "end_quantity": 181, + "overage_price": 195 + } + ], + "minimum_price": 198, + "percentage": 221.56 + }, + "discounts": [ + { + "id": "id1", + "value": 40.43, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 227, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": { + "id": "id7", + "description": "description7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 71, + "scheme_type": "scheme_type9", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 231, + "percentage": 77.87 + }, + "discounts": [ + { + "id": "id8", + "value": 75.5, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 150, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id9", + "value": 75.51, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 151, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id6", + "value": 186.78, + "increment_type": "increment_type8", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 242, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id7", + "value": 186.79, + "increment_type": "increment_type9", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 241, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id8", + "value": 186.8, + "increment_type": "increment_type0", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 240, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name7", + "quantity": 195, + "cycles": 215, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id2", + "value": 40.44, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 228, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": { + "id": "id8", + "description": "description8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 70, + "scheme_type": "scheme_type0", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 230, + "percentage": 77.88 + }, + "discounts": [ + { + "id": "id9", + "value": 75.51, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 151, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id0", + "value": 75.52, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 152, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id1", + "value": 75.53, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 153, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id7", + "value": 186.79, + "increment_type": "increment_type9", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 241, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name8", + "quantity": 196, + "cycles": 216, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id3", + "value": 40.45, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 229, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": { + "id": "id9", + "description": "description9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 69, + "scheme_type": "scheme_type1", + "price_brackets": [ + {} + ], + "minimum_price": 229, + "percentage": 77.89 + }, + "discounts": [ + { + "id": "id0", + "value": 75.52, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 152, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id8", + "value": 186.8, + "increment_type": "increment_type0", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 240, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id9", + "value": 186.81, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 239, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name9", + "quantity": 197, + "cycles": 217, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {} + ], + "subscription": {}, + "name": "name0", + "quantity": 16, + "cycles": 220, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor1", + "metadata": { + "key0": "metadata2", + "key1": "metadata3" + }, + "setup": { + "id": "id5", + "description": "description5", + "amount": 95, + "status": "status3" + }, + "gateway_affiliation_id": "gateway_affiliation_id7", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 147, + "minimum_price": 33, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 81, + "split": { + "enabled": true, + "rules": [ + { + "type": "type1", + "amount": 133, + "recipient": { + "id": "id9", + "name": "name9", + "email": "email7", + "document": "document7", + "description": "description1", + "type": "type1", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type3", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id9", + "name": "name9", + "email": "email7", + "document": "document3", + "description": "description9", + "type": "type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata2" + }, + "pix_key": "pix_key1" + }, + "gateway_recipients": [ + { + "gateway": "gateway3", + "status": "status5", + "pgid": "pgid9", + "created_at": "created_at1", + "updated_at": "updated_at9" + } + ], + "metadata": { + "key0": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type7", + "volume_percentage": 115, + "delay": 175, + "days": [ + 151, + 152, + 153 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 25 + }, + "code": "code7", + "payment_mode": "payment_mode3" + }, + "metadata": { + "key0": "metadata4" + }, + "pix_key": "pix_key9" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type7", + "volume_percentage": 185, + "delay": 105, + "days": [ + 81, + 82, + 83 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 95 + }, + "code": "code7", + "payment_mode": "payment_mode7" + }, + "gateway_id": "gateway_id1", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee1" + }, + "id": "id9" + }, + { + "type": "type2", + "amount": 134, + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document6", + "description": "description0", + "type": "type0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document4", + "description": "description0", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata1", + "key1": "metadata0" + }, + "pix_key": "pix_key2" + }, + "gateway_recipients": [ + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + }, + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + } + ], + "metadata": { + "key0": "metadata7", + "key1": "metadata6", + "key2": "metadata5" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 114, + "delay": 176, + "days": [ + 152 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 24 + }, + "code": "code8", + "payment_mode": "payment_mode4" + }, + "metadata": { + "key0": "metadata5", + "key1": "metadata4", + "key2": "metadata3" + }, + "pix_key": "pix_key8" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata3", + "key1": "metadata4", + "key2": "metadata5" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 184, + "delay": 106, + "days": [ + 82 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 94 + }, + "code": "code8", + "payment_mode": "payment_mode6" + }, + "gateway_id": "gateway_id2", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee2" + }, + "id": "id8" + }, + { + "type": "type3", + "amount": 135, + "recipient": { + "id": "id1", + "name": "name1", + "email": "email5", + "document": "document5", + "description": "description9", + "type": "type9", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id9", + "holder_name": "holder_name5", + "holder_type": "holder_type1", + "bank": "bank7", + "branch_number": "branch_number5", + "branch_check_digit": "branch_check_digit5", + "account_number": "account_number9", + "account_check_digit": "account_check_digit5", + "type": "type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id1", + "name": "name1", + "email": "email5", + "document": "document5", + "description": "description1", + "type": "type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id9", + "holder_name": "holder_name5", + "holder_type": "holder_type1", + "bank": "bank7", + "branch_number": "branch_number5", + "branch_check_digit": "branch_check_digit5", + "account_number": "account_number9", + "account_check_digit": "account_check_digit5", + "type": "type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata0", + "key1": "metadata9", + "key2": "metadata8" + }, + "pix_key": "pix_key3" + }, + "gateway_recipients": [ + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + }, + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + }, + { + "gateway": "gateway7", + "status": "status9", + "pgid": "pgid3", + "created_at": "created_at5", + "updated_at": "updated_at3" + } + ], + "metadata": { + "key0": "metadata8", + "key1": "metadata7" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type5", + "volume_percentage": 113, + "delay": 177, + "days": [ + 153, + 154 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval3", + "transfer_day": 23 + }, + "code": "code9", + "payment_mode": "payment_mode5" + }, + "metadata": { + "key0": "metadata6", + "key1": "metadata5" + }, + "pix_key": "pix_key7" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata2", + "key1": "metadata3" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type5", + "volume_percentage": 183, + "delay": 107, + "days": [ + 83, + 84 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval3", + "transfer_day": 93 + }, + "code": "code9", + "payment_mode": "payment_mode5" + }, + "gateway_id": "gateway_id3", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee3" + }, + "id": "id7" + } + ] + }, + "boleto": { + "interest": { + "days": 47, + "type": "type1", + "amount": 121 + }, + "fine": { + "days": 29, + "type": "type1", + "amount": 153 + }, + "max_days_to_pay_past_due": 231 + }, + "manual_billing": true + }, + "status": "status7", + "duration": 151, + "created_at": "created_at3", + "updated_at": "updated_at1", + "cycle": 91 + }, + "payment_method": "payment_method3", + "currency": "currency7", + "installments": 79, + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id1", + "last_four_digits": "last_four_digits7", + "brand": "brand5", + "holder_name": "holder_name7", + "exp_month": 27, + "exp_year": 13, + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street3", + "number": "number9", + "zip_code": "zip_code7", + "neighborhood": "neighborhood9", + "city": "city7", + "state": "state1", + "country": "country7", + "complement": "complement1", + "line_1": "line_13", + "line_2": "line_21" + }, + "customer": {}, + "metadata": { + "key0": "metadata2", + "key1": "metadata3" + }, + "type": "type9", + "holder_document": "holder_document5", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits1", + "label": "label1" + }, + "items": [ + {}, + {} + ], + "statement_descriptor": "statement_descriptor7", + "metadata": { + "key0": "metadata4", + "key1": "metadata3", + "key2": "metadata2" + }, + "setup": { + "id": "id1", + "description": "description1", + "amount": 103, + "status": "status3" + }, + "gateway_affiliation_id": "gateway_affiliation_id3", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 51, + "minimum_price": 165, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + {} + ], + "boleto_due_days": 23, + "split": { + "enabled": true, + "rules": [ + {}, + {} + ] + }, + "boleto": { + "interest": { + "days": 67, + "type": "type7", + "amount": 141 + }, + "fine": { + "days": 223, + "type": "type1", + "amount": 41 + }, + "max_days_to_pay_past_due": 211 + }, + "manual_billing": true + }, + "subscription_item": {} + } + ], + "subscription": { + "id": "id4", + "code": "code2", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval2", + "interval_count": 234, + "billing_type": "billing_type8", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id2", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id8", + "code": "code6", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval6", + "interval_count": 36, + "billing_type": "billing_type8", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id6", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status8", + "duration": 20, + "created_at": "created_at4", + "updated_at": "updated_at2", + "cycle": 216 + }, + "payment_method": "payment_method2", + "currency": "currency8", + "installments": 204, + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id8", + "name": "name8", + "email": "email8", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document8", + "type": "type2", + "fb_access_token": "fb_access_token2", + "address": { + "id": "id4", + "street": "street4", + "number": "number2", + "complement": "complement0", + "zip_code": "zip_code8", + "neighborhood": "neighborhood0", + "city": "city4", + "state": "state0", + "country": "country8", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id4", + "name": "name4", + "email": "email2", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document8", + "type": "type6", + "fb_access_token": "fb_access_token8", + "address": { + "id": "id0", + "street": "street0", + "number": "number8", + "complement": "complement6", + "zip_code": "zip_code4", + "neighborhood": "neighborhood6", + "city": "city0", + "state": "state6", + "country": "country4", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "line_1": "line_14", + "line_2": "line_28", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "phones": { + "home_phone": { + "country_code": "country_code6", + "number": "number4", + "area_code": "area_code6" + }, + "mobile_phone": { + "country_code": "country_code4", + "number": "number6", + "area_code": "area_code6" + } + }, + "fb_id": 246, + "code": "code2", + "document_type": "document_type2" + }, + "metadata": { + "key0": "metadata1" + }, + "line_1": "line_18", + "line_2": "line_22", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata5" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 196, + "code": "code6", + "document_type": "document_type6" + }, + "card": { + "id": "id8", + "last_four_digits": "last_four_digits4", + "brand": "brand2", + "holder_name": "holder_name4", + "exp_month": 182, + "exp_year": 114, + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street0", + "number": "number2", + "zip_code": "zip_code4", + "neighborhood": "neighborhood6", + "city": "city0", + "state": "state4", + "country": "country4", + "complement": "complement4", + "line_1": "line_16", + "line_2": "line_28" + }, + "customer": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata6" + }, + "type": "type2", + "holder_document": "holder_document8", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits8", + "label": "label8" + }, + "items": [ + { + "id": "id5", + "description": "description5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 103, + "scheme_type": "scheme_type3", + "price_brackets": [ + { + "start_quantity": 106, + "price": 212, + "end_quantity": 114, + "overage_price": 128 + }, + { + "start_quantity": 107, + "price": 211, + "end_quantity": 115, + "overage_price": 129 + } + ], + "minimum_price": 7, + "percentage": 92.91 + }, + "discounts": [ + { + "id": "id6", + "value": 169.08, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 36, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": { + "id": "id2", + "description": "description2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 6, + "scheme_type": "scheme_type4", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 90, + "percentage": 206.52 + }, + "discounts": [ + { + "id": "id3", + "value": 204.15, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 215, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 204.16, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 216, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 204.17, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 217, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id1", + "value": 59.43, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 79, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name2", + "quantity": 4, + "cycles": 24, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {} + ], + "subscription": {}, + "name": "name5", + "quantity": 81, + "cycles": 155, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id6", + "description": "description6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 104, + "scheme_type": "scheme_type2", + "price_brackets": [ + { + "start_quantity": 105, + "price": 213, + "end_quantity": 113, + "overage_price": 127 + } + ], + "minimum_price": 8, + "percentage": 92.9 + }, + "discounts": [ + { + "id": "id7", + "value": 169.09, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 37, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": { + "id": "id3", + "description": "description3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 5, + "scheme_type": "scheme_type5", + "price_brackets": [ + {} + ], + "minimum_price": 91, + "percentage": 206.53 + }, + "discounts": [ + { + "id": "id4", + "value": 204.16, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 216, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id2", + "value": 59.44, + "increment_type": "increment_type4", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 80, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id3", + "value": 59.45, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 81, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name3", + "quantity": 5, + "cycles": 25, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id8", + "value": 169.1, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 38, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": { + "id": "id4", + "description": "description4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 4, + "scheme_type": "scheme_type6", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 92, + "percentage": 206.54 + }, + "discounts": [ + { + "id": "id5", + "value": 204.17, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 217, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 204.18, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 218, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id3", + "value": 59.45, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 81, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 59.46, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 82, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 59.47, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 83, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name4", + "quantity": 6, + "cycles": 26, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {}, + {} + ], + "subscription": {}, + "name": "name6", + "quantity": 82, + "cycles": 154, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id7", + "description": "description7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 105, + "scheme_type": "scheme_type1", + "price_brackets": [ + { + "start_quantity": 104, + "price": 214, + "end_quantity": 112, + "overage_price": 126 + }, + { + "start_quantity": 105, + "price": 213, + "end_quantity": 113, + "overage_price": 127 + }, + { + "start_quantity": 106, + "price": 212, + "end_quantity": 114, + "overage_price": 128 + } + ], + "minimum_price": 9, + "percentage": 92.89 + }, + "discounts": [ + { + "id": "id8", + "value": 169.1, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 38, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": { + "id": "id4", + "description": "description4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 4, + "scheme_type": "scheme_type6", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 92, + "percentage": 206.54 + }, + "discounts": [ + { + "id": "id5", + "value": 204.17, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 217, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 204.18, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 218, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id3", + "value": 59.45, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 81, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 59.46, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 82, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 59.47, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 83, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name4", + "quantity": 6, + "cycles": 26, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id9", + "value": 169.11, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 39, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": { + "id": "id5", + "description": "description5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 3, + "scheme_type": "scheme_type7", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 93, + "percentage": 206.55 + }, + "discounts": [ + { + "id": "id6", + "value": 204.18, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 218, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id7", + "value": 204.19, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 219, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id8", + "value": 204.2, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 220, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id4", + "value": 59.46, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 82, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name5", + "quantity": 7, + "cycles": 27, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id0", + "value": 169.12, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 40, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": { + "id": "id6", + "description": "description6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 2, + "scheme_type": "scheme_type8", + "price_brackets": [ + {} + ], + "minimum_price": 94, + "percentage": 206.56 + }, + "discounts": [ + { + "id": "id7", + "value": 204.19, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 219, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id5", + "value": 59.47, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 83, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 59.48, + "increment_type": "increment_type8", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 84, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name6", + "quantity": 8, + "cycles": 28, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {} + ], + "subscription": {}, + "name": "name7", + "quantity": 83, + "cycles": 153, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor8", + "metadata": { + "key0": "metadata5", + "key1": "metadata6" + }, + "setup": { + "id": "id2", + "description": "description8", + "amount": 228, + "status": "status6" + }, + "gateway_affiliation_id": "gateway_affiliation_id4", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 80, + "minimum_price": 222, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 148, + "split": { + "enabled": false, + "rules": [ + { + "type": "type2", + "amount": 108, + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document6", + "description": "description0", + "type": "type0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document6", + "description": "description0", + "type": "type0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata4" + }, + "pix_key": "pix_key8" + }, + "gateway_recipients": [ + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + }, + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + }, + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + } + ], + "metadata": { + "key0": "metadata3", + "key1": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 100, + "delay": 190, + "days": [ + 166, + 167 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 10 + }, + "code": "code8", + "payment_mode": "payment_mode6" + }, + "metadata": { + "key0": "metadata5", + "key1": "metadata4" + }, + "pix_key": "pix_key8" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata3", + "key1": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 170, + "delay": 120, + "days": [ + 96, + 97 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 80 + }, + "code": "code8", + "payment_mode": "payment_mode6" + }, + "gateway_id": "gateway_id2", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee2" + }, + "id": "id8" + }, + { + "type": "type1", + "amount": 109, + "recipient": { + "id": "id9", + "name": "name9", + "email": "email7", + "document": "document7", + "description": "description1", + "type": "type1", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type3", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id9", + "name": "name9", + "email": "email7", + "document": "document7", + "description": "description9", + "type": "type1", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata4", + "key1": "metadata3", + "key2": "metadata2" + }, + "pix_key": "pix_key9" + }, + "gateway_recipients": [ + { + "gateway": "gateway3", + "status": "status5", + "pgid": "pgid9", + "created_at": "created_at1", + "updated_at": "updated_at9" + }, + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + } + ], + "metadata": { + "key0": "metadata4", + "key1": "metadata5", + "key2": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type7", + "volume_percentage": 101, + "delay": 189, + "days": [ + 165 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 11 + }, + "code": "code7", + "payment_mode": "payment_mode7" + }, + "metadata": { + "key0": "metadata4", + "key1": "metadata3", + "key2": "metadata2" + }, + "pix_key": "pix_key9" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata4", + "key1": "metadata5", + "key2": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type7", + "volume_percentage": 171, + "delay": 119, + "days": [ + 95 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 81 + }, + "code": "code7", + "payment_mode": "payment_mode7" + }, + "gateway_id": "gateway_id1", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee1" + }, + "id": "id9" + }, + { + "type": "type0", + "amount": 110, + "recipient": { + "id": "id8", + "name": "name8", + "email": "email8", + "document": "document8", + "description": "description2", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id8", + "name": "name8", + "email": "email8", + "document": "document8", + "description": "description8", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata3" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + { + "gateway": "gateway2", + "status": "status4", + "pgid": "pgid8", + "created_at": "created_at0", + "updated_at": "updated_at8" + } + ], + "metadata": { + "key0": "metadata5" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 102, + "delay": 188, + "days": [ + 164, + 165, + 166 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 12 + }, + "code": "code6", + "payment_mode": "payment_mode8" + }, + "metadata": { + "key0": "metadata3" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata5" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 172, + "delay": 118, + "days": [ + 94, + 95, + 96 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 82 + }, + "code": "code6", + "payment_mode": "payment_mode8" + }, + "gateway_id": "gateway_id0", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee0" + }, + "id": "id0" + } + ] + }, + "boleto": { + "interest": { + "days": 198, + "type": "type2", + "amount": 16 + }, + "fine": { + "days": 92, + "type": "type0", + "amount": 90 + }, + "max_days_to_pay_past_due": 80 + }, + "manual_billing": false + }, + "status": "status4", + "duration": 218, + "created_at": "created_at0", + "updated_at": "updated_at8", + "cycle": 158 + }, + "payment_method": "payment_method4", + "currency": "currency4", + "installments": 146, + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id8", + "last_four_digits": "last_four_digits4", + "brand": "brand2", + "holder_name": "holder_name4", + "exp_month": 216, + "exp_year": 80, + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street0", + "number": "number2", + "zip_code": "zip_code4", + "neighborhood": "neighborhood6", + "city": "city0", + "state": "state4", + "country": "country4", + "complement": "complement4", + "line_1": "line_16", + "line_2": "line_28" + }, + "customer": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata4" + }, + "type": "type2", + "holder_document": "holder_document2", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits8", + "label": "label8" + }, + "items": [ + {}, + {} + ], + "statement_descriptor": "statement_descriptor4", + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "setup": { + "id": "id8", + "description": "description8", + "amount": 170, + "status": "status0" + }, + "gateway_affiliation_id": "gateway_affiliation_id0", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 118, + "minimum_price": 232, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + {} + ], + "boleto_due_days": 90, + "split": { + "enabled": false, + "rules": [ + {}, + {} + ] + }, + "boleto": { + "interest": { + "days": 0, + "type": "type4", + "amount": 74 + }, + "fine": { + "days": 34, + "type": "type4", + "amount": 108 + }, + "max_days_to_pay_past_due": 22 + }, + "manual_billing": false + }, + "name": "name0", + "quantity": 68, + "cycles": 168, + "deleted_at": "2016-03-13T12:52:32.123Z" } ``` diff --git a/doc/models/get-subscription-response.md b/doc/models/get-subscription-response.md index 9e20314..8c76219 100644 --- a/doc/models/get-subscription-response.md +++ b/doc/models/get-subscription-response.md @@ -44,36 +44,19 @@ ```json { - "id": null, - "code": null, - "start_at": null, - "interval": null, - "interval_count": null, - "billing_type": null, - "current_cycle": null, - "payment_method": null, - "currency": null, - "installments": null, - "status": null, - "created_at": null, - "updated_at": null, - "customer": null, - "card": null, - "items": null, - "statement_descriptor": null, - "metadata": null, - "setup": null, - "gateway_affiliation_id": null, - "next_billing_at": null, - "billing_day": null, - "minimum_price": null, - "canceled_at": null, - "discounts": null, - "increments": null, - "boleto_due_days": null, - "split": null, - "boleto": null, - "manual_billing": null + "boleto": { + "interest": { + "days": 2, + "type": "percentage", + "amount": 20 + }, + "fine": { + "days": 2, + "type": "flat", + "amount": 10 + }, + "max_days_to_pay_past_due": 2 + } } ``` diff --git a/doc/models/get-subscription-split-response.md b/doc/models/get-subscription-split-response.md index dc058f2..a44186b 100644 --- a/doc/models/get-subscription-split-response.md +++ b/doc/models/get-subscription-split-response.md @@ -16,8 +16,148 @@ ```json { - "enabled": null, - "rules": null + "enabled": false, + "rules": [ + { + "type": "type6", + "amount": 210, + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document2", + "description": "description6", + "type": "type6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type8", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document8", + "description": "description4", + "type": "type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata7", + "key1": "metadata6" + }, + "pix_key": "pix_key6" + }, + "gateway_recipients": [ + { + "gateway": "gateway8", + "status": "status0", + "pgid": "pgid4", + "created_at": "created_at6", + "updated_at": "updated_at4" + }, + { + "gateway": "gateway9", + "status": "status1", + "pgid": "pgid5", + "created_at": "created_at7", + "updated_at": "updated_at5" + } + ], + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 38, + "delay": 252, + "days": [ + 228 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 204 + }, + "code": "code2", + "payment_mode": "payment_mode8" + }, + "metadata": { + "key0": "metadata9", + "key1": "metadata8", + "key2": "metadata7" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata9", + "key1": "metadata0", + "key2": "metadata1" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 108, + "delay": 182, + "days": [ + 158 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 18 + }, + "code": "code2", + "payment_mode": "payment_mode2" + }, + "gateway_id": "gateway_id6", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee6" + }, + "id": "id4" + } + ] } ``` diff --git a/doc/models/get-three-d-secure-response.md b/doc/models/get-three-d-secure-response.md index 519545c..2c4292b 100644 --- a/doc/models/get-three-d-secure-response.md +++ b/doc/models/get-three-d-secure-response.md @@ -21,11 +21,11 @@ ```json { - "mpi": null, - "eci": null, - "cavv": null, - "transaction_Id": null, - "success_url": null + "mpi": "mpi2", + "eci": "eci0", + "cavv": "cavv4", + "transaction_Id": "transaction_Id4", + "success_url": "success_url2" } ``` diff --git a/doc/models/get-token-response.md b/doc/models/get-token-response.md index dfc0d74..0d0c760 100644 --- a/doc/models/get-token-response.md +++ b/doc/models/get-token-response.md @@ -21,11 +21,20 @@ Token data ```json { - "id": null, - "type": null, - "created_at": null, - "expires_at": null, - "card": null + "id": "id0", + "type": "type0", + "created_at": "2016-03-13T12:52:32.123Z", + "expires_at": "expires_at6", + "card": { + "last_four_digits": "last_four_digits2", + "holder_name": "holder_name2", + "holder_document": "holder_document0", + "exp_month": 228, + "exp_year": 68, + "brand": "brand0", + "type": "type4", + "label": "label6" + } } ``` diff --git a/doc/models/get-transaction-report-file-response.md b/doc/models/get-transaction-report-file-response.md index e36338f..d449c3b 100644 --- a/doc/models/get-transaction-report-file-response.md +++ b/doc/models/get-transaction-report-file-response.md @@ -16,8 +16,8 @@ ```json { - "name": null, - "date": null + "name": "name0", + "date": "2016-03-13T12:52:32.123Z" } ``` diff --git a/doc/models/get-transaction-response.md b/doc/models/get-transaction-response.md index e686745..a7ced8c 100644 --- a/doc/models/get-transaction-response.md +++ b/doc/models/get-transaction-response.md @@ -35,25 +35,758 @@ Generic response object for getting a transaction. ```json { - "gateway_id": null, - "amount": null, - "status": null, - "success": null, - "created_at": null, - "updated_at": null, - "attempt_count": null, - "max_attempts": null, - "splits": null, - "next_attempt": null, + "gateway_id": "gateway_id0", + "amount": 46, + "status": "status8", + "success": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 70, + "max_attempts": 174, + "splits": [ + { + "type": "type4", + "amount": 62, + "recipient": { + "id": "id2", + "name": "name2", + "email": "email4", + "document": "document4", + "description": "description8", + "type": "type8", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id2", + "name": "name2", + "email": "email4", + "document": "document4", + "description": "description2", + "type": "type8", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata7", + "key1": "metadata6" + }, + "pix_key": "pix_key6" + }, + "gateway_recipients": [ + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + }, + { + "gateway": "gateway7", + "status": "status9", + "pgid": "pgid3", + "created_at": "created_at5", + "updated_at": "updated_at3" + }, + { + "gateway": "gateway8", + "status": "status0", + "pgid": "pgid4", + "created_at": "created_at6", + "updated_at": "updated_at4" + } + ], + "metadata": { + "key0": "metadata1", + "key1": "metadata2" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 54, + "delay": 236, + "days": [ + 212, + 213 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval2", + "transfer_day": 220 + }, + "code": "code0", + "payment_mode": "payment_mode4" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata6" + }, + "pix_key": "pix_key6" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata1", + "key1": "metadata2" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 124, + "delay": 166, + "days": [ + 142, + 143 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval2", + "transfer_day": 34 + }, + "code": "code0", + "payment_mode": "payment_mode4" + }, + "gateway_id": "gateway_id4", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee4" + }, + "id": "id6" + }, + { + "type": "type3", + "amount": 63, + "recipient": { + "id": "id1", + "name": "name1", + "email": "email5", + "document": "document5", + "description": "description9", + "type": "type9", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id9", + "holder_name": "holder_name5", + "holder_type": "holder_type1", + "bank": "bank7", + "branch_number": "branch_number5", + "branch_check_digit": "branch_check_digit5", + "account_number": "account_number9", + "account_check_digit": "account_check_digit5", + "type": "type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id1", + "name": "name1", + "email": "email5", + "document": "document5", + "description": "description1", + "type": "type9", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id9", + "holder_name": "holder_name5", + "holder_type": "holder_type1", + "bank": "bank7", + "branch_number": "branch_number5", + "branch_check_digit": "branch_check_digit5", + "account_number": "account_number9", + "account_check_digit": "account_check_digit5", + "type": "type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata6", + "key1": "metadata5", + "key2": "metadata4" + }, + "pix_key": "pix_key7" + }, + "gateway_recipients": [ + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + }, + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + } + ], + "metadata": { + "key0": "metadata2", + "key1": "metadata3", + "key2": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type5", + "volume_percentage": 55, + "delay": 235, + "days": [ + 211 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval3", + "transfer_day": 221 + }, + "code": "code9", + "payment_mode": "payment_mode5" + }, + "metadata": { + "key0": "metadata6", + "key1": "metadata5", + "key2": "metadata4" + }, + "pix_key": "pix_key7" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata2", + "key1": "metadata3", + "key2": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type5", + "volume_percentage": 125, + "delay": 165, + "days": [ + 141 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval3", + "transfer_day": 35 + }, + "code": "code9", + "payment_mode": "payment_mode5" + }, + "gateway_id": "gateway_id3", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee3" + }, + "id": "id7" + } + ], + "next_attempt": "2016-03-13T12:52:32.123Z", "transaction_type": "transaction", - "id": null, - "gateway_response": null, - "antifraud_response": null, - "metadata": null, - "split": null, - "interest": null, - "fine": null, - "max_days_to_pay_past_due": null + "id": "id0", + "gateway_response": { + "code": "code6", + "errors": [ + { + "message": "message3" + }, + { + "message": "message4" + }, + { + "message": "message5" + } + ] + }, + "antifraud_response": { + "status": "status0", + "return_code": "return_code8", + "return_message": "return_message4", + "provider_name": "provider_name4", + "score": "score8" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata4", + "key2": "metadata5" + }, + "split": [ + { + "type": "type6", + "amount": 28, + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document2", + "description": "description6", + "type": "type6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type8", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document8", + "description": "description4", + "type": "type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata7" + }, + "pix_key": "pix_key6" + }, + "gateway_recipients": [ + { + "gateway": "gateway8", + "status": "status0", + "pgid": "pgid4", + "created_at": "created_at6", + "updated_at": "updated_at4" + } + ], + "metadata": { + "key0": "metadata1" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 220, + "delay": 70, + "days": [ + 46, + 47, + 48 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 130 + }, + "code": "code2", + "payment_mode": "payment_mode8" + }, + "metadata": { + "key0": "metadata9" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 34, + "delay": 0, + "days": [ + 232, + 233, + 234 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 200 + }, + "code": "code2", + "payment_mode": "payment_mode2" + }, + "gateway_id": "gateway_id6", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee6" + }, + "id": "id4" + }, + { + "type": "type5", + "amount": 27, + "recipient": { + "id": "id3", + "name": "name3", + "email": "email3", + "document": "document3", + "description": "description7", + "type": "type7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id1", + "holder_name": "holder_name7", + "holder_type": "holder_type3", + "bank": "bank9", + "branch_number": "branch_number7", + "branch_check_digit": "branch_check_digit7", + "account_number": "account_number1", + "account_check_digit": "account_check_digit7", + "type": "type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id3", + "name": "name3", + "email": "email3", + "document": "document7", + "description": "description3", + "type": "type7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id1", + "holder_name": "holder_name7", + "holder_type": "holder_type3", + "bank": "bank9", + "branch_number": "branch_number7", + "branch_check_digit": "branch_check_digit7", + "account_number": "account_number1", + "account_check_digit": "account_check_digit7", + "type": "type1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata8", + "key1": "metadata7", + "key2": "metadata6" + }, + "pix_key": "pix_key5" + }, + "gateway_recipients": [ + { + "gateway": "gateway7", + "status": "status9", + "pgid": "pgid3", + "created_at": "created_at5", + "updated_at": "updated_at3" + }, + { + "gateway": "gateway8", + "status": "status0", + "pgid": "pgid4", + "created_at": "created_at6", + "updated_at": "updated_at4" + }, + { + "gateway": "gateway9", + "status": "status1", + "pgid": "pgid5", + "created_at": "created_at7", + "updated_at": "updated_at5" + } + ], + "metadata": { + "key0": "metadata0", + "key1": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 221, + "delay": 69, + "days": [ + 45, + 46 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval1", + "transfer_day": 131 + }, + "code": "code1", + "payment_mode": "payment_mode7" + }, + "metadata": { + "key0": "metadata8", + "key1": "metadata7" + }, + "pix_key": "pix_key5" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata0", + "key1": "metadata1" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 35, + "delay": 255, + "days": [ + 231, + 232 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval1", + "transfer_day": 201 + }, + "code": "code1", + "payment_mode": "payment_mode3" + }, + "gateway_id": "gateway_id5", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee5" + }, + "id": "id5" + }, + { + "type": "type4", + "amount": 26, + "recipient": { + "id": "id2", + "name": "name2", + "email": "email4", + "document": "document4", + "description": "description8", + "type": "type8", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id2", + "name": "name2", + "email": "email4", + "document": "document6", + "description": "description2", + "type": "type8", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + }, + { + "gateway": "gateway7", + "status": "status9", + "pgid": "pgid3", + "created_at": "created_at5", + "updated_at": "updated_at3" + } + ], + "metadata": { + "key0": "metadata9", + "key1": "metadata8", + "key2": "metadata7" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 222, + "delay": 68, + "days": [ + 44 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval2", + "transfer_day": 132 + }, + "code": "code0", + "payment_mode": "payment_mode6" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata6", + "key2": "metadata5" + }, + "pix_key": "pix_key6" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata1", + "key1": "metadata2", + "key2": "metadata3" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 36, + "delay": 254, + "days": [ + 230 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval2", + "transfer_day": 202 + }, + "code": "code0", + "payment_mode": "payment_mode4" + }, + "gateway_id": "gateway_id4", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee4" + }, + "id": "id6" + } + ], + "interest": { + "days": 156, + "type": "type0", + "amount": 230 + }, + "fine": { + "days": 138, + "type": "type2", + "amount": 212 + }, + "max_days_to_pay_past_due": 122 } ``` diff --git a/doc/models/get-transfer-response.md b/doc/models/get-transfer-response.md index 89f1790..0b6885e 100644 --- a/doc/models/get-transfer-response.md +++ b/doc/models/get-transfer-response.md @@ -23,13 +23,151 @@ Transfer response ```json { - "id": null, - "amount": null, - "status": null, - "created_at": null, - "updated_at": null, - "bank_account": null, - "metadata": null + "id": "id0", + "amount": 46, + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "bank_account": { + "id": "id4", + "holder_name": "holder_name0", + "holder_type": "holder_type6", + "bank": "bank2", + "branch_number": "branch_number0", + "branch_check_digit": "branch_check_digit0", + "account_number": "account_number4", + "account_check_digit": "account_check_digit0", + "type": "type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id6", + "name": "name6", + "email": "email0", + "document": "document0", + "description": "description6", + "type": "type4", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id4", + "holder_name": "holder_name0", + "holder_type": "holder_type6", + "bank": "bank2", + "branch_number": "branch_number0", + "branch_check_digit": "branch_check_digit0", + "account_number": "account_number4", + "account_check_digit": "account_check_digit0", + "type": "type4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id6", + "name": "name6", + "email": "email0", + "document": "document0", + "description": "description6", + "type": "type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": {}, + "gateway_recipients": [ + { + "gateway": "gateway0", + "status": "status2", + "pgid": "pgid6", + "created_at": "created_at8", + "updated_at": "updated_at6" + }, + { + "gateway": "gateway1", + "status": "status3", + "pgid": "pgid7", + "created_at": "created_at9", + "updated_at": "updated_at7" + }, + { + "gateway": "gateway2", + "status": "status4", + "pgid": "pgid8", + "created_at": "created_at0", + "updated_at": "updated_at8" + } + ], + "metadata": { + "key0": "metadata3", + "key1": "metadata2" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type0", + "volume_percentage": 250, + "delay": 40, + "days": [ + 16, + 17 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval8", + "transfer_day": 160 + }, + "code": "code4", + "payment_mode": "payment_mode0" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata0" + }, + "pix_key": "pix_key2" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata7", + "key1": "metadata8" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type0", + "volume_percentage": 64, + "delay": 226, + "days": [ + 202, + 203 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval8", + "transfer_day": 230 + }, + "code": "code4", + "payment_mode": "payment_mode0" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata0" + }, + "pix_key": "pix_key2" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata4", + "key2": "metadata5" + } } ``` diff --git a/doc/models/get-transfer-settings-response.md b/doc/models/get-transfer-settings-response.md index de3b4b6..93d6bcf 100644 --- a/doc/models/get-transfer-settings-response.md +++ b/doc/models/get-transfer-settings-response.md @@ -17,9 +17,9 @@ ```json { - "transfer_enabled": null, - "transfer_interval": null, - "transfer_day": null + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 18 } ``` diff --git a/doc/models/get-transfer-source-response.md b/doc/models/get-transfer-source-response.md index 0bb342f..89796d6 100644 --- a/doc/models/get-transfer-source-response.md +++ b/doc/models/get-transfer-source-response.md @@ -16,8 +16,8 @@ ```json { - "source_id": null, - "type": null + "source_id": "source_id6", + "type": "type0" } ``` diff --git a/doc/models/get-transfer-target-response.md b/doc/models/get-transfer-target-response.md index e60b55f..ef84072 100644 --- a/doc/models/get-transfer-target-response.md +++ b/doc/models/get-transfer-target-response.md @@ -16,8 +16,8 @@ ```json { - "target_id": null, - "type": null + "target_id": "target_id0", + "type": "type0" } ``` diff --git a/doc/models/get-transfer.md b/doc/models/get-transfer.md index 5fe6362..701bb68 100644 --- a/doc/models/get-transfer.md +++ b/doc/models/get-transfer.md @@ -33,18 +33,22 @@ "status": "status8", "created_at": "2016-03-13T12:52:32.123Z", "updated_at": "2016-03-13T12:52:32.123Z", - "metadata": null, - "fee": null, - "funding_date": null, - "funding_estimated_date": null, + "metadata": { + "key0": "metadata3", + "key1": "metadata4", + "key2": "metadata5" + }, + "fee": 168, + "funding_date": "2016-03-13T12:52:32.123Z", + "funding_estimated_date": "2016-03-13T12:52:32.123Z", "type": "type0", "source": { - "source_id": null, - "type": null + "source_id": "source_id8", + "type": "type6" }, "target": { - "target_id": null, - "type": null + "target_id": "target_id2", + "type": "type8" } } ``` diff --git a/doc/models/get-usage-report-response.md b/doc/models/get-usage-report-response.md index 447cf7b..04d1bbe 100644 --- a/doc/models/get-usage-report-response.md +++ b/doc/models/get-usage-report-response.md @@ -17,9 +17,9 @@ ```json { - "url": null, - "usage_report_url": null, - "grouped_report_url": null + "url": "url4", + "usage_report_url": "usage_report_url2", + "grouped_report_url": "grouped_report_url2" } ``` diff --git a/doc/models/get-usage-response.md b/doc/models/get-usage-response.md index 6ea7247..8df3bce 100644 --- a/doc/models/get-usage-response.md +++ b/doc/models/get-usage-response.md @@ -27,17 +27,1551 @@ Response object for getting a usage ```json { - "id": null, - "quantity": null, - "description": null, - "used_at": null, - "created_at": null, - "status": null, - "deleted_at": null, - "subscription_item": null, - "code": null, - "group": null, - "amount": null + "id": "id0", + "quantity": 68, + "description": "description0", + "used_at": "2016-03-13T12:52:32.123Z", + "created_at": "2016-03-13T12:52:32.123Z", + "status": "status8", + "deleted_at": "2016-03-13T12:52:32.123Z", + "subscription_item": { + "id": "id6", + "description": "description4", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 178, + "scheme_type": "scheme_type2", + "price_brackets": [ + { + "start_quantity": 131, + "price": 69, + "end_quantity": 139, + "overage_price": 153 + } + ], + "minimum_price": 18, + "percentage": 231.4 + }, + "discounts": [ + { + "id": "id7", + "value": 30.59, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 11, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": { + "id": "id7", + "code": "code5", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval5", + "interval_count": 55, + "billing_type": "billing_type9", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id5", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id9", + "code": "code7", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval7", + "interval_count": 51, + "billing_type": "billing_type7", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id7", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status9", + "duration": 35, + "created_at": "created_at5", + "updated_at": "updated_at3", + "cycle": 231 + }, + "payment_method": "payment_method1", + "currency": "currency9", + "installments": 219, + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id9", + "name": "name9", + "email": "email7", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document7", + "type": "type1", + "fb_access_token": "fb_access_token3", + "address": { + "id": "id5", + "street": "street5", + "number": "number3", + "complement": "complement1", + "zip_code": "zip_code9", + "neighborhood": "neighborhood1", + "city": "city5", + "state": "state1", + "country": "country9", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id5", + "name": "name5", + "email": "email1", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document9", + "type": "type5", + "fb_access_token": "fb_access_token9", + "address": { + "id": "id1", + "street": "street1", + "number": "number9", + "complement": "complement7", + "zip_code": "zip_code5", + "neighborhood": "neighborhood7", + "city": "city1", + "state": "state7", + "country": "country5", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata8", + "key1": "metadata7" + }, + "line_1": "line_15", + "line_2": "line_29", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata2", + "key1": "metadata1", + "key2": "metadata0" + }, + "phones": { + "home_phone": { + "country_code": "country_code7", + "number": "number5", + "area_code": "area_code7" + }, + "mobile_phone": { + "country_code": "country_code7", + "number": "number5", + "area_code": "area_code7" + } + }, + "fb_id": 5, + "code": "code3", + "document_type": "document_type3" + }, + "metadata": { + "key0": "metadata4" + }, + "line_1": "line_19", + "line_2": "line_23", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata4" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 211, + "code": "code7", + "document_type": "document_type7" + }, + "card": { + "id": "id3", + "last_four_digits": "last_four_digits9", + "brand": "brand7", + "holder_name": "holder_name9", + "exp_month": 143, + "exp_year": 153, + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street5", + "number": "number7", + "zip_code": "zip_code9", + "neighborhood": "neighborhood1", + "city": "city5", + "state": "state9", + "country": "country9", + "complement": "complement9", + "line_1": "line_11", + "line_2": "line_23" + }, + "customer": {}, + "metadata": { + "key0": "metadata0" + }, + "type": "type7", + "holder_document": "holder_document3", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits3", + "label": "label3" + }, + "items": [ + { + "id": "id6", + "description": "description6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 170, + "scheme_type": "scheme_type8", + "price_brackets": [ + {} + ], + "minimum_price": 74, + "percentage": 84.56 + }, + "discounts": [ + { + "id": "id7", + "value": 82.19, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 51, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id5", + "value": 193.47, + "increment_type": "increment_type7", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 85, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 193.48, + "increment_type": "increment_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 84, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name6", + "quantity": 96, + "cycles": 116, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id7", + "description": "description7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 169, + "scheme_type": "scheme_type9", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 73, + "percentage": 84.57 + }, + "discounts": [ + { + "id": "id8", + "value": 82.2, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 52, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id9", + "value": 82.21, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 53, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id6", + "value": 193.48, + "increment_type": "increment_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 84, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id7", + "value": 193.49, + "increment_type": "increment_type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 83, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id8", + "value": 193.5, + "increment_type": "increment_type0", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 82, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name7", + "quantity": 97, + "cycles": 117, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id8", + "description": "description8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 168, + "scheme_type": "scheme_type0", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 72, + "percentage": 84.58 + }, + "discounts": [ + { + "id": "id9", + "value": 82.21, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 53, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id0", + "value": 82.22, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 54, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id1", + "value": 82.23, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 55, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id7", + "value": 193.49, + "increment_type": "increment_type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 83, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name8", + "quantity": 98, + "cycles": 118, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor9", + "metadata": { + "key0": "metadata6", + "key1": "metadata5" + }, + "setup": { + "id": "id3", + "description": "description3", + "amount": 243, + "status": "status5" + }, + "gateway_affiliation_id": "gateway_affiliation_id5", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 191, + "minimum_price": 207, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {} + ], + "boleto_due_days": 163, + "split": { + "enabled": true, + "rules": [ + { + "type": "type1", + "amount": 123, + "recipient": { + "id": "id1", + "name": "name1", + "email": "email5", + "document": "document5", + "description": "description9", + "type": "type9", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id9", + "holder_name": "holder_name5", + "holder_type": "holder_type1", + "bank": "bank7", + "branch_number": "branch_number5", + "branch_check_digit": "branch_check_digit5", + "account_number": "account_number9", + "account_check_digit": "account_check_digit5", + "type": "type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id1", + "name": "name1", + "email": "email5", + "document": "document5", + "description": "description1", + "type": "type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id9", + "holder_name": "holder_name5", + "holder_type": "holder_type1", + "bank": "bank7", + "branch_number": "branch_number5", + "branch_check_digit": "branch_check_digit5", + "account_number": "account_number9", + "account_check_digit": "account_check_digit5", + "type": "type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata0" + }, + "pix_key": "pix_key3" + }, + "gateway_recipients": [ + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + } + ], + "metadata": { + "key0": "metadata8" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type5", + "volume_percentage": 201, + "delay": 89, + "days": [ + 65, + 66, + 67 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval3", + "transfer_day": 111 + }, + "code": "code9", + "payment_mode": "payment_mode5" + }, + "metadata": { + "key0": "metadata6" + }, + "pix_key": "pix_key7" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata2" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type5", + "volume_percentage": 15, + "delay": 19, + "days": [ + 251, + 252, + 253 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval3", + "transfer_day": 181 + }, + "code": "code9", + "payment_mode": "payment_mode5" + }, + "gateway_id": "gateway_id1", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee5" + }, + "id": "id9" + }, + { + "type": "type0", + "amount": 124, + "recipient": { + "id": "id2", + "name": "name2", + "email": "email4", + "document": "document4", + "description": "description8", + "type": "type8", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id2", + "name": "name2", + "email": "email4", + "document": "document6", + "description": "description2", + "type": "type8", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + }, + { + "gateway": "gateway7", + "status": "status9", + "pgid": "pgid3", + "created_at": "created_at5", + "updated_at": "updated_at3" + } + ], + "metadata": { + "key0": "metadata9", + "key1": "metadata8", + "key2": "metadata7" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 200, + "delay": 90, + "days": [ + 66 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval2", + "transfer_day": 110 + }, + "code": "code0", + "payment_mode": "payment_mode6" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata6", + "key2": "metadata5" + }, + "pix_key": "pix_key6" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata1", + "key1": "metadata2", + "key2": "metadata3" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 14, + "delay": 20, + "days": [ + 252 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval2", + "transfer_day": 180 + }, + "code": "code0", + "payment_mode": "payment_mode4" + }, + "gateway_id": "gateway_id0", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee6" + }, + "id": "id0" + }, + { + "type": "type9", + "amount": 125, + "recipient": { + "id": "id3", + "name": "name3", + "email": "email3", + "document": "document3", + "description": "description7", + "type": "type7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id1", + "holder_name": "holder_name7", + "holder_type": "holder_type3", + "bank": "bank9", + "branch_number": "branch_number7", + "branch_check_digit": "branch_check_digit7", + "account_number": "account_number1", + "account_check_digit": "account_check_digit7", + "type": "type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id3", + "name": "name3", + "email": "email3", + "document": "document7", + "description": "description3", + "type": "type7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id1", + "holder_name": "holder_name7", + "holder_type": "holder_type3", + "bank": "bank9", + "branch_number": "branch_number7", + "branch_check_digit": "branch_check_digit7", + "account_number": "account_number1", + "account_check_digit": "account_check_digit7", + "type": "type1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata8", + "key1": "metadata7", + "key2": "metadata6" + }, + "pix_key": "pix_key5" + }, + "gateway_recipients": [ + { + "gateway": "gateway7", + "status": "status9", + "pgid": "pgid3", + "created_at": "created_at5", + "updated_at": "updated_at3" + }, + { + "gateway": "gateway8", + "status": "status0", + "pgid": "pgid4", + "created_at": "created_at6", + "updated_at": "updated_at4" + }, + { + "gateway": "gateway9", + "status": "status1", + "pgid": "pgid5", + "created_at": "created_at7", + "updated_at": "updated_at5" + } + ], + "metadata": { + "key0": "metadata0", + "key1": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 199, + "delay": 91, + "days": [ + 67, + 68 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval1", + "transfer_day": 109 + }, + "code": "code1", + "payment_mode": "payment_mode7" + }, + "metadata": { + "key0": "metadata8", + "key1": "metadata7" + }, + "pix_key": "pix_key5" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata0", + "key1": "metadata1" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 13, + "delay": 21, + "days": [ + 253, + 254 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval1", + "transfer_day": 179 + }, + "code": "code1", + "payment_mode": "payment_mode3" + }, + "gateway_id": "gateway_id9", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee7" + }, + "id": "id1" + } + ] + }, + "boleto": { + "interest": { + "days": 183, + "type": "type9", + "amount": 1 + }, + "fine": { + "days": 107, + "type": "type9", + "amount": 181 + }, + "max_days_to_pay_past_due": 95 + }, + "manual_billing": true + }, + "status": "status3", + "duration": 39, + "created_at": "created_at3", + "updated_at": "updated_at1", + "cycle": 235 + }, + "payment_method": "payment_method3", + "currency": "currency3", + "installments": 223, + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id9", + "last_four_digits": "last_four_digits5", + "brand": "brand3", + "holder_name": "holder_name5", + "exp_month": 201, + "exp_year": 95, + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street1", + "number": "number1", + "zip_code": "zip_code5", + "neighborhood": "neighborhood7", + "city": "city9", + "state": "state3", + "country": "country5", + "complement": "complement3", + "line_1": "line_15", + "line_2": "line_29" + }, + "customer": {}, + "metadata": { + "key0": "metadata4", + "key1": "metadata5" + }, + "type": "type1", + "holder_document": "holder_document7", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits9", + "label": "label9" + }, + "items": [ + {}, + {}, + {} + ], + "statement_descriptor": "statement_descriptor7", + "metadata": { + "key0": "metadata6", + "key1": "metadata7" + }, + "setup": { + "id": "id1", + "description": "description9", + "amount": 9, + "status": "status7" + }, + "gateway_affiliation_id": "gateway_affiliation_id3", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 61, + "minimum_price": 203, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 167, + "split": { + "enabled": true, + "rules": [ + {}, + {}, + {} + ] + }, + "boleto": { + "interest": { + "days": 133, + "type": "type7", + "amount": 207 + }, + "fine": { + "days": 115, + "type": "type5", + "amount": 67 + }, + "max_days_to_pay_past_due": 145 + }, + "manual_billing": true + }, + "subscription_item": {} + }, + { + "id": "id8", + "value": 30.6, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 12, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": { + "id": "id6", + "code": "code4", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval6", + "interval_count": 54, + "billing_type": "billing_type0", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id4", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id0", + "code": "code8", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval8", + "interval_count": 52, + "billing_type": "billing_type6", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id8", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status0", + "duration": 36, + "created_at": "created_at6", + "updated_at": "updated_at4", + "cycle": 232 + }, + "payment_method": "payment_method0", + "currency": "currency0", + "installments": 220, + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id0", + "name": "name0", + "email": "email6", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document6", + "type": "type0", + "fb_access_token": "fb_access_token4", + "address": { + "id": "id6", + "street": "street6", + "number": "number4", + "complement": "complement2", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city6", + "state": "state2", + "country": "country0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id6", + "name": "name6", + "email": "email0", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document0", + "type": "type6", + "fb_access_token": "fb_access_token0", + "address": { + "id": "id2", + "street": "street2", + "number": "number0", + "complement": "complement8", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city2", + "state": "state8", + "country": "country6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata7", + "key1": "metadata6", + "key2": "metadata5" + }, + "line_1": "line_16", + "line_2": "line_20", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2" + }, + "phones": { + "home_phone": { + "country_code": "country_code8", + "number": "number6", + "area_code": "area_code8" + }, + "mobile_phone": { + "country_code": "country_code8", + "number": "number4", + "area_code": "area_code8" + } + }, + "fb_id": 6, + "code": "code4", + "document_type": "document_type4" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2" + }, + "line_1": "line_10", + "line_2": "line_24", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata4", + "key2": "metadata5" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 212, + "code": "code8", + "document_type": "document_type8" + }, + "card": { + "id": "id4", + "last_four_digits": "last_four_digits0", + "brand": "brand8", + "holder_name": "holder_name0", + "exp_month": 142, + "exp_year": 154, + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street4", + "number": "number8", + "zip_code": "zip_code8", + "neighborhood": "neighborhood0", + "city": "city6", + "state": "state0", + "country": "country8", + "complement": "complement0", + "line_1": "line_12", + "line_2": "line_22" + }, + "customer": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata0", + "key2": "metadata1" + }, + "type": "type6", + "holder_document": "holder_document2", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits4", + "label": "label4" + }, + "items": [ + { + "id": "id7", + "description": "description7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 169, + "scheme_type": "scheme_type9", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 73, + "percentage": 84.57 + }, + "discounts": [ + { + "id": "id8", + "value": 82.2, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 52, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id9", + "value": 82.21, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 53, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id6", + "value": 193.48, + "increment_type": "increment_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 84, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id7", + "value": 193.49, + "increment_type": "increment_type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 83, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id8", + "value": 193.5, + "increment_type": "increment_type0", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 82, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name7", + "quantity": 97, + "cycles": 117, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor0", + "metadata": { + "key0": "metadata7" + }, + "setup": { + "id": "id4", + "description": "description4", + "amount": 244, + "status": "status6" + }, + "gateway_affiliation_id": "gateway_affiliation_id6", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 192, + "minimum_price": 206, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 164, + "split": { + "enabled": false, + "rules": [ + { + "type": "type0", + "amount": 124, + "recipient": { + "id": "id2", + "name": "name2", + "email": "email4", + "document": "document4", + "description": "description8", + "type": "type8", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id2", + "name": "name2", + "email": "email4", + "document": "document6", + "description": "description2", + "type": "type8", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + }, + { + "gateway": "gateway7", + "status": "status9", + "pgid": "pgid3", + "created_at": "created_at5", + "updated_at": "updated_at3" + } + ], + "metadata": { + "key0": "metadata9", + "key1": "metadata8", + "key2": "metadata7" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 200, + "delay": 90, + "days": [ + 66 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval2", + "transfer_day": 110 + }, + "code": "code0", + "payment_mode": "payment_mode6" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata6", + "key2": "metadata5" + }, + "pix_key": "pix_key6" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata1", + "key1": "metadata2", + "key2": "metadata3" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 14, + "delay": 20, + "days": [ + 252 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval2", + "transfer_day": 180 + }, + "code": "code0", + "payment_mode": "payment_mode4" + }, + "gateway_id": "gateway_id0", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee6" + }, + "id": "id0" + } + ] + }, + "boleto": { + "interest": { + "days": 182, + "type": "type0", + "amount": 0 + }, + "fine": { + "days": 108, + "type": "type8", + "amount": 182 + }, + "max_days_to_pay_past_due": 96 + }, + "manual_billing": false + }, + "status": "status4", + "duration": 38, + "created_at": "created_at2", + "updated_at": "updated_at0", + "cycle": 234 + }, + "payment_method": "payment_method4", + "currency": "currency4", + "installments": 222, + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id0", + "last_four_digits": "last_four_digits6", + "brand": "brand4", + "holder_name": "holder_name6", + "exp_month": 200, + "exp_year": 96, + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street2", + "number": "number0", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city8", + "state": "state2", + "country": "country6", + "complement": "complement2", + "line_1": "line_14", + "line_2": "line_20" + }, + "customer": {}, + "metadata": { + "key0": "metadata3" + }, + "type": "type0", + "holder_document": "holder_document6", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits0", + "label": "label0" + }, + "items": [ + {}, + {} + ], + "statement_descriptor": "statement_descriptor6", + "metadata": { + "key0": "metadata7", + "key1": "metadata8", + "key2": "metadata9" + }, + "setup": { + "id": "id0", + "description": "description0", + "amount": 10, + "status": "status8" + }, + "gateway_affiliation_id": "gateway_affiliation_id2", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 62, + "minimum_price": 204, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + {} + ], + "boleto_due_days": 166, + "split": { + "enabled": false, + "rules": [ + {}, + {} + ] + }, + "boleto": { + "interest": { + "days": 132, + "type": "type6", + "amount": 206 + }, + "fine": { + "days": 114, + "type": "type6", + "amount": 68 + }, + "max_days_to_pay_past_due": 146 + }, + "manual_billing": false + }, + "subscription_item": {} + } + ], + "increments": [ + {}, + {} + ], + "subscription": {}, + "name": "name6", + "quantity": 56, + "cycles": 180, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "code": "code8", + "group": "group8", + "amount": 46 } ``` diff --git a/doc/models/get-voucher-transaction-response.md b/doc/models/get-voucher-transaction-response.md index 439db8e..0e4a876 100644 --- a/doc/models/get-voucher-transaction-response.md +++ b/doc/models/get-voucher-transaction-response.md @@ -30,35 +30,750 @@ Response for voucher transactions ```json { - "gateway_id": null, - "amount": null, - "status": null, - "success": null, - "created_at": null, - "updated_at": null, - "attempt_count": null, - "max_attempts": null, - "splits": null, - "next_attempt": null, + "gateway_id": "gateway_id4", + "amount": 24, + "status": "status2", + "success": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 0, + "max_attempts": 244, + "splits": [ + { + "type": "type0", + "amount": 248, + "recipient": { + "id": "id8", + "name": "name8", + "email": "email8", + "document": "document8", + "description": "description2", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id8", + "name": "name8", + "email": "email8", + "document": "document8", + "description": "description8", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata3", + "key1": "metadata2" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + { + "gateway": "gateway2", + "status": "status4", + "pgid": "pgid8", + "created_at": "created_at0", + "updated_at": "updated_at8" + }, + { + "gateway": "gateway3", + "status": "status5", + "pgid": "pgid9", + "created_at": "created_at1", + "updated_at": "updated_at9" + }, + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + } + ], + "metadata": { + "key0": "metadata5", + "key1": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 240, + "delay": 50, + "days": [ + 26, + 27 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 150 + }, + "code": "code6", + "payment_mode": "payment_mode2" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata5", + "key1": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 54, + "delay": 236, + "days": [ + 212, + 213 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 220 + }, + "code": "code6", + "payment_mode": "payment_mode8" + }, + "gateway_id": "gateway_id0", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee0" + }, + "id": "id0" + }, + { + "type": "type9", + "amount": 249, + "recipient": { + "id": "id7", + "name": "name7", + "email": "email9", + "document": "document9", + "description": "description3", + "type": "type3", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id5", + "holder_name": "holder_name1", + "holder_type": "holder_type7", + "bank": "bank3", + "branch_number": "branch_number1", + "branch_check_digit": "branch_check_digit1", + "account_number": "account_number5", + "account_check_digit": "account_check_digit1", + "type": "type5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id7", + "name": "name7", + "email": "email9", + "document": "document9", + "description": "description7", + "type": "type3", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id5", + "holder_name": "holder_name1", + "holder_type": "holder_type7", + "bank": "bank3", + "branch_number": "branch_number1", + "branch_check_digit": "branch_check_digit1", + "account_number": "account_number5", + "account_check_digit": "account_check_digit1", + "type": "type5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata2", + "key1": "metadata1", + "key2": "metadata0" + }, + "pix_key": "pix_key9" + }, + "gateway_recipients": [ + { + "gateway": "gateway1", + "status": "status3", + "pgid": "pgid7", + "created_at": "created_at9", + "updated_at": "updated_at7" + }, + { + "gateway": "gateway2", + "status": "status4", + "pgid": "pgid8", + "created_at": "created_at0", + "updated_at": "updated_at8" + } + ], + "metadata": { + "key0": "metadata6", + "key1": "metadata7", + "key2": "metadata8" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type9", + "volume_percentage": 241, + "delay": 49, + "days": [ + 25 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval7", + "transfer_day": 151 + }, + "code": "code5", + "payment_mode": "payment_mode1" + }, + "metadata": { + "key0": "metadata2", + "key1": "metadata1", + "key2": "metadata0" + }, + "pix_key": "pix_key1" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata6", + "key1": "metadata7", + "key2": "metadata8" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type9", + "volume_percentage": 55, + "delay": 235, + "days": [ + 211 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval7", + "transfer_day": 221 + }, + "code": "code5", + "payment_mode": "payment_mode9" + }, + "gateway_id": "gateway_id9", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee9" + }, + "id": "id1" + } + ], + "next_attempt": "2016-03-13T12:52:32.123Z", "transaction_type": "voucher", - "id": null, - "gateway_response": null, - "antifraud_response": null, - "metadata": null, - "split": null, - "interest": null, - "fine": null, - "max_days_to_pay_past_due": null, - "statement_descriptor": null, - "acquirer_name": null, - "acquirer_affiliation_code": null, - "acquirer_tid": null, - "acquirer_nsu": null, - "acquirer_auth_code": null, - "acquirer_message": null, - "acquirer_return_code": null, - "operation_type": null, - "card": null + "id": "id6", + "gateway_response": { + "code": "code0", + "errors": [ + { + "message": "message7" + }, + { + "message": "message8" + }, + { + "message": "message9" + } + ] + }, + "antifraud_response": { + "status": "status6", + "return_code": "return_code4", + "return_message": "return_message8", + "provider_name": "provider_name8", + "score": "score4" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata8", + "key2": "metadata9" + }, + "split": [ + { + "type": "type6", + "amount": 226, + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document2", + "description": "description6", + "type": "type6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type8", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document2", + "description": "description4", + "type": "type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata8", + "key2": "metadata7" + }, + "pix_key": "pix_key6" + }, + "gateway_recipients": [ + { + "gateway": "gateway8", + "status": "status0", + "pgid": "pgid4", + "created_at": "created_at6", + "updated_at": "updated_at4" + }, + { + "gateway": "gateway9", + "status": "status1", + "pgid": "pgid5", + "created_at": "created_at7", + "updated_at": "updated_at5" + } + ], + "metadata": { + "key0": "metadata9", + "key1": "metadata0", + "key2": "metadata1" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 218, + "delay": 72, + "days": [ + 48 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 128 + }, + "code": "code2", + "payment_mode": "payment_mode8" + }, + "metadata": { + "key0": "metadata9", + "key1": "metadata8", + "key2": "metadata7" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata9", + "key1": "metadata0", + "key2": "metadata1" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 32, + "delay": 2, + "days": [ + 234 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 198 + }, + "code": "code2", + "payment_mode": "payment_mode2" + }, + "gateway_id": "gateway_id6", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee6" + }, + "id": "id4" + }, + { + "type": "type5", + "amount": 227, + "recipient": { + "id": "id3", + "name": "name3", + "email": "email3", + "document": "document3", + "description": "description7", + "type": "type7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id1", + "holder_name": "holder_name7", + "holder_type": "holder_type3", + "bank": "bank9", + "branch_number": "branch_number7", + "branch_check_digit": "branch_check_digit7", + "account_number": "account_number1", + "account_check_digit": "account_check_digit7", + "type": "type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id3", + "name": "name3", + "email": "email3", + "document": "document3", + "description": "description3", + "type": "type7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id1", + "holder_name": "holder_name7", + "holder_type": "holder_type3", + "bank": "bank9", + "branch_number": "branch_number7", + "branch_check_digit": "branch_check_digit7", + "account_number": "account_number1", + "account_check_digit": "account_check_digit7", + "type": "type1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata8" + }, + "pix_key": "pix_key5" + }, + "gateway_recipients": [ + { + "gateway": "gateway7", + "status": "status9", + "pgid": "pgid3", + "created_at": "created_at5", + "updated_at": "updated_at3" + } + ], + "metadata": { + "key0": "metadata0" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 219, + "delay": 71, + "days": [ + 47, + 48, + 49 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval1", + "transfer_day": 129 + }, + "code": "code1", + "payment_mode": "payment_mode7" + }, + "metadata": { + "key0": "metadata8" + }, + "pix_key": "pix_key5" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata0" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 33, + "delay": 1, + "days": [ + 233, + 234, + 235 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval1", + "transfer_day": 199 + }, + "code": "code1", + "payment_mode": "payment_mode3" + }, + "gateway_id": "gateway_id5", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee5" + }, + "id": "id5" + } + ], + "interest": { + "days": 86, + "type": "type4", + "amount": 160 + }, + "fine": { + "days": 52, + "type": "type2", + "amount": 234 + }, + "max_days_to_pay_past_due": 192, + "statement_descriptor": "statement_descriptor0", + "acquirer_name": "acquirer_name4", + "acquirer_affiliation_code": "acquirer_affiliation_code8", + "acquirer_tid": "acquirer_tid0", + "acquirer_nsu": "acquirer_nsu0", + "acquirer_auth_code": "acquirer_auth_code8", + "acquirer_message": "acquirer_message0", + "acquirer_return_code": "acquirer_return_code8", + "operation_type": "operation_type6", + "card": { + "id": "id6", + "last_four_digits": "last_four_digits2", + "brand": "brand0", + "holder_name": "holder_name2", + "exp_month": 228, + "exp_year": 68, + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street8", + "number": "number4", + "zip_code": "zip_code2", + "neighborhood": "neighborhood4", + "city": "city2", + "state": "state6", + "country": "country2", + "complement": "complement6", + "line_1": "line_18", + "line_2": "line_26" + }, + "customer": { + "id": "id6", + "name": "name6", + "email": "email0", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document0", + "type": "type4", + "fb_access_token": "fb_access_token0", + "address": { + "id": "id2", + "street": "street2", + "number": "number0", + "complement": "complement8", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city2", + "state": "state8", + "country": "country6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id2", + "name": "name2", + "email": "email4", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document6", + "type": "type8", + "fb_access_token": "fb_access_token6", + "address": { + "id": "id8", + "street": "street8", + "number": "number6", + "complement": "complement4", + "zip_code": "zip_code2", + "neighborhood": "neighborhood4", + "city": "city8", + "state": "state4", + "country": "country2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "line_1": "line_12", + "line_2": "line_26", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "phones": { + "home_phone": { + "country_code": "country_code4", + "number": "number2", + "area_code": "area_code4" + }, + "mobile_phone": { + "country_code": "country_code4", + "number": "number8", + "area_code": "area_code4" + } + }, + "fb_id": 106, + "code": "code0", + "document_type": "document_type0" + }, + "metadata": { + "key0": "metadata9", + "key1": "metadata8", + "key2": "metadata7" + }, + "line_1": "line_16", + "line_2": "line_20", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata8", + "key2": "metadata9" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 56, + "code": "code4", + "document_type": "document_type4" + }, + "metadata": { + "key0": "metadata7" + }, + "type": "type4", + "holder_document": "holder_document0", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits6", + "label": "label6" + } } ``` diff --git a/doc/models/get-withdraw-response.md b/doc/models/get-withdraw-response.md index 66e90c9..2d885df 100644 --- a/doc/models/get-withdraw-response.md +++ b/doc/models/get-withdraw-response.md @@ -27,19 +27,29 @@ ```json { - "id": null, - "gateway_id": null, - "amount": null, - "status": null, - "created_at": null, - "updated_at": null, - "metadata": null, - "fee": null, - "funding_date": null, - "funding_estimated_date": null, - "type": null, - "source": null, - "target": null + "id": "id0", + "gateway_id": "gateway_id0", + "amount": 46, + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "metadata": [ + "metadata3", + "metadata4", + "metadata5" + ], + "fee": 168, + "funding_date": "2016-03-13T12:52:32.123Z", + "funding_estimated_date": "2016-03-13T12:52:32.123Z", + "type": "type0", + "source": { + "source_id": "source_id8", + "type": "type6" + }, + "target": { + "target_id": "target_id2", + "type": "type8" + } } ``` diff --git a/doc/models/get-withdraw-source-response.md b/doc/models/get-withdraw-source-response.md index c00a0dc..e4249a0 100644 --- a/doc/models/get-withdraw-source-response.md +++ b/doc/models/get-withdraw-source-response.md @@ -16,8 +16,8 @@ ```json { - "source_id": null, - "type": null + "source_id": "source_id6", + "type": "type0" } ``` diff --git a/doc/models/get-withdraw-target-response.md b/doc/models/get-withdraw-target-response.md index 2142033..0e156f8 100644 --- a/doc/models/get-withdraw-target-response.md +++ b/doc/models/get-withdraw-target-response.md @@ -16,8 +16,8 @@ ```json { - "target_id": null, - "type": null + "target_id": "target_id0", + "type": "type0" } ``` diff --git a/doc/models/list-access-tokens-response.md b/doc/models/list-access-tokens-response.md index a884684..17deaa0 100644 --- a/doc/models/list-access-tokens-response.md +++ b/doc/models/list-access-tokens-response.md @@ -18,8 +18,213 @@ Response object for listing access tokens ```json { - "data": null, - "paging": null + "data": [ + { + "id": "id5", + "code": "code3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id5", + "name": "name5", + "email": "email9", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document9", + "type": "type5", + "fb_access_token": "fb_access_token9", + "address": { + "id": "id1", + "street": "street1", + "number": "number9", + "complement": "complement7", + "zip_code": "zip_code5", + "neighborhood": "neighborhood7", + "city": "city1", + "state": "state7", + "country": "country5", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id1", + "name": "name1", + "email": "email5", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document5", + "type": "type1", + "fb_access_token": "fb_access_token5", + "address": { + "id": "id7", + "street": "street7", + "number": "number5", + "complement": "complement3", + "zip_code": "zip_code1", + "neighborhood": "neighborhood3", + "city": "city7", + "state": "state3", + "country": "country1", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata8" + }, + "line_1": "line_11", + "line_2": "line_25", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata2" + }, + "phones": { + "home_phone": { + "country_code": "country_code3", + "number": "number1", + "area_code": "area_code3" + }, + "mobile_phone": { + "country_code": "country_code3", + "number": "number1", + "area_code": "area_code3" + } + }, + "fb_id": 203, + "code": "code9", + "document_type": "document_type9" + }, + "metadata": { + "key0": "metadata2", + "key1": "metadata3", + "key2": "metadata4" + }, + "line_1": "line_15", + "line_2": "line_29", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata4", + "key1": "metadata3", + "key2": "metadata2" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 153, + "code": "code3", + "document_type": "document_type3" + } + }, + { + "id": "id6", + "code": "code4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id6", + "name": "name6", + "email": "email0", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document0", + "type": "type6", + "fb_access_token": "fb_access_token0", + "address": { + "id": "id2", + "street": "street2", + "number": "number0", + "complement": "complement8", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city2", + "state": "state8", + "country": "country6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id2", + "name": "name2", + "email": "email6", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document6", + "type": "type2", + "fb_access_token": "fb_access_token6", + "address": { + "id": "id8", + "street": "street8", + "number": "number6", + "complement": "complement4", + "zip_code": "zip_code2", + "neighborhood": "neighborhood4", + "city": "city8", + "state": "state4", + "country": "country2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata0" + }, + "line_1": "line_12", + "line_2": "line_26", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata4" + }, + "phones": { + "home_phone": { + "country_code": "country_code4", + "number": "number2", + "area_code": "area_code4" + }, + "mobile_phone": { + "country_code": "country_code4", + "number": "number2", + "area_code": "area_code4" + } + }, + "fb_id": 204, + "code": "code0", + "document_type": "document_type0" + }, + "metadata": { + "key0": "metadata3" + }, + "line_1": "line_16", + "line_2": "line_20", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 154, + "code": "code4", + "document_type": "document_type4" + } + } + ], + "paging": { + "total": 6, + "previous": "previous2", + "next": "next8" + } } ``` diff --git a/doc/models/list-addresses-response.md b/doc/models/list-addresses-response.md index 674fcb7..9238048 100644 --- a/doc/models/list-addresses-response.md +++ b/doc/models/list-addresses-response.md @@ -18,8 +18,203 @@ Response object for listing addresses ```json { - "data": null, - "paging": null + "data": [ + { + "id": "id5", + "street": "street5", + "number": "number3", + "complement": "complement1", + "zip_code": "zip_code9", + "neighborhood": "neighborhood1", + "city": "city5", + "state": "state1", + "country": "country9", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id5", + "name": "name5", + "email": "email9", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document9", + "type": "type5", + "fb_access_token": "fb_access_token9", + "address": { + "id": "id1", + "street": "street1", + "number": "number9", + "complement": "complement7", + "zip_code": "zip_code5", + "neighborhood": "neighborhood7", + "city": "city1", + "state": "state7", + "country": "country5", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id1", + "name": "name1", + "email": "email5", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document5", + "type": "type1", + "fb_access_token": "fb_access_token5", + "address": {}, + "metadata": { + "key0": "metadata2" + }, + "phones": { + "home_phone": { + "country_code": "country_code3", + "number": "number1", + "area_code": "area_code3" + }, + "mobile_phone": { + "country_code": "country_code3", + "number": "number1", + "area_code": "area_code3" + } + }, + "fb_id": 203, + "code": "code9", + "document_type": "document_type9" + }, + "metadata": { + "key0": "metadata2", + "key1": "metadata3", + "key2": "metadata4" + }, + "line_1": "line_15", + "line_2": "line_29", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata4", + "key1": "metadata3", + "key2": "metadata2" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 153, + "code": "code3", + "document_type": "document_type3" + }, + "metadata": { + "key0": "metadata4", + "key1": "metadata3" + }, + "line_1": "line_19", + "line_2": "line_23", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id6", + "street": "street6", + "number": "number4", + "complement": "complement2", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city6", + "state": "state2", + "country": "country0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id6", + "name": "name6", + "email": "email0", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document0", + "type": "type6", + "fb_access_token": "fb_access_token0", + "address": { + "id": "id2", + "street": "street2", + "number": "number0", + "complement": "complement8", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city2", + "state": "state8", + "country": "country6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id2", + "name": "name2", + "email": "email6", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document6", + "type": "type2", + "fb_access_token": "fb_access_token6", + "address": {}, + "metadata": { + "key0": "metadata3", + "key1": "metadata4" + }, + "phones": { + "home_phone": { + "country_code": "country_code4", + "number": "number2", + "area_code": "area_code4" + }, + "mobile_phone": { + "country_code": "country_code4", + "number": "number2", + "area_code": "area_code4" + } + }, + "fb_id": 204, + "code": "code0", + "document_type": "document_type0" + }, + "metadata": { + "key0": "metadata3" + }, + "line_1": "line_16", + "line_2": "line_20", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 154, + "code": "code4", + "document_type": "document_type4" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "line_1": "line_10", + "line_2": "line_24", + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "paging": { + "total": 6, + "previous": "previous2", + "next": "next8" + } } ``` diff --git a/doc/models/list-anticipation-response.md b/doc/models/list-anticipation-response.md index a9e11b0..408c123 100644 --- a/doc/models/list-anticipation-response.md +++ b/doc/models/list-anticipation-response.md @@ -18,8 +18,299 @@ Anticipations ```json { - "data": null, - "paging": null + "data": [ + { + "id": "id5", + "requested_amount": 157, + "approved_amount": 211, + "recipient": { + "id": "id7", + "name": "name7", + "email": "email1", + "document": "document1", + "description": "description7", + "type": "type7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id5", + "holder_name": "holder_name1", + "holder_type": "holder_type7", + "bank": "bank3", + "branch_number": "branch_number1", + "branch_check_digit": "branch_check_digit1", + "account_number": "account_number5", + "account_check_digit": "account_check_digit1", + "type": "type5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id7", + "name": "name7", + "email": "email1", + "document": "document1", + "description": "description7", + "type": "type7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id5", + "holder_name": "holder_name1", + "holder_type": "holder_type7", + "bank": "bank3", + "branch_number": "branch_number1", + "branch_check_digit": "branch_check_digit1", + "account_number": "account_number5", + "account_check_digit": "account_check_digit1", + "type": "type5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata6", + "key1": "metadata7" + }, + "pix_key": "pix_key9" + }, + "gateway_recipients": [ + { + "gateway": "gateway1", + "status": "status3", + "pgid": "pgid7", + "created_at": "created_at9", + "updated_at": "updated_at7" + }, + { + "gateway": "gateway2", + "status": "status4", + "pgid": "pgid8", + "created_at": "created_at0", + "updated_at": "updated_at8" + } + ], + "metadata": { + "key0": "metadata8", + "key1": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type1", + "volume_percentage": 53, + "delay": 87, + "days": [ + 63 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval3", + "transfer_day": 179 + }, + "code": "code5", + "payment_mode": "payment_mode1" + }, + "metadata": { + "key0": "metadata6", + "key1": "metadata7" + }, + "pix_key": "pix_key9" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata2", + "key1": "metadata1" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type1", + "volume_percentage": 239, + "delay": 17, + "days": [ + 249 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval3", + "transfer_day": 109 + }, + "code": "code5", + "payment_mode": "payment_mode1" + }, + "pgid": "pgid1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "payment_date": "2016-03-13T12:52:32.123Z", + "status": "status7", + "timeframe": "timeframe7" + }, + { + "id": "id6", + "requested_amount": 158, + "approved_amount": 212, + "recipient": { + "id": "id8", + "name": "name8", + "email": "email2", + "document": "document2", + "description": "description8", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id8", + "name": "name8", + "email": "email2", + "document": "document2", + "description": "description8", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata7", + "key1": "metadata8", + "key2": "metadata9" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + { + "gateway": "gateway2", + "status": "status4", + "pgid": "pgid8", + "created_at": "created_at0", + "updated_at": "updated_at8" + }, + { + "gateway": "gateway3", + "status": "status5", + "pgid": "pgid9", + "created_at": "created_at1", + "updated_at": "updated_at9" + }, + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + } + ], + "metadata": { + "key0": "metadata9", + "key1": "metadata0", + "key2": "metadata1" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 54, + "delay": 88, + "days": [ + 64, + 65 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 180 + }, + "code": "code6", + "payment_mode": "payment_mode2" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata8", + "key2": "metadata9" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 240, + "delay": 18, + "days": [ + 250, + 251 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 110 + }, + "code": "code6", + "payment_mode": "payment_mode2" + }, + "pgid": "pgid2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "payment_date": "2016-03-13T12:52:32.123Z", + "status": "status8", + "timeframe": "timeframe8" + } + ], + "paging": { + "total": 6, + "previous": "previous2", + "next": "next8" + } } ``` diff --git a/doc/models/list-cards-response.md b/doc/models/list-cards-response.md index a13fcfe..4a0a6b9 100644 --- a/doc/models/list-cards-response.md +++ b/doc/models/list-cards-response.md @@ -18,8 +18,266 @@ Response object for listing cards ```json { - "data": null, - "paging": null + "data": [ + { + "id": "id5", + "last_four_digits": "last_four_digits1", + "brand": "brand9", + "holder_name": "holder_name1", + "exp_month": 125, + "exp_year": 165, + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street7", + "number": "number5", + "zip_code": "zip_code1", + "neighborhood": "neighborhood3", + "city": "city7", + "state": "state3", + "country": "country1", + "complement": "complement3", + "line_1": "line_11", + "line_2": "line_25" + }, + "customer": { + "id": "id5", + "name": "name5", + "email": "email9", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document9", + "type": "type5", + "fb_access_token": "fb_access_token9", + "address": { + "id": "id1", + "street": "street1", + "number": "number9", + "complement": "complement7", + "zip_code": "zip_code5", + "neighborhood": "neighborhood7", + "city": "city1", + "state": "state7", + "country": "country5", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id1", + "name": "name1", + "email": "email5", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document5", + "type": "type1", + "fb_access_token": "fb_access_token5", + "address": { + "id": "id7", + "street": "street7", + "number": "number5", + "complement": "complement3", + "zip_code": "zip_code1", + "neighborhood": "neighborhood3", + "city": "city7", + "state": "state3", + "country": "country1", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata8" + }, + "line_1": "line_11", + "line_2": "line_25", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata2" + }, + "phones": { + "home_phone": { + "country_code": "country_code3", + "number": "number1", + "area_code": "area_code3" + }, + "mobile_phone": { + "country_code": "country_code3", + "number": "number1", + "area_code": "area_code3" + } + }, + "fb_id": 203, + "code": "code9", + "document_type": "document_type9" + }, + "metadata": { + "key0": "metadata2", + "key1": "metadata3", + "key2": "metadata4" + }, + "line_1": "line_15", + "line_2": "line_29", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata4", + "key1": "metadata3", + "key2": "metadata2" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 153, + "code": "code3", + "document_type": "document_type3" + }, + "metadata": { + "key0": "metadata4", + "key1": "metadata3" + }, + "type": "type5", + "holder_document": "holder_document9", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits5", + "label": "label5" + }, + { + "id": "id6", + "last_four_digits": "last_four_digits2", + "brand": "brand0", + "holder_name": "holder_name2", + "exp_month": 126, + "exp_year": 166, + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street8", + "number": "number6", + "zip_code": "zip_code2", + "neighborhood": "neighborhood4", + "city": "city8", + "state": "state4", + "country": "country2", + "complement": "complement4", + "line_1": "line_12", + "line_2": "line_26" + }, + "customer": { + "id": "id6", + "name": "name6", + "email": "email0", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document0", + "type": "type6", + "fb_access_token": "fb_access_token0", + "address": { + "id": "id2", + "street": "street2", + "number": "number0", + "complement": "complement8", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city2", + "state": "state8", + "country": "country6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id2", + "name": "name2", + "email": "email6", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document6", + "type": "type2", + "fb_access_token": "fb_access_token6", + "address": { + "id": "id8", + "street": "street8", + "number": "number6", + "complement": "complement4", + "zip_code": "zip_code2", + "neighborhood": "neighborhood4", + "city": "city8", + "state": "state4", + "country": "country2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata0" + }, + "line_1": "line_12", + "line_2": "line_26", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata4" + }, + "phones": { + "home_phone": { + "country_code": "country_code4", + "number": "number2", + "area_code": "area_code4" + }, + "mobile_phone": { + "country_code": "country_code4", + "number": "number2", + "area_code": "area_code4" + } + }, + "fb_id": 204, + "code": "code0", + "document_type": "document_type0" + }, + "metadata": { + "key0": "metadata3" + }, + "line_1": "line_16", + "line_2": "line_20", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 154, + "code": "code4", + "document_type": "document_type4" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "type": "type6", + "holder_document": "holder_document0", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits6", + "label": "label6" + } + ], + "paging": { + "total": 6, + "previous": "previous2", + "next": "next8" + } } ``` diff --git a/doc/models/list-charge-transactions-response.md b/doc/models/list-charge-transactions-response.md index 00b3af7..e86c663 100644 --- a/doc/models/list-charge-transactions-response.md +++ b/doc/models/list-charge-transactions-response.md @@ -18,8 +18,681 @@ Response object for listing charge transactions ```json { - "data": null, - "paging": null + "data": [ + { + "gateway_id": "gateway_id5", + "amount": 121, + "status": "status7", + "success": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 97, + "max_attempts": 85, + "splits": [ + { + "type": "type7", + "amount": 53, + "recipient": { + "id": "id9", + "name": "name9", + "email": "email7", + "document": "document3", + "description": "description9", + "type": "type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id9", + "name": "name9", + "email": "email7", + "document": "document3", + "description": "description9", + "type": "type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata2", + "key1": "metadata1" + }, + "pix_key": "pix_key1" + }, + "gateway_recipients": [ + { + "gateway": "gateway3", + "status": "status5", + "pgid": "pgid9", + "created_at": "created_at1", + "updated_at": "updated_at9" + }, + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + } + ], + "metadata": { + "key0": "metadata6", + "key1": "metadata5", + "key2": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 241, + "delay": 19, + "days": [ + 251 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 181 + }, + "code": "code7", + "payment_mode": "payment_mode3" + }, + "metadata": { + "key0": "metadata2", + "key1": "metadata1" + }, + "pix_key": "pix_key1" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata6", + "key1": "metadata5", + "key2": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type7", + "volume_percentage": 85, + "delay": 205, + "days": [ + 181 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 251 + }, + "code": "code7", + "payment_mode": "payment_mode3" + }, + "gateway_id": "gateway_id3", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee3" + }, + "id": "id7" + }, + { + "type": "type8", + "amount": 54, + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document4", + "description": "description0", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document4", + "description": "description0", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "pix_key": "pix_key2" + }, + "gateway_recipients": [ + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + }, + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + }, + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + } + ], + "metadata": { + "key0": "metadata7", + "key1": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 242, + "delay": 20, + "days": [ + 252, + 253 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 180 + }, + "code": "code8", + "payment_mode": "payment_mode4" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "pix_key": "pix_key2" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata7", + "key1": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 84, + "delay": 206, + "days": [ + 182, + 183 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 250 + }, + "code": "code8", + "payment_mode": "payment_mode4" + }, + "gateway_id": "gateway_id2", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee4" + }, + "id": "id8" + }, + { + "type": "type9", + "amount": 55, + "recipient": { + "id": "id1", + "name": "name1", + "email": "email5", + "document": "document5", + "description": "description1", + "type": "type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id9", + "holder_name": "holder_name5", + "holder_type": "holder_type1", + "bank": "bank7", + "branch_number": "branch_number5", + "branch_check_digit": "branch_check_digit5", + "account_number": "account_number9", + "account_check_digit": "account_check_digit5", + "type": "type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id1", + "name": "name1", + "email": "email5", + "document": "document5", + "description": "description1", + "type": "type1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id9", + "holder_name": "holder_name5", + "holder_type": "holder_type1", + "bank": "bank7", + "branch_number": "branch_number5", + "branch_check_digit": "branch_check_digit5", + "account_number": "account_number9", + "account_check_digit": "account_check_digit5", + "type": "type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata0" + }, + "pix_key": "pix_key3" + }, + "gateway_recipients": [ + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + } + ], + "metadata": { + "key0": "metadata8" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type5", + "volume_percentage": 243, + "delay": 21, + "days": [ + 253, + 254, + 255 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval3", + "transfer_day": 179 + }, + "code": "code9", + "payment_mode": "payment_mode5" + }, + "metadata": { + "key0": "metadata0" + }, + "pix_key": "pix_key3" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata8" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type5", + "volume_percentage": 83, + "delay": 207, + "days": [ + 183, + 184, + 185 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval3", + "transfer_day": 249 + }, + "code": "code9", + "payment_mode": "payment_mode5" + }, + "gateway_id": "gateway_id1", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee5" + }, + "id": "id9" + } + ], + "next_attempt": "2016-03-13T12:52:32.123Z", + "transaction_type": "transaction", + "id": "id5", + "gateway_response": { + "code": "code5", + "errors": [ + { + "message": "message2" + }, + { + "message": "message3" + }, + { + "message": "message4" + } + ] + }, + "antifraud_response": { + "status": "status5", + "return_code": "return_code3", + "return_message": "return_message1", + "provider_name": "provider_name1", + "score": "score3" + }, + "metadata": { + "key0": "metadata4", + "key1": "metadata3" + }, + "split": [ + {}, + {} + ], + "interest": { + "days": 27, + "type": "type5", + "amount": 101 + }, + "fine": { + "days": 45, + "type": "type7", + "amount": 119 + }, + "max_days_to_pay_past_due": 33 + }, + { + "gateway_id": "gateway_id6", + "amount": 122, + "status": "status8", + "success": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 98, + "max_attempts": 86, + "splits": [ + { + "type": "type8", + "amount": 54, + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document4", + "description": "description0", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document4", + "description": "description0", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "pix_key": "pix_key2" + }, + "gateway_recipients": [ + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + }, + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + }, + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + } + ], + "metadata": { + "key0": "metadata7", + "key1": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 242, + "delay": 20, + "days": [ + 252, + 253 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 180 + }, + "code": "code8", + "payment_mode": "payment_mode4" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "pix_key": "pix_key2" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata7", + "key1": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 84, + "delay": 206, + "days": [ + 182, + 183 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 250 + }, + "code": "code8", + "payment_mode": "payment_mode4" + }, + "gateway_id": "gateway_id2", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee4" + }, + "id": "id8" + } + ], + "next_attempt": "2016-03-13T12:52:32.123Z", + "transaction_type": "transaction", + "id": "id6", + "gateway_response": { + "code": "code6", + "errors": [ + { + "message": "message3" + } + ] + }, + "antifraud_response": { + "status": "status6", + "return_code": "return_code4", + "return_message": "return_message2", + "provider_name": "provider_name2", + "score": "score4" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "split": [ + {}, + {}, + {} + ], + "interest": { + "days": 28, + "type": "type4", + "amount": 102 + }, + "fine": { + "days": 46, + "type": "type8", + "amount": 120 + }, + "max_days_to_pay_past_due": 34 + } + ], + "paging": { + "total": 6, + "previous": "previous2", + "next": "next8" + } } ``` diff --git a/doc/models/list-charges-response.md b/doc/models/list-charges-response.md index 3092891..814c60d 100644 --- a/doc/models/list-charges-response.md +++ b/doc/models/list-charges-response.md @@ -18,8 +18,3076 @@ Response object for listing charges ```json { - "data": null, - "paging": null + "data": [ + { + "id": "id5", + "code": "code3", + "gateway_id": "gateway_id5", + "amount": 121, + "status": "status7", + "currency": "currency5", + "payment_method": "payment_method5", + "due_at": "2016-03-13T12:52:32.123Z", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "last_transaction": { + "gateway_id": "gateway_id7", + "amount": 179, + "status": "status9", + "success": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 155, + "max_attempts": 143, + "splits": [ + { + "type": "type9", + "amount": 111, + "recipient": { + "id": "id1", + "name": "name1", + "email": "email5", + "document": "document5", + "description": "description1", + "type": "type1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id9", + "holder_name": "holder_name5", + "holder_type": "holder_type1", + "bank": "bank7", + "branch_number": "branch_number5", + "branch_check_digit": "branch_check_digit5", + "account_number": "account_number9", + "account_check_digit": "account_check_digit5", + "type": "type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id1", + "name": "name1", + "email": "email5", + "document": "document5", + "description": "description1", + "type": "type1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id9", + "holder_name": "holder_name5", + "holder_type": "holder_type1", + "bank": "bank7", + "branch_number": "branch_number5", + "branch_check_digit": "branch_check_digit5", + "account_number": "account_number9", + "account_check_digit": "account_check_digit5", + "type": "type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata0" + }, + "pix_key": "pix_key3" + }, + "gateway_recipients": [ + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + } + ], + "metadata": { + "key0": "metadata2" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type5", + "volume_percentage": 43, + "delay": 77, + "days": [ + 53, + 54, + 55 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval7", + "transfer_day": 169 + }, + "code": "code9", + "payment_mode": "payment_mode5" + }, + "metadata": { + "key0": "metadata0" + }, + "pix_key": "pix_key3" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata8" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type5", + "volume_percentage": 229, + "delay": 7, + "days": [ + 239, + 240, + 241 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval7", + "transfer_day": 99 + }, + "code": "code9", + "payment_mode": "payment_mode5" + }, + "gateway_id": "gateway_id9", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee5" + }, + "id": "id9" + }, + { + "type": "type0", + "amount": 112, + "recipient": { + "id": "id2", + "name": "name2", + "email": "email6", + "document": "document6", + "description": "description2", + "type": "type2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id2", + "name": "name2", + "email": "email6", + "document": "document6", + "description": "description2", + "type": "type2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata1", + "key1": "metadata2" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + }, + { + "gateway": "gateway7", + "status": "status9", + "pgid": "pgid3", + "created_at": "created_at5", + "updated_at": "updated_at3" + } + ], + "metadata": { + "key0": "metadata3", + "key1": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 44, + "delay": 78, + "days": [ + 54 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval8", + "transfer_day": 170 + }, + "code": "code0", + "payment_mode": "payment_mode6" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata2" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata7", + "key1": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 230, + "delay": 8, + "days": [ + 240 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval8", + "transfer_day": 100 + }, + "code": "code0", + "payment_mode": "payment_mode6" + }, + "gateway_id": "gateway_id0", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee6" + }, + "id": "id0" + } + ], + "next_attempt": "2016-03-13T12:52:32.123Z", + "transaction_type": "transaction", + "id": "id7", + "gateway_response": { + "code": "code7", + "errors": [ + { + "message": "message4" + }, + { + "message": "message5" + } + ] + }, + "antifraud_response": { + "status": "status7", + "return_code": "return_code5", + "return_message": "return_message3", + "provider_name": "provider_name3", + "score": "score5" + }, + "metadata": { + "key0": "metadata8" + }, + "split": [ + {} + ], + "interest": { + "days": 85, + "type": "type7", + "amount": 159 + }, + "fine": { + "days": 103, + "type": "type9", + "amount": 177 + }, + "max_days_to_pay_past_due": 91 + }, + "invoice": { + "id": "id9", + "code": "code7", + "url": "url3", + "amount": 67, + "status": "status1", + "payment_method": "payment_method9", + "created_at": "2016-03-13T12:52:32.123Z", + "items": [ + { + "amount": 126, + "description": "description6", + "pricing_scheme": { + "price": 230, + "scheme_type": "scheme_type8", + "price_brackets": [ + { + "start_quantity": 183, + "price": 121, + "end_quantity": 191, + "overage_price": 205 + }, + { + "start_quantity": 184, + "price": 122, + "end_quantity": 192, + "overage_price": 206 + }, + { + "start_quantity": 185, + "price": 123, + "end_quantity": 193, + "overage_price": 207 + } + ], + "minimum_price": 70, + "percentage": 101.36 + }, + "price_bracket": {}, + "quantity": 240, + "name": "name6", + "subscription_item_id": "subscription_item_id0" + }, + { + "amount": 127, + "description": "description7", + "pricing_scheme": { + "price": 231, + "scheme_type": "scheme_type9", + "price_brackets": [ + { + "start_quantity": 184, + "price": 122, + "end_quantity": 192, + "overage_price": 206 + } + ], + "minimum_price": 71, + "percentage": 101.37 + }, + "price_bracket": {}, + "quantity": 241, + "name": "name7", + "subscription_item_id": "subscription_item_id1" + } + ], + "customer": { + "id": "id9", + "name": "name9", + "email": "email3", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document3", + "type": "type9", + "fb_access_token": "fb_access_token3", + "address": { + "id": "id5", + "street": "street5", + "number": "number3", + "complement": "complement1", + "zip_code": "zip_code9", + "neighborhood": "neighborhood1", + "city": "city5", + "state": "state1", + "country": "country9", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id5", + "name": "name5", + "email": "email9", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document9", + "type": "type5", + "fb_access_token": "fb_access_token9", + "address": { + "id": "id1", + "street": "street1", + "number": "number9", + "complement": "complement7", + "zip_code": "zip_code5", + "neighborhood": "neighborhood7", + "city": "city1", + "state": "state7", + "country": "country5", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata2" + }, + "line_1": "line_15", + "line_2": "line_29", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata6" + }, + "phones": { + "home_phone": { + "country_code": "country_code7", + "number": "number5", + "area_code": "area_code7" + }, + "mobile_phone": { + "country_code": "country_code7", + "number": "number5", + "area_code": "area_code7" + } + }, + "fb_id": 149, + "code": "code3", + "document_type": "document_type3" + }, + "metadata": { + "key0": "metadata6", + "key1": "metadata7", + "key2": "metadata8" + }, + "line_1": "line_19", + "line_2": "line_23", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata0", + "key1": "metadata9", + "key2": "metadata8" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 99, + "code": "code7", + "document_type": "document_type7" + }, + "charge": { + "id": "id1", + "code": "code9", + "gateway_id": "gateway_id9", + "amount": 197, + "status": "status3", + "currency": "currency1", + "payment_method": "payment_method9", + "due_at": "2016-03-13T12:52:32.123Z", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "last_transaction": { + "gateway_id": "gateway_id3", + "amount": 255, + "status": "status5", + "success": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 231, + "max_attempts": 219, + "splits": [ + {} + ], + "next_attempt": "2016-03-13T12:52:32.123Z", + "transaction_type": "transaction", + "id": "id3", + "gateway_response": { + "code": "code3", + "errors": [ + {} + ] + }, + "antifraud_response": { + "status": "status3", + "return_code": "return_code1", + "return_message": "return_message9", + "provider_name": "provider_name9", + "score": "score1" + }, + "metadata": { + "key0": "metadata6", + "key1": "metadata5", + "key2": "metadata4" + }, + "split": [ + {}, + {}, + {} + ], + "interest": { + "days": 161, + "type": "type7", + "amount": 235 + }, + "fine": { + "days": 179, + "type": "type5", + "amount": 253 + }, + "max_days_to_pay_past_due": 167 + }, + "invoice": { + "id": "id5", + "code": "code3", + "url": "url9", + "amount": 143, + "status": "status7", + "payment_method": "payment_method5", + "created_at": "2016-03-13T12:52:32.123Z", + "items": [ + {} + ], + "customer": {}, + "charge": {}, + "installments": 183, + "billing_address": { + "street": "street7", + "number": "number5", + "zip_code": "zip_code1", + "neighborhood": "neighborhood3", + "city": "city3", + "state": "state7", + "country": "country1", + "complement": "complement7", + "line_1": "line_19", + "line_2": "line_25" + }, + "subscription": { + "id": "id9", + "code": "code7", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval7", + "interval_count": 45, + "billing_type": "billing_type7", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id7", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id7", + "code": "code5", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval5", + "interval_count": 61, + "billing_type": "billing_type9", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id5", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status7", + "duration": 45, + "created_at": "created_at3", + "updated_at": "updated_at1", + "cycle": 241 + }, + "payment_method": "payment_method3", + "currency": "currency7", + "installments": 229, + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id9", + "last_four_digits": "last_four_digits5", + "brand": "brand3", + "holder_name": "holder_name5", + "exp_month": 207, + "exp_year": 89, + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street9", + "number": "number3", + "zip_code": "zip_code3", + "neighborhood": "neighborhood5", + "city": "city1", + "state": "state5", + "country": "country3", + "complement": "complement5", + "line_1": "line_17", + "line_2": "line_27" + }, + "customer": {}, + "metadata": { + "key0": "metadata4", + "key1": "metadata5" + }, + "type": "type1", + "holder_document": "holder_document7", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits9", + "label": "label9" + }, + "items": [ + { + "id": "id4", + "description": "description4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id5", + "value": 166.77, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 61, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": { + "id": "id1", + "description": "description1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id2", + "value": 201.84, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 240, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id3", + "value": 201.85, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 241, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 201.86, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 242, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id0", + "value": 57.12, + "increment_type": "increment_type2", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 104, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name1", + "quantity": 29, + "cycles": 49, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {} + ], + "subscription": {}, + "name": "name4", + "quantity": 106, + "cycles": 130, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id5", + "description": "description5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id6", + "value": 166.78, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 62, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": { + "id": "id2", + "description": "description2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id3", + "value": 201.85, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 241, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id1", + "value": 57.13, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 105, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id2", + "value": 57.14, + "increment_type": "increment_type4", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 106, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name2", + "quantity": 30, + "cycles": 50, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id7", + "value": 166.79, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 63, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": { + "id": "id3", + "description": "description3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id4", + "value": 201.86, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 242, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 201.87, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 243, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id2", + "value": 57.14, + "increment_type": "increment_type4", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 106, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id3", + "value": 57.15, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 107, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 57.16, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 108, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name3", + "quantity": 31, + "cycles": 51, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {}, + {} + ], + "subscription": {}, + "name": "name5", + "quantity": 107, + "cycles": 129, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id6", + "description": "description6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id7", + "value": 166.79, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 63, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": { + "id": "id3", + "description": "description3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id4", + "value": 201.86, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 242, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 201.87, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 243, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id2", + "value": 57.14, + "increment_type": "increment_type4", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 106, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id3", + "value": 57.15, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 107, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 57.16, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 108, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name3", + "quantity": 31, + "cycles": 51, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id8", + "value": 166.8, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 64, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": { + "id": "id4", + "description": "description4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id5", + "value": 201.87, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 243, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 201.88, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 244, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id7", + "value": 201.89, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 245, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id3", + "value": 57.15, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 107, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name4", + "quantity": 32, + "cycles": 52, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id9", + "value": 166.81, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 65, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": { + "id": "id5", + "description": "description5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id6", + "value": 201.88, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 244, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id4", + "value": 57.16, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 108, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 57.17, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 109, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name5", + "quantity": 33, + "cycles": 53, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {} + ], + "subscription": {}, + "name": "name6", + "quantity": 108, + "cycles": 128, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor7", + "metadata": { + "key0": "metadata6", + "key1": "metadata7" + }, + "setup": { + "id": "id1", + "description": "description9", + "amount": 253, + "status": "status7" + }, + "gateway_affiliation_id": "gateway_affiliation_id3", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 55, + "minimum_price": 197, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 173, + "split": { + "enabled": true, + "rules": [ + {}, + {}, + {} + ] + }, + "boleto": { + "interest": {}, + "fine": {}, + "max_days_to_pay_past_due": 105 + }, + "manual_billing": true + }, + "status": "status9", + "duration": 29, + "created_at": "created_at5", + "updated_at": "updated_at3", + "cycle": 225 + }, + "payment_method": "payment_method1", + "currency": "currency9", + "installments": 213, + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id7", + "last_four_digits": "last_four_digits3", + "brand": "brand1", + "holder_name": "holder_name7", + "exp_month": 191, + "exp_year": 105, + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": {}, + "customer": {}, + "metadata": { + "key0": "metadata6", + "key1": "metadata7" + }, + "type": "type3", + "holder_document": "holder_document9", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits7", + "label": "label7" + }, + "items": [ + {}, + {}, + {} + ], + "statement_descriptor": "statement_descriptor9", + "metadata": { + "key0": "metadata4", + "key1": "metadata5" + }, + "setup": { + "id": "id3", + "description": "description7", + "amount": 237, + "status": "status5" + }, + "gateway_affiliation_id": "gateway_affiliation_id5", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 71, + "minimum_price": 213, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 157, + "split": { + "enabled": true, + "rules": [ + {}, + {}, + {} + ] + }, + "boleto": { + "interest": {}, + "fine": {}, + "max_days_to_pay_past_due": 89 + }, + "manual_billing": true + }, + "cycle": {}, + "shipping": { + "amount": 241, + "description": "description9", + "recipient_name": "recipient_name7", + "recipient_phone": "recipient_phone1", + "address": {}, + "max_delivery_date": "2016-03-13T12:52:32.123Z", + "estimated_delivery_date": "2016-03-13T12:52:32.123Z", + "type": "type9" + }, + "metadata": { + "key0": "metadata2" + }, + "due_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "billing_at": "2016-03-13T12:52:32.123Z", + "seen_at": "2016-03-13T12:52:32.123Z", + "total_discount": 251, + "total_increment": 67, + "subscription_id": "subscription_id5" + }, + "order": { + "id": "id5", + "code": "code3", + "currency": "currency5", + "items": [ + { + "id": "id2", + "amount": 58, + "description": "description2", + "quantity": 172, + "category": "category0", + "code": "code0" + }, + { + "id": "id3", + "amount": 59, + "description": "description3", + "quantity": 173, + "category": "category1", + "code": "code1" + } + ], + "customer": {}, + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "charges": [ + {}, + {} + ], + "invoice_url": "invoice_url7", + "shipping": { + "amount": 97, + "description": "description9", + "recipient_name": "recipient_name7", + "recipient_phone": "recipient_phone1", + "address": {}, + "max_delivery_date": "2016-03-13T12:52:32.123Z", + "estimated_delivery_date": "2016-03-13T12:52:32.123Z", + "type": "type1" + }, + "metadata": { + "key0": "metadata8", + "key1": "metadata9", + "key2": "metadata0" + }, + "checkouts": [ + { + "id": "id2", + "amount": 8, + "default_payment_method": "default_payment_method2", + "success_url": "success_url4", + "payment_url": "payment_url6", + "gateway_affiliation_id": "gateway_affiliation_id8", + "accepted_payment_methods": [ + "accepted_payment_methods5", + "accepted_payment_methods6", + "accepted_payment_methods7" + ], + "status": "status4", + "skip_checkout_success_page": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "customer_editable": false, + "customer": {}, + "billingaddress": {}, + "credit_card": { + "statementDescriptor": "statementDescriptor6", + "installments": [ + { + "number": "number3", + "total": 221 + } + ], + "authentication": { + "type": "type8", + "threed_secure": { + "mpi": "mpi2", + "eci": "eci0", + "cavv": "cavv6", + "transaction_Id": "transaction_Id4", + "success_url": "success_url2" + } + } + }, + "boleto": { + "due_at": "2016-03-13T12:52:32.123Z", + "instructions": "instructions0" + }, + "billing_address_editable": false, + "shipping": {}, + "shippable": false, + "closed_at": "2016-03-13T12:52:32.123Z", + "expires_at": "2016-03-13T12:52:32.123Z", + "currency": "currency2", + "debit_card": { + "statement_descriptor": "statement_descriptor6", + "authentication": { + "type": "type2", + "threed_secure": { + "mpi": "mpi8", + "eci": "eci4", + "cavv": "cavv0", + "transaction_Id": "transaction_Id0", + "success_url": "success_url6" + } + } + }, + "bank_transfer": { + "bank": [ + "bank7", + "bank8" + ] + }, + "accepted_brands": [ + "accepted_brands8", + "accepted_brands9", + "accepted_brands0" + ], + "pix": { + "expires_at": "2016-03-13T12:52:32.123Z", + "additional_information": [ + { + "Name": "Name9", + "Value": "Value7" + }, + { + "Name": "Name0", + "Value": "Value8" + }, + { + "Name": "Name1", + "Value": "Value9" + } + ] + } + } + ], + "ip": "ip9", + "session_id": "session_id3", + "location": { + "latitude": "latitude7", + "longitude": "longitude3" + }, + "device": { + "platform": "platform5" + }, + "closed": true + }, + "customer": {}, + "metadata": { + "key0": "metadata8" + }, + "paid_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "canceled_amount": 51, + "paid_amount": 33, + "interest_and_fine_paid": 37, + "recurrency_cycle": "recurrency_cycle5" + }, + "installments": 107, + "billing_address": {}, + "subscription": {}, + "cycle": {}, + "shipping": {}, + "metadata": { + "key0": "metadata0", + "key1": "metadata9" + }, + "due_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "billing_at": "2016-03-13T12:52:32.123Z", + "seen_at": "2016-03-13T12:52:32.123Z", + "total_discount": 175, + "total_increment": 247, + "subscription_id": "subscription_id9" + }, + "order": { + "id": "id9", + "code": "code7", + "currency": "currency9", + "items": [ + {}, + {}, + {} + ], + "customer": {}, + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "charges": [ + {} + ], + "invoice_url": "invoice_url1", + "shipping": {}, + "metadata": { + "key0": "metadata6", + "key1": "metadata5" + }, + "checkouts": [ + {}, + {} + ], + "ip": "ip3", + "session_id": "session_id1", + "location": { + "latitude": "latitude7", + "longitude": "longitude7" + }, + "device": { + "platform": "platform9" + }, + "closed": true + }, + "customer": {}, + "metadata": { + "key0": "metadata4", + "key1": "metadata3" + }, + "paid_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "canceled_amount": 231, + "paid_amount": 213, + "interest_and_fine_paid": 217, + "recurrency_cycle": "recurrency_cycle9" + }, + { + "id": "id6", + "code": "code4", + "gateway_id": "gateway_id6", + "amount": 122, + "status": "status8", + "currency": "currency6", + "payment_method": "payment_method6", + "due_at": "2016-03-13T12:52:32.123Z", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "last_transaction": { + "gateway_id": "gateway_id8", + "amount": 180, + "status": "status0", + "success": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 156, + "max_attempts": 144, + "splits": [ + { + "type": "type0", + "amount": 112, + "recipient": { + "id": "id2", + "name": "name2", + "email": "email6", + "document": "document6", + "description": "description2", + "type": "type2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id2", + "name": "name2", + "email": "email6", + "document": "document6", + "description": "description2", + "type": "type2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata1", + "key1": "metadata2" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + }, + { + "gateway": "gateway7", + "status": "status9", + "pgid": "pgid3", + "created_at": "created_at5", + "updated_at": "updated_at3" + } + ], + "metadata": { + "key0": "metadata3", + "key1": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 44, + "delay": 78, + "days": [ + 54 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval8", + "transfer_day": 170 + }, + "code": "code0", + "payment_mode": "payment_mode6" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata2" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata7", + "key1": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 230, + "delay": 8, + "days": [ + 240 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval8", + "transfer_day": 100 + }, + "code": "code0", + "payment_mode": "payment_mode6" + }, + "gateway_id": "gateway_id0", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee6" + }, + "id": "id0" + }, + { + "type": "type1", + "amount": 113, + "recipient": { + "id": "id3", + "name": "name3", + "email": "email7", + "document": "document7", + "description": "description3", + "type": "type3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id1", + "holder_name": "holder_name7", + "holder_type": "holder_type3", + "bank": "bank9", + "branch_number": "branch_number7", + "branch_check_digit": "branch_check_digit7", + "account_number": "account_number1", + "account_check_digit": "account_check_digit7", + "type": "type1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id3", + "name": "name3", + "email": "email7", + "document": "document7", + "description": "description3", + "type": "type3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id1", + "holder_name": "holder_name7", + "holder_type": "holder_type3", + "bank": "bank9", + "branch_number": "branch_number7", + "branch_check_digit": "branch_check_digit7", + "account_number": "account_number1", + "account_check_digit": "account_check_digit7", + "type": "type1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata2", + "key1": "metadata3", + "key2": "metadata4" + }, + "pix_key": "pix_key5" + }, + "gateway_recipients": [ + { + "gateway": "gateway7", + "status": "status9", + "pgid": "pgid3", + "created_at": "created_at5", + "updated_at": "updated_at3" + }, + { + "gateway": "gateway8", + "status": "status0", + "pgid": "pgid4", + "created_at": "created_at6", + "updated_at": "updated_at4" + }, + { + "gateway": "gateway9", + "status": "status1", + "pgid": "pgid5", + "created_at": "created_at7", + "updated_at": "updated_at5" + } + ], + "metadata": { + "key0": "metadata4", + "key1": "metadata5", + "key2": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type7", + "volume_percentage": 45, + "delay": 79, + "days": [ + 55, + 56 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval9", + "transfer_day": 171 + }, + "code": "code1", + "payment_mode": "payment_mode7" + }, + "metadata": { + "key0": "metadata2", + "key1": "metadata3", + "key2": "metadata4" + }, + "pix_key": "pix_key5" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata6", + "key1": "metadata5", + "key2": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type7", + "volume_percentage": 231, + "delay": 9, + "days": [ + 241, + 242 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval9", + "transfer_day": 101 + }, + "code": "code1", + "payment_mode": "payment_mode7" + }, + "gateway_id": "gateway_id1", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee7" + }, + "id": "id1" + }, + { + "type": "type2", + "amount": 114, + "recipient": { + "id": "id4", + "name": "name4", + "email": "email8", + "document": "document8", + "description": "description4", + "type": "type4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id4", + "name": "name4", + "email": "email8", + "document": "document8", + "description": "description4", + "type": "type4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata3" + }, + "pix_key": "pix_key6" + }, + "gateway_recipients": [ + { + "gateway": "gateway8", + "status": "status0", + "pgid": "pgid4", + "created_at": "created_at6", + "updated_at": "updated_at4" + } + ], + "metadata": { + "key0": "metadata5" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 46, + "delay": 80, + "days": [ + 56, + 57, + 58 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 172 + }, + "code": "code2", + "payment_mode": "payment_mode8" + }, + "metadata": { + "key0": "metadata3" + }, + "pix_key": "pix_key6" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata5" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 232, + "delay": 10, + "days": [ + 242, + 243, + 244 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 102 + }, + "code": "code2", + "payment_mode": "payment_mode8" + }, + "gateway_id": "gateway_id2", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee8" + }, + "id": "id2" + } + ], + "next_attempt": "2016-03-13T12:52:32.123Z", + "transaction_type": "transaction", + "id": "id8", + "gateway_response": { + "code": "code8", + "errors": [ + { + "message": "message5" + }, + { + "message": "message6" + }, + { + "message": "message7" + } + ] + }, + "antifraud_response": { + "status": "status8", + "return_code": "return_code6", + "return_message": "return_message4", + "provider_name": "provider_name4", + "score": "score6" + }, + "metadata": { + "key0": "metadata9", + "key1": "metadata0" + }, + "split": [ + {}, + {} + ], + "interest": { + "days": 86, + "type": "type8", + "amount": 160 + }, + "fine": { + "days": 104, + "type": "type0", + "amount": 178 + }, + "max_days_to_pay_past_due": 92 + }, + "invoice": { + "id": "id0", + "code": "code8", + "url": "url4", + "amount": 68, + "status": "status2", + "payment_method": "payment_method0", + "created_at": "2016-03-13T12:52:32.123Z", + "items": [ + { + "amount": 127, + "description": "description7", + "pricing_scheme": { + "price": 231, + "scheme_type": "scheme_type9", + "price_brackets": [ + { + "start_quantity": 184, + "price": 122, + "end_quantity": 192, + "overage_price": 206 + } + ], + "minimum_price": 71, + "percentage": 101.37 + }, + "price_bracket": {}, + "quantity": 241, + "name": "name7", + "subscription_item_id": "subscription_item_id1" + }, + { + "amount": 128, + "description": "description8", + "pricing_scheme": { + "price": 232, + "scheme_type": "scheme_type0", + "price_brackets": [ + { + "start_quantity": 185, + "price": 123, + "end_quantity": 193, + "overage_price": 207 + }, + { + "start_quantity": 186, + "price": 124, + "end_quantity": 194, + "overage_price": 208 + } + ], + "minimum_price": 72, + "percentage": 101.38 + }, + "price_bracket": {}, + "quantity": 242, + "name": "name8", + "subscription_item_id": "subscription_item_id2" + }, + { + "amount": 129, + "description": "description9", + "pricing_scheme": { + "price": 233, + "scheme_type": "scheme_type1", + "price_brackets": [ + { + "start_quantity": 186, + "price": 124, + "end_quantity": 194, + "overage_price": 208 + }, + { + "start_quantity": 187, + "price": 125, + "end_quantity": 195, + "overage_price": 209 + }, + { + "start_quantity": 188, + "price": 126, + "end_quantity": 196, + "overage_price": 210 + } + ], + "minimum_price": 73, + "percentage": 101.39 + }, + "price_bracket": {}, + "quantity": 243, + "name": "name9", + "subscription_item_id": "subscription_item_id3" + } + ], + "customer": { + "id": "id0", + "name": "name0", + "email": "email4", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document4", + "type": "type0", + "fb_access_token": "fb_access_token4", + "address": { + "id": "id6", + "street": "street6", + "number": "number4", + "complement": "complement2", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city6", + "state": "state2", + "country": "country0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id6", + "name": "name6", + "email": "email0", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document0", + "type": "type6", + "fb_access_token": "fb_access_token0", + "address": { + "id": "id2", + "street": "street2", + "number": "number0", + "complement": "complement8", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city2", + "state": "state8", + "country": "country6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata3", + "key1": "metadata4" + }, + "line_1": "line_16", + "line_2": "line_20", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata8" + }, + "phones": { + "home_phone": { + "country_code": "country_code8", + "number": "number6", + "area_code": "area_code8" + }, + "mobile_phone": { + "country_code": "country_code8", + "number": "number6", + "area_code": "area_code8" + } + }, + "fb_id": 150, + "code": "code4", + "document_type": "document_type4" + }, + "metadata": { + "key0": "metadata7" + }, + "line_1": "line_10", + "line_2": "line_24", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata9" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 100, + "code": "code8", + "document_type": "document_type8" + }, + "charge": { + "id": "id2", + "code": "code0", + "gateway_id": "gateway_id8", + "amount": 198, + "status": "status4", + "currency": "currency2", + "payment_method": "payment_method8", + "due_at": "2016-03-13T12:52:32.123Z", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "last_transaction": { + "gateway_id": "gateway_id4", + "amount": 0, + "status": "status6", + "success": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 232, + "max_attempts": 220, + "splits": [ + {}, + {} + ], + "next_attempt": "2016-03-13T12:52:32.123Z", + "transaction_type": "transaction", + "id": "id4", + "gateway_response": { + "code": "code4", + "errors": [ + {}, + {} + ] + }, + "antifraud_response": { + "status": "status4", + "return_code": "return_code2", + "return_message": "return_message0", + "provider_name": "provider_name0", + "score": "score2" + }, + "metadata": { + "key0": "metadata5" + }, + "split": [ + {} + ], + "interest": { + "days": 162, + "type": "type6", + "amount": 236 + }, + "fine": { + "days": 180, + "type": "type6", + "amount": 254 + }, + "max_days_to_pay_past_due": 168 + }, + "invoice": { + "id": "id6", + "code": "code4", + "url": "url0", + "amount": 144, + "status": "status8", + "payment_method": "payment_method4", + "created_at": "2016-03-13T12:52:32.123Z", + "items": [ + {}, + {} + ], + "customer": {}, + "charge": {}, + "installments": 184, + "billing_address": { + "street": "street8", + "number": "number4", + "zip_code": "zip_code2", + "neighborhood": "neighborhood4", + "city": "city2", + "state": "state6", + "country": "country2", + "complement": "complement6", + "line_1": "line_18", + "line_2": "line_26" + }, + "subscription": { + "id": "id8", + "code": "code6", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval6", + "interval_count": 44, + "billing_type": "billing_type8", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id6", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id8", + "code": "code6", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval6", + "interval_count": 62, + "billing_type": "billing_type8", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id6", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status8", + "duration": 46, + "created_at": "created_at4", + "updated_at": "updated_at2", + "cycle": 242 + }, + "payment_method": "payment_method2", + "currency": "currency8", + "installments": 230, + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id8", + "last_four_digits": "last_four_digits4", + "brand": "brand2", + "holder_name": "holder_name4", + "exp_month": 208, + "exp_year": 88, + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street0", + "number": "number2", + "zip_code": "zip_code4", + "neighborhood": "neighborhood6", + "city": "city0", + "state": "state4", + "country": "country4", + "complement": "complement4", + "line_1": "line_16", + "line_2": "line_28" + }, + "customer": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata6", + "key2": "metadata7" + }, + "type": "type2", + "holder_document": "holder_document8", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits8", + "label": "label8" + }, + "items": [ + { + "id": "id5", + "description": "description5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id6", + "value": 166.78, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 62, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": { + "id": "id2", + "description": "description2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id3", + "value": 201.85, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 241, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id1", + "value": 57.13, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 105, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id2", + "value": 57.14, + "increment_type": "increment_type4", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 106, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name2", + "quantity": 30, + "cycles": 50, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id7", + "value": 166.79, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 63, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": { + "id": "id3", + "description": "description3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id4", + "value": 201.86, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 242, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 201.87, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 243, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id2", + "value": 57.14, + "increment_type": "increment_type4", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 106, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id3", + "value": 57.15, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 107, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 57.16, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 108, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name3", + "quantity": 31, + "cycles": 51, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {}, + {} + ], + "subscription": {}, + "name": "name5", + "quantity": 107, + "cycles": 129, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor8", + "metadata": { + "key0": "metadata5" + }, + "setup": { + "id": "id2", + "description": "description8", + "amount": 254, + "status": "status6" + }, + "gateway_affiliation_id": "gateway_affiliation_id4", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 54, + "minimum_price": 196, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {} + ], + "increments": [ + {}, + {} + ], + "boleto_due_days": 174, + "split": { + "enabled": false, + "rules": [ + {} + ] + }, + "boleto": { + "interest": {}, + "fine": {}, + "max_days_to_pay_past_due": 106 + }, + "manual_billing": false + }, + "status": "status8", + "duration": 28, + "created_at": "created_at4", + "updated_at": "updated_at2", + "cycle": 224 + }, + "payment_method": "payment_method2", + "currency": "currency8", + "installments": 212, + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id8", + "last_four_digits": "last_four_digits4", + "brand": "brand2", + "holder_name": "holder_name6", + "exp_month": 190, + "exp_year": 106, + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": {}, + "customer": {}, + "metadata": { + "key0": "metadata5" + }, + "type": "type2", + "holder_document": "holder_document8", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits8", + "label": "label8" + }, + "items": [ + {}, + {} + ], + "statement_descriptor": "statement_descriptor8", + "metadata": { + "key0": "metadata5", + "key1": "metadata6", + "key2": "metadata7" + }, + "setup": { + "id": "id2", + "description": "description8", + "amount": 236, + "status": "status6" + }, + "gateway_affiliation_id": "gateway_affiliation_id4", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 72, + "minimum_price": 214, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + {} + ], + "boleto_due_days": 156, + "split": { + "enabled": false, + "rules": [ + {}, + {} + ] + }, + "boleto": { + "interest": {}, + "fine": {}, + "max_days_to_pay_past_due": 88 + }, + "manual_billing": false + }, + "cycle": {}, + "shipping": { + "amount": 242, + "description": "description0", + "recipient_name": "recipient_name8", + "recipient_phone": "recipient_phone2", + "address": {}, + "max_delivery_date": "2016-03-13T12:52:32.123Z", + "estimated_delivery_date": "2016-03-13T12:52:32.123Z", + "type": "type0" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "due_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "billing_at": "2016-03-13T12:52:32.123Z", + "seen_at": "2016-03-13T12:52:32.123Z", + "total_discount": 252, + "total_increment": 68, + "subscription_id": "subscription_id6" + }, + "order": { + "id": "id4", + "code": "code2", + "currency": "currency6", + "items": [ + { + "id": "id1", + "amount": 57, + "description": "description1", + "quantity": 171, + "category": "category9", + "code": "code9" + } + ], + "customer": {}, + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "charges": [ + {}, + {}, + {} + ], + "invoice_url": "invoice_url6", + "shipping": { + "amount": 96, + "description": "description8", + "recipient_name": "recipient_name6", + "recipient_phone": "recipient_phone0", + "address": {}, + "max_delivery_date": "2016-03-13T12:52:32.123Z", + "estimated_delivery_date": "2016-03-13T12:52:32.123Z", + "type": "type2" + }, + "metadata": { + "key0": "metadata9" + }, + "checkouts": [ + { + "id": "id1", + "amount": 7, + "default_payment_method": "default_payment_method1", + "success_url": "success_url3", + "payment_url": "payment_url5", + "gateway_affiliation_id": "gateway_affiliation_id7", + "accepted_payment_methods": [ + "accepted_payment_methods4", + "accepted_payment_methods5" + ], + "status": "status3", + "skip_checkout_success_page": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "customer_editable": true, + "customer": {}, + "billingaddress": {}, + "credit_card": { + "statementDescriptor": "statementDescriptor5", + "installments": [ + { + "number": "number2", + "total": 220 + }, + { + "number": "number3", + "total": 221 + }, + { + "number": "number4", + "total": 222 + } + ], + "authentication": { + "type": "type9", + "threed_secure": { + "mpi": "mpi3", + "eci": "eci9", + "cavv": "cavv5", + "transaction_Id": "transaction_Id5", + "success_url": "success_url1" + } + } + }, + "boleto": { + "due_at": "2016-03-13T12:52:32.123Z", + "instructions": "instructions9" + }, + "billing_address_editable": true, + "shipping": {}, + "shippable": true, + "closed_at": "2016-03-13T12:52:32.123Z", + "expires_at": "2016-03-13T12:52:32.123Z", + "currency": "currency1", + "debit_card": { + "statement_descriptor": "statement_descriptor5", + "authentication": { + "type": "type3", + "threed_secure": { + "mpi": "mpi7", + "eci": "eci5", + "cavv": "cavv9", + "transaction_Id": "transaction_Id9", + "success_url": "success_url7" + } + } + }, + "bank_transfer": { + "bank": [ + "bank8", + "bank9", + "bank0" + ] + }, + "accepted_brands": [ + "accepted_brands7", + "accepted_brands8" + ], + "pix": { + "expires_at": "2016-03-13T12:52:32.123Z", + "additional_information": [ + { + "Name": "Name8", + "Value": "Value6" + }, + { + "Name": "Name9", + "Value": "Value7" + } + ] + } + }, + { + "id": "id2", + "amount": 8, + "default_payment_method": "default_payment_method2", + "success_url": "success_url4", + "payment_url": "payment_url6", + "gateway_affiliation_id": "gateway_affiliation_id8", + "accepted_payment_methods": [ + "accepted_payment_methods5", + "accepted_payment_methods6", + "accepted_payment_methods7" + ], + "status": "status4", + "skip_checkout_success_page": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "customer_editable": false, + "customer": {}, + "billingaddress": {}, + "credit_card": { + "statementDescriptor": "statementDescriptor6", + "installments": [ + { + "number": "number3", + "total": 221 + } + ], + "authentication": { + "type": "type8", + "threed_secure": { + "mpi": "mpi2", + "eci": "eci0", + "cavv": "cavv6", + "transaction_Id": "transaction_Id4", + "success_url": "success_url2" + } + } + }, + "boleto": { + "due_at": "2016-03-13T12:52:32.123Z", + "instructions": "instructions0" + }, + "billing_address_editable": false, + "shipping": {}, + "shippable": false, + "closed_at": "2016-03-13T12:52:32.123Z", + "expires_at": "2016-03-13T12:52:32.123Z", + "currency": "currency2", + "debit_card": { + "statement_descriptor": "statement_descriptor6", + "authentication": { + "type": "type2", + "threed_secure": { + "mpi": "mpi8", + "eci": "eci4", + "cavv": "cavv0", + "transaction_Id": "transaction_Id0", + "success_url": "success_url6" + } + } + }, + "bank_transfer": { + "bank": [ + "bank7", + "bank8" + ] + }, + "accepted_brands": [ + "accepted_brands8", + "accepted_brands9", + "accepted_brands0" + ], + "pix": { + "expires_at": "2016-03-13T12:52:32.123Z", + "additional_information": [ + { + "Name": "Name9", + "Value": "Value7" + }, + { + "Name": "Name0", + "Value": "Value8" + }, + { + "Name": "Name1", + "Value": "Value9" + } + ] + } + }, + { + "id": "id3", + "amount": 9, + "default_payment_method": "default_payment_method3", + "success_url": "success_url5", + "payment_url": "payment_url7", + "gateway_affiliation_id": "gateway_affiliation_id9", + "accepted_payment_methods": [ + "accepted_payment_methods6" + ], + "status": "status5", + "skip_checkout_success_page": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "customer_editable": true, + "customer": {}, + "billingaddress": {}, + "credit_card": { + "statementDescriptor": "statementDescriptor7", + "installments": [ + { + "number": "number4", + "total": 222 + }, + { + "number": "number5", + "total": 223 + } + ], + "authentication": { + "type": "type7", + "threed_secure": { + "mpi": "mpi1", + "eci": "eci1", + "cavv": "cavv7", + "transaction_Id": "transaction_Id3", + "success_url": "success_url3" + } + } + }, + "boleto": { + "due_at": "2016-03-13T12:52:32.123Z", + "instructions": "instructions1" + }, + "billing_address_editable": true, + "shipping": {}, + "shippable": true, + "closed_at": "2016-03-13T12:52:32.123Z", + "expires_at": "2016-03-13T12:52:32.123Z", + "currency": "currency3", + "debit_card": { + "statement_descriptor": "statement_descriptor7", + "authentication": { + "type": "type1", + "threed_secure": { + "mpi": "mpi9", + "eci": "eci3", + "cavv": "cavv1", + "transaction_Id": "transaction_Id1", + "success_url": "success_url5" + } + } + }, + "bank_transfer": { + "bank": [ + "bank6" + ] + }, + "accepted_brands": [ + "accepted_brands9" + ], + "pix": { + "expires_at": "2016-03-13T12:52:32.123Z", + "additional_information": [ + { + "Name": "Name0", + "Value": "Value8" + } + ] + } + } + ], + "ip": "ip8", + "session_id": "session_id4", + "location": { + "latitude": "latitude8", + "longitude": "longitude2" + }, + "device": { + "platform": "platform6" + }, + "closed": false + }, + "customer": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata8", + "key2": "metadata7" + }, + "paid_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "canceled_amount": 52, + "paid_amount": 34, + "interest_and_fine_paid": 38, + "recurrency_cycle": "recurrency_cycle6" + }, + "installments": 108, + "billing_address": {}, + "subscription": {}, + "cycle": {}, + "shipping": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata8", + "key2": "metadata7" + }, + "due_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "billing_at": "2016-03-13T12:52:32.123Z", + "seen_at": "2016-03-13T12:52:32.123Z", + "total_discount": 176, + "total_increment": 248, + "subscription_id": "subscription_id0" + }, + "order": { + "id": "id0", + "code": "code8", + "currency": "currency0", + "items": [ + {} + ], + "customer": {}, + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "charges": [ + {}, + {} + ], + "invoice_url": "invoice_url2", + "shipping": {}, + "metadata": { + "key0": "metadata7" + }, + "checkouts": [ + {}, + {}, + {} + ], + "ip": "ip4", + "session_id": "session_id2", + "location": { + "latitude": "latitude8", + "longitude": "longitude8" + }, + "device": { + "platform": "platform0" + }, + "closed": false + }, + "customer": {}, + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "paid_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "canceled_amount": 232, + "paid_amount": 214, + "interest_and_fine_paid": 218, + "recurrency_cycle": "recurrency_cycle0" + } + ], + "paging": { + "total": 6, + "previous": "previous2", + "next": "next8" + } } ``` diff --git a/doc/models/list-customers-response.md b/doc/models/list-customers-response.md index 4b36a5d..96ec8e1 100644 --- a/doc/models/list-customers-response.md +++ b/doc/models/list-customers-response.md @@ -18,8 +18,205 @@ Response for listing the customers ```json { - "data": null, - "paging": null + "data": [ + { + "id": "id5", + "name": "name5", + "email": "email9", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document9", + "type": "type5", + "fb_access_token": "fb_access_token9", + "address": { + "id": "id1", + "street": "street1", + "number": "number9", + "complement": "complement7", + "zip_code": "zip_code5", + "neighborhood": "neighborhood7", + "city": "city1", + "state": "state7", + "country": "country5", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id1", + "name": "name1", + "email": "email5", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document5", + "type": "type1", + "fb_access_token": "fb_access_token5", + "address": { + "id": "id7", + "street": "street7", + "number": "number5", + "complement": "complement3", + "zip_code": "zip_code1", + "neighborhood": "neighborhood3", + "city": "city7", + "state": "state3", + "country": "country1", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata8", + "key1": "metadata9", + "key2": "metadata0" + }, + "line_1": "line_11", + "line_2": "line_25", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata2", + "key1": "metadata3", + "key2": "metadata4" + }, + "phones": { + "home_phone": { + "country_code": "country_code3", + "number": "number1", + "area_code": "area_code3" + }, + "mobile_phone": { + "country_code": "country_code3", + "number": "number1", + "area_code": "area_code3" + } + }, + "fb_id": 169, + "code": "code9", + "document_type": "document_type9" + }, + "metadata": { + "key0": "metadata2", + "key1": "metadata3" + }, + "line_1": "line_15", + "line_2": "line_29", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata4", + "key1": "metadata3" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 119, + "code": "code3", + "document_type": "document_type3" + }, + { + "id": "id6", + "name": "name6", + "email": "email0", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document0", + "type": "type6", + "fb_access_token": "fb_access_token0", + "address": { + "id": "id2", + "street": "street2", + "number": "number0", + "complement": "complement8", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city2", + "state": "state8", + "country": "country6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id2", + "name": "name2", + "email": "email6", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document6", + "type": "type2", + "fb_access_token": "fb_access_token6", + "address": { + "id": "id8", + "street": "street8", + "number": "number6", + "complement": "complement4", + "zip_code": "zip_code2", + "neighborhood": "neighborhood4", + "city": "city8", + "state": "state4", + "country": "country2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata9" + }, + "line_1": "line_12", + "line_2": "line_26", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3" + }, + "phones": { + "home_phone": { + "country_code": "country_code4", + "number": "number2", + "area_code": "area_code4" + }, + "mobile_phone": { + "country_code": "country_code4", + "number": "number2", + "area_code": "area_code4" + } + }, + "fb_id": 170, + "code": "code0", + "document_type": "document_type0" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata4", + "key2": "metadata5" + }, + "line_1": "line_16", + "line_2": "line_20", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 120, + "code": "code4", + "document_type": "document_type4" + } + ], + "paging": { + "total": 6, + "previous": "previous2", + "next": "next8" + } } ``` diff --git a/doc/models/list-cycles-response.md b/doc/models/list-cycles-response.md index 1cf5556..94589c0 100644 --- a/doc/models/list-cycles-response.md +++ b/doc/models/list-cycles-response.md @@ -18,8 +18,2012 @@ Response object for listing subscription cycles ```json { - "data": null, - "paging": null + "data": [ + { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id5", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id1", + "code": "code9", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval9", + "interval_count": 97, + "billing_type": "billing_type5", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id9", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id5", + "code": "code3", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval7", + "interval_count": 9, + "billing_type": "billing_type1", + "current_cycle": {}, + "payment_method": "payment_method5", + "currency": "currency5", + "installments": 177, + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id5", + "name": "name5", + "email": "email1", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document1", + "type": "type5", + "fb_access_token": "fb_access_token9", + "address": { + "id": "id1", + "street": "street1", + "number": "number9", + "complement": "complement7", + "zip_code": "zip_code5", + "neighborhood": "neighborhood7", + "city": "city1", + "state": "state7", + "country": "country5", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id1", + "name": "name1", + "email": "email5", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document5", + "type": "type9", + "fb_access_token": "fb_access_token5", + "address": { + "id": "id7", + "street": "street7", + "number": "number5", + "complement": "complement3", + "zip_code": "zip_code1", + "neighborhood": "neighborhood3", + "city": "city7", + "state": "state3", + "country": "country1", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata2", + "key1": "metadata1", + "key2": "metadata0" + }, + "line_1": "line_11", + "line_2": "line_25", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata2", + "key1": "metadata3" + }, + "phones": { + "home_phone": { + "country_code": "country_code3", + "number": "number1", + "area_code": "area_code3" + }, + "mobile_phone": { + "country_code": "country_code7", + "number": "number9", + "area_code": "area_code3" + } + }, + "fb_id": 41, + "code": "code9", + "document_type": "document_type9" + }, + "metadata": { + "key0": "metadata8", + "key1": "metadata7", + "key2": "metadata6" + }, + "line_1": "line_15", + "line_2": "line_29", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata8", + "key1": "metadata9", + "key2": "metadata0" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 247, + "code": "code3", + "document_type": "document_type3" + }, + "card": { + "id": "id1", + "last_four_digits": "last_four_digits7", + "brand": "brand5", + "holder_name": "holder_name7", + "exp_month": 155, + "exp_year": 141, + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street7", + "number": "number5", + "zip_code": "zip_code1", + "neighborhood": "neighborhood3", + "city": "city3", + "state": "state7", + "country": "country1", + "complement": "complement7", + "line_1": "line_19", + "line_2": "line_25" + }, + "customer": {}, + "metadata": { + "key0": "metadata2", + "key1": "metadata3", + "key2": "metadata4" + }, + "type": "type9", + "holder_document": "holder_document5", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits1", + "label": "label1" + }, + "items": [ + { + "id": "id2", + "description": "description2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 76, + "scheme_type": "scheme_type6", + "price_brackets": [ + { + "start_quantity": 133, + "price": 185, + "end_quantity": 141, + "overage_price": 155 + } + ], + "minimum_price": 236, + "percentage": 198.14 + }, + "discounts": [ + { + "id": "id3", + "value": 63.85, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 9, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": { + "id": "id9", + "description": "description9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 33, + "scheme_type": "scheme_type1", + "price_brackets": [ + {} + ], + "minimum_price": 193, + "percentage": 101.29 + }, + "discounts": [ + { + "id": "id0", + "value": 98.92, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 188, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id8", + "value": 210.2, + "increment_type": "increment_type0", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 204, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id9", + "value": 210.21, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 203, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name9", + "quantity": 233, + "cycles": 253, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id4", + "value": 63.86, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 10, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": { + "id": "id0", + "description": "description0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 32, + "scheme_type": "scheme_type2", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 192, + "percentage": 101.3 + }, + "discounts": [ + { + "id": "id1", + "value": 98.93, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 189, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id2", + "value": 98.94, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 190, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id9", + "value": 210.21, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 203, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id0", + "value": 210.22, + "increment_type": "increment_type2", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 202, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id1", + "value": 210.23, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 201, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name0", + "quantity": 234, + "cycles": 254, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {}, + {} + ], + "subscription": {}, + "name": "name2", + "quantity": 54, + "cycles": 182, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor5", + "metadata": { + "key0": "metadata8" + }, + "setup": { + "id": "id9", + "description": "description1", + "amount": 55, + "status": "status9" + }, + "gateway_affiliation_id": "gateway_affiliation_id1", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 107, + "minimum_price": 249, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {} + ], + "increments": [ + {}, + {} + ], + "boleto_due_days": 121, + "split": { + "enabled": true, + "rules": [ + { + "type": "type5", + "amount": 175, + "recipient": { + "id": "id3", + "name": "name3", + "email": "email3", + "document": "document3", + "description": "description7", + "type": "type7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id1", + "holder_name": "holder_name7", + "holder_type": "holder_type3", + "bank": "bank9", + "branch_number": "branch_number7", + "branch_check_digit": "branch_check_digit7", + "account_number": "account_number1", + "account_check_digit": "account_check_digit7", + "type": "type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id3", + "name": "name3", + "email": "email3", + "document": "document7", + "description": "description3", + "type": "type7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id1", + "holder_name": "holder_name7", + "holder_type": "holder_type3", + "bank": "bank9", + "branch_number": "branch_number7", + "branch_check_digit": "branch_check_digit7", + "account_number": "account_number1", + "account_check_digit": "account_check_digit7", + "type": "type1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata8", + "key1": "metadata7" + }, + "pix_key": "pix_key5" + }, + "gateway_recipients": [ + { + "gateway": "gateway7", + "status": "status9", + "pgid": "pgid3", + "created_at": "created_at5", + "updated_at": "updated_at3" + }, + { + "gateway": "gateway8", + "status": "status0", + "pgid": "pgid4", + "created_at": "created_at6", + "updated_at": "updated_at4" + } + ], + "metadata": { + "key0": "metadata0", + "key1": "metadata1", + "key2": "metadata2" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 73, + "delay": 217, + "days": [ + 193 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval1", + "transfer_day": 239 + }, + "code": "code1", + "payment_mode": "payment_mode7" + }, + "metadata": { + "key0": "metadata8", + "key1": "metadata7", + "key2": "metadata6" + }, + "pix_key": "pix_key5" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata0", + "key1": "metadata1", + "key2": "metadata2" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 143, + "delay": 147, + "days": [ + 123 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval1", + "transfer_day": 53 + }, + "code": "code1", + "payment_mode": "payment_mode3" + }, + "gateway_id": "gateway_id5", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee5" + }, + "id": "id5" + } + ] + }, + "boleto": { + "interest": { + "days": 87, + "type": "type5", + "amount": 161 + }, + "fine": { + "days": 69, + "type": "type7", + "amount": 113 + }, + "max_days_to_pay_past_due": 191 + }, + "manual_billing": true + }, + "status": "status1", + "duration": 81, + "created_at": "created_at7", + "updated_at": "updated_at5", + "cycle": 21 + }, + "payment_method": "payment_method9", + "currency": "currency1", + "installments": 9, + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id5", + "last_four_digits": "last_four_digits1", + "brand": "brand9", + "holder_name": "holder_name1", + "exp_month": 97, + "exp_year": 199, + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street3", + "number": "number9", + "zip_code": "zip_code7", + "neighborhood": "neighborhood9", + "city": "city7", + "state": "state1", + "country": "country7", + "complement": "complement1", + "line_1": "line_13", + "line_2": "line_21" + }, + "customer": {}, + "metadata": { + "key0": "metadata8", + "key1": "metadata9" + }, + "type": "type5", + "holder_document": "holder_document1", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits5", + "label": "label5" + }, + "items": [ + {}, + {} + ], + "statement_descriptor": "statement_descriptor1", + "metadata": { + "key0": "metadata2", + "key1": "metadata3", + "key2": "metadata4" + }, + "setup": { + "id": "id5", + "description": "description5", + "amount": 33, + "status": "status7" + }, + "gateway_affiliation_id": "gateway_affiliation_id7", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 237, + "minimum_price": 161, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + {} + ], + "boleto_due_days": 209, + "split": { + "enabled": true, + "rules": [ + {}, + {} + ] + }, + "boleto": { + "interest": { + "days": 137, + "type": "type1", + "amount": 211 + }, + "fine": { + "days": 153, + "type": "type7", + "amount": 227 + }, + "max_days_to_pay_past_due": 141 + }, + "manual_billing": true + }, + "status": "status7", + "duration": 23, + "created_at": "created_at3", + "updated_at": "updated_at1", + "cycle": 219 + }, + { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id6", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id2", + "code": "code0", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval0", + "interval_count": 98, + "billing_type": "billing_type4", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id0", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id4", + "code": "code2", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval8", + "interval_count": 8, + "billing_type": "billing_type2", + "current_cycle": {}, + "payment_method": "payment_method6", + "currency": "currency4", + "installments": 176, + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id6", + "name": "name6", + "email": "email0", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document0", + "type": "type4", + "fb_access_token": "fb_access_token0", + "address": { + "id": "id2", + "street": "street2", + "number": "number0", + "complement": "complement8", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city2", + "state": "state8", + "country": "country6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id2", + "name": "name2", + "email": "email4", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document6", + "type": "type8", + "fb_access_token": "fb_access_token6", + "address": { + "id": "id8", + "street": "street8", + "number": "number6", + "complement": "complement4", + "zip_code": "zip_code2", + "neighborhood": "neighborhood4", + "city": "city8", + "state": "state4", + "country": "country2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata1" + }, + "line_1": "line_12", + "line_2": "line_26", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata1" + }, + "phones": { + "home_phone": { + "country_code": "country_code4", + "number": "number2", + "area_code": "area_code4" + }, + "mobile_phone": { + "country_code": "country_code6", + "number": "number8", + "area_code": "area_code4" + } + }, + "fb_id": 42, + "code": "code0", + "document_type": "document_type0" + }, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "line_1": "line_14", + "line_2": "line_20", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata8" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 248, + "code": "code4", + "document_type": "document_type4" + }, + "card": { + "id": "id2", + "last_four_digits": "last_four_digits8", + "brand": "brand6", + "holder_name": "holder_name8", + "exp_month": 154, + "exp_year": 142, + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street6", + "number": "number6", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city4", + "state": "state8", + "country": "country0", + "complement": "complement8", + "line_1": "line_10", + "line_2": "line_24" + }, + "customer": {}, + "metadata": { + "key0": "metadata1", + "key1": "metadata2" + }, + "type": "type8", + "holder_document": "holder_document4", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits2", + "label": "label2" + }, + "items": [ + { + "id": "id1", + "description": "description1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 75, + "scheme_type": "scheme_type7", + "price_brackets": [ + { + "start_quantity": 134, + "price": 184, + "end_quantity": 142, + "overage_price": 156 + }, + { + "start_quantity": 135, + "price": 183, + "end_quantity": 143, + "overage_price": 157 + } + ], + "minimum_price": 235, + "percentage": 198.15 + }, + "discounts": [ + { + "id": "id2", + "value": 63.84, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 8, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": { + "id": "id8", + "description": "description8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 34, + "scheme_type": "scheme_type0", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 194, + "percentage": 101.28 + }, + "discounts": [ + { + "id": "id9", + "value": 98.91, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 187, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id0", + "value": 98.92, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 188, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id1", + "value": 98.93, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 189, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id7", + "value": 210.19, + "increment_type": "increment_type9", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 205, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name8", + "quantity": 232, + "cycles": 252, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {} + ], + "subscription": {}, + "name": "name1", + "quantity": 53, + "cycles": 183, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id2", + "description": "description2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 76, + "scheme_type": "scheme_type6", + "price_brackets": [ + { + "start_quantity": 133, + "price": 185, + "end_quantity": 141, + "overage_price": 155 + } + ], + "minimum_price": 236, + "percentage": 198.14 + }, + "discounts": [ + { + "id": "id3", + "value": 63.85, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 9, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": { + "id": "id9", + "description": "description9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 33, + "scheme_type": "scheme_type1", + "price_brackets": [ + {} + ], + "minimum_price": 193, + "percentage": 101.29 + }, + "discounts": [ + { + "id": "id0", + "value": 98.92, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 188, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id8", + "value": 210.2, + "increment_type": "increment_type0", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 204, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id9", + "value": 210.21, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 203, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name9", + "quantity": 233, + "cycles": 253, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id4", + "value": 63.86, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 10, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": { + "id": "id0", + "description": "description0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 32, + "scheme_type": "scheme_type2", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 192, + "percentage": 101.3 + }, + "discounts": [ + { + "id": "id1", + "value": 98.93, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 189, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id2", + "value": 98.94, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 190, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id9", + "value": 210.21, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 203, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id0", + "value": 210.22, + "increment_type": "increment_type2", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 202, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id1", + "value": 210.23, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 201, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name0", + "quantity": 234, + "cycles": 254, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {}, + {} + ], + "subscription": {}, + "name": "name2", + "quantity": 54, + "cycles": 182, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id3", + "description": "description3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 77, + "scheme_type": "scheme_type5", + "price_brackets": [ + { + "start_quantity": 132, + "price": 186, + "end_quantity": 140, + "overage_price": 154 + }, + { + "start_quantity": 133, + "price": 185, + "end_quantity": 141, + "overage_price": 155 + }, + { + "start_quantity": 134, + "price": 184, + "end_quantity": 142, + "overage_price": 156 + } + ], + "minimum_price": 237, + "percentage": 198.13 + }, + "discounts": [ + { + "id": "id4", + "value": 63.86, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 10, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": { + "id": "id0", + "description": "description0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 32, + "scheme_type": "scheme_type2", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 192, + "percentage": 101.3 + }, + "discounts": [ + { + "id": "id1", + "value": 98.93, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 189, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id2", + "value": 98.94, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 190, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id9", + "value": 210.21, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 203, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id0", + "value": 210.22, + "increment_type": "increment_type2", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 202, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id1", + "value": 210.23, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 201, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name0", + "quantity": 234, + "cycles": 254, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id5", + "value": 63.87, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 11, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": { + "id": "id1", + "description": "description1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 31, + "scheme_type": "scheme_type3", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 191, + "percentage": 101.31 + }, + "discounts": [ + { + "id": "id2", + "value": 98.94, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 190, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id3", + "value": 98.95, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 191, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 98.96, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 192, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id0", + "value": 210.22, + "increment_type": "increment_type2", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 202, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name1", + "quantity": 235, + "cycles": 255, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id6", + "value": 63.88, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 12, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": { + "id": "id2", + "description": "description2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 30, + "scheme_type": "scheme_type4", + "price_brackets": [ + {} + ], + "minimum_price": 190, + "percentage": 101.32 + }, + "discounts": [ + { + "id": "id3", + "value": 98.95, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 191, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id1", + "value": 210.23, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 201, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id2", + "value": 210.24, + "increment_type": "increment_type4", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 200, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name2", + "quantity": 236, + "cycles": 0, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {} + ], + "subscription": {}, + "name": "name3", + "quantity": 55, + "cycles": 181, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor4", + "metadata": { + "key0": "metadata9", + "key1": "metadata0" + }, + "setup": { + "id": "id8", + "description": "description2", + "amount": 56, + "status": "status0" + }, + "gateway_affiliation_id": "gateway_affiliation_id0", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 108, + "minimum_price": 250, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 120, + "split": { + "enabled": false, + "rules": [ + { + "type": "type6", + "amount": 176, + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document2", + "description": "description6", + "type": "type6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type8", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document8", + "description": "description4", + "type": "type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata7", + "key1": "metadata6", + "key2": "metadata5" + }, + "pix_key": "pix_key6" + }, + "gateway_recipients": [ + { + "gateway": "gateway8", + "status": "status0", + "pgid": "pgid4", + "created_at": "created_at6", + "updated_at": "updated_at4" + }, + { + "gateway": "gateway9", + "status": "status1", + "pgid": "pgid5", + "created_at": "created_at7", + "updated_at": "updated_at5" + }, + { + "gateway": "gateway0", + "status": "status2", + "pgid": "pgid6", + "created_at": "created_at8", + "updated_at": "updated_at6" + } + ], + "metadata": { + "key0": "metadata9", + "key1": "metadata0" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 72, + "delay": 218, + "days": [ + 194, + 195 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 238 + }, + "code": "code2", + "payment_mode": "payment_mode8" + }, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata9", + "key1": "metadata0" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 142, + "delay": 148, + "days": [ + 124, + 125 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 52 + }, + "code": "code2", + "payment_mode": "payment_mode2" + }, + "gateway_id": "gateway_id6", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee6" + }, + "id": "id4" + }, + { + "type": "type5", + "amount": 175, + "recipient": { + "id": "id3", + "name": "name3", + "email": "email3", + "document": "document3", + "description": "description7", + "type": "type7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id1", + "holder_name": "holder_name7", + "holder_type": "holder_type3", + "bank": "bank9", + "branch_number": "branch_number7", + "branch_check_digit": "branch_check_digit7", + "account_number": "account_number1", + "account_check_digit": "account_check_digit7", + "type": "type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id3", + "name": "name3", + "email": "email3", + "document": "document7", + "description": "description3", + "type": "type7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id1", + "holder_name": "holder_name7", + "holder_type": "holder_type3", + "bank": "bank9", + "branch_number": "branch_number7", + "branch_check_digit": "branch_check_digit7", + "account_number": "account_number1", + "account_check_digit": "account_check_digit7", + "type": "type1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata8", + "key1": "metadata7" + }, + "pix_key": "pix_key5" + }, + "gateway_recipients": [ + { + "gateway": "gateway7", + "status": "status9", + "pgid": "pgid3", + "created_at": "created_at5", + "updated_at": "updated_at3" + }, + { + "gateway": "gateway8", + "status": "status0", + "pgid": "pgid4", + "created_at": "created_at6", + "updated_at": "updated_at4" + } + ], + "metadata": { + "key0": "metadata0", + "key1": "metadata1", + "key2": "metadata2" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 73, + "delay": 217, + "days": [ + 193 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval1", + "transfer_day": 239 + }, + "code": "code1", + "payment_mode": "payment_mode7" + }, + "metadata": { + "key0": "metadata8", + "key1": "metadata7", + "key2": "metadata6" + }, + "pix_key": "pix_key5" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata0", + "key1": "metadata1", + "key2": "metadata2" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 143, + "delay": 147, + "days": [ + 123 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval1", + "transfer_day": 53 + }, + "code": "code1", + "payment_mode": "payment_mode3" + }, + "gateway_id": "gateway_id5", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee5" + }, + "id": "id5" + }, + { + "type": "type4", + "amount": 174, + "recipient": { + "id": "id2", + "name": "name2", + "email": "email4", + "document": "document4", + "description": "description8", + "type": "type8", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id2", + "name": "name2", + "email": "email4", + "document": "document6", + "description": "description2", + "type": "type8", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata9" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + } + ], + "metadata": { + "key0": "metadata1" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 74, + "delay": 216, + "days": [ + 192, + 193, + 194 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval2", + "transfer_day": 240 + }, + "code": "code0", + "payment_mode": "payment_mode6" + }, + "metadata": { + "key0": "metadata7" + }, + "pix_key": "pix_key6" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata1" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 144, + "delay": 146, + "days": [ + 122, + 123, + 124 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval2", + "transfer_day": 54 + }, + "code": "code0", + "payment_mode": "payment_mode4" + }, + "gateway_id": "gateway_id4", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee4" + }, + "id": "id6" + } + ] + }, + "boleto": { + "interest": { + "days": 86, + "type": "type4", + "amount": 160 + }, + "fine": { + "days": 68, + "type": "type8", + "amount": 114 + }, + "max_days_to_pay_past_due": 192 + }, + "manual_billing": false + }, + "status": "status2", + "duration": 82, + "created_at": "created_at8", + "updated_at": "updated_at6", + "cycle": 22 + }, + "payment_method": "payment_method8", + "currency": "currency2", + "installments": 10, + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id6", + "last_four_digits": "last_four_digits2", + "brand": "brand0", + "holder_name": "holder_name2", + "exp_month": 96, + "exp_year": 200, + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street2", + "number": "number0", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city8", + "state": "state2", + "country": "country6", + "complement": "complement2", + "line_1": "line_14", + "line_2": "line_20" + }, + "customer": {}, + "metadata": { + "key0": "metadata7" + }, + "type": "type4", + "holder_document": "holder_document0", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits6", + "label": "label6" + }, + "items": [ + {}, + {}, + {} + ], + "statement_descriptor": "statement_descriptor2", + "metadata": { + "key0": "metadata1", + "key1": "metadata2" + }, + "setup": { + "id": "id6", + "description": "description6", + "amount": 34, + "status": "status8" + }, + "gateway_affiliation_id": "gateway_affiliation_id8", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 238, + "minimum_price": 160, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {} + ], + "boleto_due_days": 210, + "split": { + "enabled": false, + "rules": [ + {}, + {}, + {} + ] + }, + "boleto": { + "interest": { + "days": 136, + "type": "type2", + "amount": 210 + }, + "fine": { + "days": 154, + "type": "type6", + "amount": 228 + }, + "max_days_to_pay_past_due": 142 + }, + "manual_billing": false + }, + "status": "status8", + "duration": 24, + "created_at": "created_at4", + "updated_at": "updated_at2", + "cycle": 220 + } + ], + "paging": { + "total": 6, + "previous": "previous2", + "next": "next8" + } } ``` diff --git a/doc/models/list-discounts-response.md b/doc/models/list-discounts-response.md index df1dd20..68dc53a 100644 --- a/doc/models/list-discounts-response.md +++ b/doc/models/list-discounts-response.md @@ -16,8 +16,1869 @@ ```json { - "data": null, - "paging": null + "data": [ + { + "id": "id5", + "value": 145.67, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 255, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": { + "id": "id1", + "code": "code9", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval9", + "interval_count": 97, + "billing_type": "billing_type5", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id9", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id5", + "code": "code3", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval7", + "interval_count": 9, + "billing_type": "billing_type1", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id3", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status5", + "duration": 249, + "created_at": "created_at1", + "updated_at": "updated_at9", + "cycle": 189 + }, + "payment_method": "payment_method5", + "currency": "currency5", + "installments": 177, + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id5", + "name": "name5", + "email": "email1", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document1", + "type": "type5", + "fb_access_token": "fb_access_token9", + "address": { + "id": "id1", + "street": "street1", + "number": "number9", + "complement": "complement7", + "zip_code": "zip_code5", + "neighborhood": "neighborhood7", + "city": "city1", + "state": "state7", + "country": "country5", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id1", + "name": "name1", + "email": "email5", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document5", + "type": "type9", + "fb_access_token": "fb_access_token5", + "address": { + "id": "id7", + "street": "street7", + "number": "number5", + "complement": "complement3", + "zip_code": "zip_code1", + "neighborhood": "neighborhood3", + "city": "city7", + "state": "state3", + "country": "country1", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata2", + "key1": "metadata1", + "key2": "metadata0" + }, + "line_1": "line_11", + "line_2": "line_25", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata2", + "key1": "metadata3" + }, + "phones": { + "home_phone": { + "country_code": "country_code3", + "number": "number1", + "area_code": "area_code3" + }, + "mobile_phone": { + "country_code": "country_code7", + "number": "number9", + "area_code": "area_code3" + } + }, + "fb_id": 41, + "code": "code9", + "document_type": "document_type9" + }, + "metadata": { + "key0": "metadata8", + "key1": "metadata7", + "key2": "metadata6" + }, + "line_1": "line_15", + "line_2": "line_29", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata8", + "key1": "metadata9", + "key2": "metadata0" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 247, + "code": "code3", + "document_type": "document_type3" + }, + "card": { + "id": "id1", + "last_four_digits": "last_four_digits7", + "brand": "brand5", + "holder_name": "holder_name7", + "exp_month": 155, + "exp_year": 141, + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street7", + "number": "number5", + "zip_code": "zip_code1", + "neighborhood": "neighborhood3", + "city": "city3", + "state": "state7", + "country": "country1", + "complement": "complement7", + "line_1": "line_19", + "line_2": "line_25" + }, + "customer": {}, + "metadata": { + "key0": "metadata2", + "key1": "metadata3", + "key2": "metadata4" + }, + "type": "type9", + "holder_document": "holder_document5", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits1", + "label": "label1" + }, + "items": [ + { + "id": "id2", + "description": "description2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 76, + "scheme_type": "scheme_type6", + "price_brackets": [ + { + "start_quantity": 133, + "price": 185, + "end_quantity": 141, + "overage_price": 155 + } + ], + "minimum_price": 236, + "percentage": 198.14 + }, + "discounts": [ + { + "id": "id3", + "value": 63.85, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 9, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": { + "id": "id9", + "description": "description9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 33, + "scheme_type": "scheme_type1", + "price_brackets": [ + {} + ], + "minimum_price": 193, + "percentage": 101.29 + }, + "discounts": [ + {} + ], + "increments": [ + { + "id": "id8", + "value": 210.2, + "increment_type": "increment_type0", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 204, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id9", + "value": 210.21, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 203, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name9", + "quantity": 233, + "cycles": 253, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id4", + "value": 63.86, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 10, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": { + "id": "id0", + "description": "description0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 32, + "scheme_type": "scheme_type2", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 192, + "percentage": 101.3 + }, + "discounts": [ + {}, + {} + ], + "increments": [ + { + "id": "id9", + "value": 210.21, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 203, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id0", + "value": 210.22, + "increment_type": "increment_type2", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 202, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id1", + "value": 210.23, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 201, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name0", + "quantity": 234, + "cycles": 254, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {}, + {} + ], + "subscription": {}, + "name": "name2", + "quantity": 54, + "cycles": 182, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor5", + "metadata": { + "key0": "metadata8" + }, + "setup": { + "id": "id9", + "description": "description1", + "amount": 55, + "status": "status9" + }, + "gateway_affiliation_id": "gateway_affiliation_id1", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 107, + "minimum_price": 249, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {} + ], + "increments": [ + {}, + {} + ], + "boleto_due_days": 121, + "split": { + "enabled": true, + "rules": [ + { + "type": "type5", + "amount": 175, + "recipient": { + "id": "id3", + "name": "name3", + "email": "email3", + "document": "document3", + "description": "description7", + "type": "type7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id1", + "holder_name": "holder_name7", + "holder_type": "holder_type3", + "bank": "bank9", + "branch_number": "branch_number7", + "branch_check_digit": "branch_check_digit7", + "account_number": "account_number1", + "account_check_digit": "account_check_digit7", + "type": "type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id3", + "name": "name3", + "email": "email3", + "document": "document7", + "description": "description3", + "type": "type7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id1", + "holder_name": "holder_name7", + "holder_type": "holder_type3", + "bank": "bank9", + "branch_number": "branch_number7", + "branch_check_digit": "branch_check_digit7", + "account_number": "account_number1", + "account_check_digit": "account_check_digit7", + "type": "type1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata8", + "key1": "metadata7" + }, + "pix_key": "pix_key5" + }, + "gateway_recipients": [ + { + "gateway": "gateway7", + "status": "status9", + "pgid": "pgid3", + "created_at": "created_at5", + "updated_at": "updated_at3" + }, + { + "gateway": "gateway8", + "status": "status0", + "pgid": "pgid4", + "created_at": "created_at6", + "updated_at": "updated_at4" + } + ], + "metadata": { + "key0": "metadata0", + "key1": "metadata1", + "key2": "metadata2" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 73, + "delay": 217, + "days": [ + 193 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval1", + "transfer_day": 239 + }, + "code": "code1", + "payment_mode": "payment_mode7" + }, + "metadata": { + "key0": "metadata8", + "key1": "metadata7", + "key2": "metadata6" + }, + "pix_key": "pix_key5" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata0", + "key1": "metadata1", + "key2": "metadata2" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 143, + "delay": 147, + "days": [ + 123 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval1", + "transfer_day": 53 + }, + "code": "code1", + "payment_mode": "payment_mode3" + }, + "gateway_id": "gateway_id5", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee5" + }, + "id": "id5" + } + ] + }, + "boleto": { + "interest": { + "days": 87, + "type": "type5", + "amount": 161 + }, + "fine": { + "days": 69, + "type": "type7", + "amount": 113 + }, + "max_days_to_pay_past_due": 191 + }, + "manual_billing": true + }, + "status": "status1", + "duration": 81, + "created_at": "created_at7", + "updated_at": "updated_at5", + "cycle": 21 + }, + "payment_method": "payment_method9", + "currency": "currency1", + "installments": 9, + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id5", + "last_four_digits": "last_four_digits1", + "brand": "brand9", + "holder_name": "holder_name1", + "exp_month": 97, + "exp_year": 199, + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street3", + "number": "number9", + "zip_code": "zip_code7", + "neighborhood": "neighborhood9", + "city": "city7", + "state": "state1", + "country": "country7", + "complement": "complement1", + "line_1": "line_13", + "line_2": "line_21" + }, + "customer": {}, + "metadata": { + "key0": "metadata8", + "key1": "metadata9" + }, + "type": "type5", + "holder_document": "holder_document1", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits5", + "label": "label5" + }, + "items": [ + {}, + {} + ], + "statement_descriptor": "statement_descriptor1", + "metadata": { + "key0": "metadata2", + "key1": "metadata3", + "key2": "metadata4" + }, + "setup": { + "id": "id5", + "description": "description5", + "amount": 33, + "status": "status7" + }, + "gateway_affiliation_id": "gateway_affiliation_id7", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 237, + "minimum_price": 161, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + {} + ], + "boleto_due_days": 209, + "split": { + "enabled": true, + "rules": [ + {}, + {} + ] + }, + "boleto": { + "interest": { + "days": 137, + "type": "type1", + "amount": 211 + }, + "fine": { + "days": 153, + "type": "type7", + "amount": 227 + }, + "max_days_to_pay_past_due": 141 + }, + "manual_billing": true + }, + "subscription_item": {} + }, + { + "id": "id6", + "value": 145.68, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 0, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": { + "id": "id2", + "code": "code0", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval0", + "interval_count": 98, + "billing_type": "billing_type4", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id0", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id4", + "code": "code2", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval8", + "interval_count": 8, + "billing_type": "billing_type2", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id2", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status4", + "duration": 248, + "created_at": "created_at0", + "updated_at": "updated_at8", + "cycle": 188 + }, + "payment_method": "payment_method6", + "currency": "currency4", + "installments": 176, + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id6", + "name": "name6", + "email": "email0", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document0", + "type": "type4", + "fb_access_token": "fb_access_token0", + "address": { + "id": "id2", + "street": "street2", + "number": "number0", + "complement": "complement8", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city2", + "state": "state8", + "country": "country6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id2", + "name": "name2", + "email": "email4", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document6", + "type": "type8", + "fb_access_token": "fb_access_token6", + "address": { + "id": "id8", + "street": "street8", + "number": "number6", + "complement": "complement4", + "zip_code": "zip_code2", + "neighborhood": "neighborhood4", + "city": "city8", + "state": "state4", + "country": "country2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata1" + }, + "line_1": "line_12", + "line_2": "line_26", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata1" + }, + "phones": { + "home_phone": { + "country_code": "country_code4", + "number": "number2", + "area_code": "area_code4" + }, + "mobile_phone": { + "country_code": "country_code6", + "number": "number8", + "area_code": "area_code4" + } + }, + "fb_id": 42, + "code": "code0", + "document_type": "document_type0" + }, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "line_1": "line_14", + "line_2": "line_20", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata8" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 248, + "code": "code4", + "document_type": "document_type4" + }, + "card": { + "id": "id2", + "last_four_digits": "last_four_digits8", + "brand": "brand6", + "holder_name": "holder_name8", + "exp_month": 154, + "exp_year": 142, + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street6", + "number": "number6", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city4", + "state": "state8", + "country": "country0", + "complement": "complement8", + "line_1": "line_10", + "line_2": "line_24" + }, + "customer": {}, + "metadata": { + "key0": "metadata1", + "key1": "metadata2" + }, + "type": "type8", + "holder_document": "holder_document4", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits2", + "label": "label2" + }, + "items": [ + { + "id": "id1", + "description": "description1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 75, + "scheme_type": "scheme_type7", + "price_brackets": [ + { + "start_quantity": 134, + "price": 184, + "end_quantity": 142, + "overage_price": 156 + }, + { + "start_quantity": 135, + "price": 183, + "end_quantity": 143, + "overage_price": 157 + } + ], + "minimum_price": 235, + "percentage": 198.15 + }, + "discounts": [ + { + "id": "id2", + "value": 63.84, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 8, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": { + "id": "id8", + "description": "description8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 34, + "scheme_type": "scheme_type0", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 194, + "percentage": 101.28 + }, + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + { + "id": "id7", + "value": 210.19, + "increment_type": "increment_type9", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 205, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name8", + "quantity": 232, + "cycles": 252, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {} + ], + "subscription": {}, + "name": "name1", + "quantity": 53, + "cycles": 183, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id2", + "description": "description2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 76, + "scheme_type": "scheme_type6", + "price_brackets": [ + { + "start_quantity": 133, + "price": 185, + "end_quantity": 141, + "overage_price": 155 + } + ], + "minimum_price": 236, + "percentage": 198.14 + }, + "discounts": [ + { + "id": "id3", + "value": 63.85, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 9, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": { + "id": "id9", + "description": "description9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 33, + "scheme_type": "scheme_type1", + "price_brackets": [ + {} + ], + "minimum_price": 193, + "percentage": 101.29 + }, + "discounts": [ + {} + ], + "increments": [ + { + "id": "id8", + "value": 210.2, + "increment_type": "increment_type0", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 204, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id9", + "value": 210.21, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 203, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name9", + "quantity": 233, + "cycles": 253, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id4", + "value": 63.86, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 10, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": { + "id": "id0", + "description": "description0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 32, + "scheme_type": "scheme_type2", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 192, + "percentage": 101.3 + }, + "discounts": [ + {}, + {} + ], + "increments": [ + { + "id": "id9", + "value": 210.21, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 203, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id0", + "value": 210.22, + "increment_type": "increment_type2", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 202, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id1", + "value": 210.23, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 201, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name0", + "quantity": 234, + "cycles": 254, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {}, + {} + ], + "subscription": {}, + "name": "name2", + "quantity": 54, + "cycles": 182, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id3", + "description": "description3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 77, + "scheme_type": "scheme_type5", + "price_brackets": [ + { + "start_quantity": 132, + "price": 186, + "end_quantity": 140, + "overage_price": 154 + }, + { + "start_quantity": 133, + "price": 185, + "end_quantity": 141, + "overage_price": 155 + }, + { + "start_quantity": 134, + "price": 184, + "end_quantity": 142, + "overage_price": 156 + } + ], + "minimum_price": 237, + "percentage": 198.13 + }, + "discounts": [ + { + "id": "id4", + "value": 63.86, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 10, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": { + "id": "id0", + "description": "description0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 32, + "scheme_type": "scheme_type2", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 192, + "percentage": 101.3 + }, + "discounts": [ + {}, + {} + ], + "increments": [ + { + "id": "id9", + "value": 210.21, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 203, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id0", + "value": 210.22, + "increment_type": "increment_type2", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 202, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id1", + "value": 210.23, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 201, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name0", + "quantity": 234, + "cycles": 254, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id5", + "value": 63.87, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 11, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": { + "id": "id1", + "description": "description1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 31, + "scheme_type": "scheme_type3", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 191, + "percentage": 101.31 + }, + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + { + "id": "id0", + "value": 210.22, + "increment_type": "increment_type2", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 202, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name1", + "quantity": 235, + "cycles": 255, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id6", + "value": 63.88, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 12, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": { + "id": "id2", + "description": "description2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 30, + "scheme_type": "scheme_type4", + "price_brackets": [ + {} + ], + "minimum_price": 190, + "percentage": 101.32 + }, + "discounts": [ + {} + ], + "increments": [ + { + "id": "id1", + "value": 210.23, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 201, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id2", + "value": 210.24, + "increment_type": "increment_type4", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 200, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name2", + "quantity": 236, + "cycles": 0, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {} + ], + "subscription": {}, + "name": "name3", + "quantity": 55, + "cycles": 181, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor4", + "metadata": { + "key0": "metadata9", + "key1": "metadata0" + }, + "setup": { + "id": "id8", + "description": "description2", + "amount": 56, + "status": "status0" + }, + "gateway_affiliation_id": "gateway_affiliation_id0", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 108, + "minimum_price": 250, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 120, + "split": { + "enabled": false, + "rules": [ + { + "type": "type6", + "amount": 176, + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document2", + "description": "description6", + "type": "type6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type8", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document8", + "description": "description4", + "type": "type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata7", + "key1": "metadata6", + "key2": "metadata5" + }, + "pix_key": "pix_key6" + }, + "gateway_recipients": [ + { + "gateway": "gateway8", + "status": "status0", + "pgid": "pgid4", + "created_at": "created_at6", + "updated_at": "updated_at4" + }, + { + "gateway": "gateway9", + "status": "status1", + "pgid": "pgid5", + "created_at": "created_at7", + "updated_at": "updated_at5" + }, + { + "gateway": "gateway0", + "status": "status2", + "pgid": "pgid6", + "created_at": "created_at8", + "updated_at": "updated_at6" + } + ], + "metadata": { + "key0": "metadata9", + "key1": "metadata0" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 72, + "delay": 218, + "days": [ + 194, + 195 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 238 + }, + "code": "code2", + "payment_mode": "payment_mode8" + }, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata9", + "key1": "metadata0" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 142, + "delay": 148, + "days": [ + 124, + 125 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 52 + }, + "code": "code2", + "payment_mode": "payment_mode2" + }, + "gateway_id": "gateway_id6", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee6" + }, + "id": "id4" + }, + { + "type": "type5", + "amount": 175, + "recipient": { + "id": "id3", + "name": "name3", + "email": "email3", + "document": "document3", + "description": "description7", + "type": "type7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id1", + "holder_name": "holder_name7", + "holder_type": "holder_type3", + "bank": "bank9", + "branch_number": "branch_number7", + "branch_check_digit": "branch_check_digit7", + "account_number": "account_number1", + "account_check_digit": "account_check_digit7", + "type": "type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id3", + "name": "name3", + "email": "email3", + "document": "document7", + "description": "description3", + "type": "type7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id1", + "holder_name": "holder_name7", + "holder_type": "holder_type3", + "bank": "bank9", + "branch_number": "branch_number7", + "branch_check_digit": "branch_check_digit7", + "account_number": "account_number1", + "account_check_digit": "account_check_digit7", + "type": "type1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata8", + "key1": "metadata7" + }, + "pix_key": "pix_key5" + }, + "gateway_recipients": [ + { + "gateway": "gateway7", + "status": "status9", + "pgid": "pgid3", + "created_at": "created_at5", + "updated_at": "updated_at3" + }, + { + "gateway": "gateway8", + "status": "status0", + "pgid": "pgid4", + "created_at": "created_at6", + "updated_at": "updated_at4" + } + ], + "metadata": { + "key0": "metadata0", + "key1": "metadata1", + "key2": "metadata2" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 73, + "delay": 217, + "days": [ + 193 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval1", + "transfer_day": 239 + }, + "code": "code1", + "payment_mode": "payment_mode7" + }, + "metadata": { + "key0": "metadata8", + "key1": "metadata7", + "key2": "metadata6" + }, + "pix_key": "pix_key5" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata0", + "key1": "metadata1", + "key2": "metadata2" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 143, + "delay": 147, + "days": [ + 123 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval1", + "transfer_day": 53 + }, + "code": "code1", + "payment_mode": "payment_mode3" + }, + "gateway_id": "gateway_id5", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee5" + }, + "id": "id5" + }, + { + "type": "type4", + "amount": 174, + "recipient": { + "id": "id2", + "name": "name2", + "email": "email4", + "document": "document4", + "description": "description8", + "type": "type8", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id2", + "name": "name2", + "email": "email4", + "document": "document6", + "description": "description2", + "type": "type8", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata9" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + } + ], + "metadata": { + "key0": "metadata1" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 74, + "delay": 216, + "days": [ + 192, + 193, + 194 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval2", + "transfer_day": 240 + }, + "code": "code0", + "payment_mode": "payment_mode6" + }, + "metadata": { + "key0": "metadata7" + }, + "pix_key": "pix_key6" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata1" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 144, + "delay": 146, + "days": [ + 122, + 123, + 124 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval2", + "transfer_day": 54 + }, + "code": "code0", + "payment_mode": "payment_mode4" + }, + "gateway_id": "gateway_id4", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee4" + }, + "id": "id6" + } + ] + }, + "boleto": { + "interest": { + "days": 86, + "type": "type4", + "amount": 160 + }, + "fine": { + "days": 68, + "type": "type8", + "amount": 114 + }, + "max_days_to_pay_past_due": 192 + }, + "manual_billing": false + }, + "status": "status2", + "duration": 82, + "created_at": "created_at8", + "updated_at": "updated_at6", + "cycle": 22 + }, + "payment_method": "payment_method8", + "currency": "currency2", + "installments": 10, + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id6", + "last_four_digits": "last_four_digits2", + "brand": "brand0", + "holder_name": "holder_name2", + "exp_month": 96, + "exp_year": 200, + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street2", + "number": "number0", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city8", + "state": "state2", + "country": "country6", + "complement": "complement2", + "line_1": "line_14", + "line_2": "line_20" + }, + "customer": {}, + "metadata": { + "key0": "metadata7" + }, + "type": "type4", + "holder_document": "holder_document0", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits6", + "label": "label6" + }, + "items": [ + {}, + {}, + {} + ], + "statement_descriptor": "statement_descriptor2", + "metadata": { + "key0": "metadata1", + "key1": "metadata2" + }, + "setup": { + "id": "id6", + "description": "description6", + "amount": 34, + "status": "status8" + }, + "gateway_affiliation_id": "gateway_affiliation_id8", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 238, + "minimum_price": 160, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {} + ], + "boleto_due_days": 210, + "split": { + "enabled": false, + "rules": [ + {}, + {}, + {} + ] + }, + "boleto": { + "interest": { + "days": 136, + "type": "type2", + "amount": 210 + }, + "fine": { + "days": 154, + "type": "type6", + "amount": 228 + }, + "max_days_to_pay_past_due": 142 + }, + "manual_billing": false + }, + "subscription_item": {} + } + ], + "paging": { + "total": 6, + "previous": "previous2", + "next": "next8" + } } ``` diff --git a/doc/models/list-increments-response.md b/doc/models/list-increments-response.md index e67be45..d0adaa7 100644 --- a/doc/models/list-increments-response.md +++ b/doc/models/list-increments-response.md @@ -16,8 +16,2034 @@ ```json { - "data": null, - "paging": null + "data": [ + { + "id": "id5", + "value": 145.67, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 255, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": { + "id": "id1", + "code": "code9", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval9", + "interval_count": 97, + "billing_type": "billing_type5", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id9", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id5", + "code": "code3", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval7", + "interval_count": 9, + "billing_type": "billing_type1", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id3", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status5", + "duration": 249, + "created_at": "created_at1", + "updated_at": "updated_at9", + "cycle": 189 + }, + "payment_method": "payment_method5", + "currency": "currency5", + "installments": 177, + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id5", + "name": "name5", + "email": "email1", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document1", + "type": "type5", + "fb_access_token": "fb_access_token9", + "address": { + "id": "id1", + "street": "street1", + "number": "number9", + "complement": "complement7", + "zip_code": "zip_code5", + "neighborhood": "neighborhood7", + "city": "city1", + "state": "state7", + "country": "country5", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id1", + "name": "name1", + "email": "email5", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document5", + "type": "type9", + "fb_access_token": "fb_access_token5", + "address": { + "id": "id7", + "street": "street7", + "number": "number5", + "complement": "complement3", + "zip_code": "zip_code1", + "neighborhood": "neighborhood3", + "city": "city7", + "state": "state3", + "country": "country1", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata2", + "key1": "metadata1", + "key2": "metadata0" + }, + "line_1": "line_11", + "line_2": "line_25", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata2", + "key1": "metadata3" + }, + "phones": { + "home_phone": { + "country_code": "country_code3", + "number": "number1", + "area_code": "area_code3" + }, + "mobile_phone": { + "country_code": "country_code7", + "number": "number9", + "area_code": "area_code3" + } + }, + "fb_id": 41, + "code": "code9", + "document_type": "document_type9" + }, + "metadata": { + "key0": "metadata8", + "key1": "metadata7", + "key2": "metadata6" + }, + "line_1": "line_15", + "line_2": "line_29", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata8", + "key1": "metadata9", + "key2": "metadata0" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 247, + "code": "code3", + "document_type": "document_type3" + }, + "card": { + "id": "id1", + "last_four_digits": "last_four_digits7", + "brand": "brand5", + "holder_name": "holder_name7", + "exp_month": 155, + "exp_year": 141, + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street7", + "number": "number5", + "zip_code": "zip_code1", + "neighborhood": "neighborhood3", + "city": "city3", + "state": "state7", + "country": "country1", + "complement": "complement7", + "line_1": "line_19", + "line_2": "line_25" + }, + "customer": {}, + "metadata": { + "key0": "metadata2", + "key1": "metadata3", + "key2": "metadata4" + }, + "type": "type9", + "holder_document": "holder_document5", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits1", + "label": "label1" + }, + "items": [ + { + "id": "id2", + "description": "description2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 76, + "scheme_type": "scheme_type6", + "price_brackets": [ + { + "start_quantity": 133, + "price": 185, + "end_quantity": 141, + "overage_price": 155 + } + ], + "minimum_price": 236, + "percentage": 198.14 + }, + "discounts": [ + { + "id": "id3", + "value": 63.85, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 9, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": { + "id": "id9", + "description": "description9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 33, + "scheme_type": "scheme_type1", + "price_brackets": [ + {} + ], + "minimum_price": 193, + "percentage": 101.29 + }, + "discounts": [ + { + "id": "id0", + "value": 98.92, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 188, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id8", + "value": 210.2, + "increment_type": "increment_type0", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 204, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id9", + "value": 210.21, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 203, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name9", + "quantity": 233, + "cycles": 253, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id4", + "value": 63.86, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 10, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": { + "id": "id0", + "description": "description0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 32, + "scheme_type": "scheme_type2", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 192, + "percentage": 101.3 + }, + "discounts": [ + { + "id": "id1", + "value": 98.93, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 189, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id2", + "value": 98.94, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 190, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id9", + "value": 210.21, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 203, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id0", + "value": 210.22, + "increment_type": "increment_type2", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 202, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id1", + "value": 210.23, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 201, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name0", + "quantity": 234, + "cycles": 254, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {}, + {} + ], + "subscription": {}, + "name": "name2", + "quantity": 54, + "cycles": 182, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor5", + "metadata": { + "key0": "metadata8" + }, + "setup": { + "id": "id9", + "description": "description1", + "amount": 55, + "status": "status9" + }, + "gateway_affiliation_id": "gateway_affiliation_id1", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 107, + "minimum_price": 249, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {} + ], + "increments": [ + {}, + {} + ], + "boleto_due_days": 121, + "split": { + "enabled": true, + "rules": [ + { + "type": "type5", + "amount": 175, + "recipient": { + "id": "id3", + "name": "name3", + "email": "email3", + "document": "document3", + "description": "description7", + "type": "type7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id1", + "holder_name": "holder_name7", + "holder_type": "holder_type3", + "bank": "bank9", + "branch_number": "branch_number7", + "branch_check_digit": "branch_check_digit7", + "account_number": "account_number1", + "account_check_digit": "account_check_digit7", + "type": "type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id3", + "name": "name3", + "email": "email3", + "document": "document7", + "description": "description3", + "type": "type7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id1", + "holder_name": "holder_name7", + "holder_type": "holder_type3", + "bank": "bank9", + "branch_number": "branch_number7", + "branch_check_digit": "branch_check_digit7", + "account_number": "account_number1", + "account_check_digit": "account_check_digit7", + "type": "type1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata8", + "key1": "metadata7" + }, + "pix_key": "pix_key5" + }, + "gateway_recipients": [ + { + "gateway": "gateway7", + "status": "status9", + "pgid": "pgid3", + "created_at": "created_at5", + "updated_at": "updated_at3" + }, + { + "gateway": "gateway8", + "status": "status0", + "pgid": "pgid4", + "created_at": "created_at6", + "updated_at": "updated_at4" + } + ], + "metadata": { + "key0": "metadata0", + "key1": "metadata1", + "key2": "metadata2" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 73, + "delay": 217, + "days": [ + 193 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval1", + "transfer_day": 239 + }, + "code": "code1", + "payment_mode": "payment_mode7" + }, + "metadata": { + "key0": "metadata8", + "key1": "metadata7", + "key2": "metadata6" + }, + "pix_key": "pix_key5" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata0", + "key1": "metadata1", + "key2": "metadata2" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 143, + "delay": 147, + "days": [ + 123 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval1", + "transfer_day": 53 + }, + "code": "code1", + "payment_mode": "payment_mode3" + }, + "gateway_id": "gateway_id5", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee5" + }, + "id": "id5" + } + ] + }, + "boleto": { + "interest": { + "days": 87, + "type": "type5", + "amount": 161 + }, + "fine": { + "days": 69, + "type": "type7", + "amount": 113 + }, + "max_days_to_pay_past_due": 191 + }, + "manual_billing": true + }, + "status": "status1", + "duration": 81, + "created_at": "created_at7", + "updated_at": "updated_at5", + "cycle": 21 + }, + "payment_method": "payment_method9", + "currency": "currency1", + "installments": 9, + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id5", + "last_four_digits": "last_four_digits1", + "brand": "brand9", + "holder_name": "holder_name1", + "exp_month": 97, + "exp_year": 199, + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street3", + "number": "number9", + "zip_code": "zip_code7", + "neighborhood": "neighborhood9", + "city": "city7", + "state": "state1", + "country": "country7", + "complement": "complement1", + "line_1": "line_13", + "line_2": "line_21" + }, + "customer": {}, + "metadata": { + "key0": "metadata8", + "key1": "metadata9" + }, + "type": "type5", + "holder_document": "holder_document1", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits5", + "label": "label5" + }, + "items": [ + {}, + {} + ], + "statement_descriptor": "statement_descriptor1", + "metadata": { + "key0": "metadata2", + "key1": "metadata3", + "key2": "metadata4" + }, + "setup": { + "id": "id5", + "description": "description5", + "amount": 33, + "status": "status7" + }, + "gateway_affiliation_id": "gateway_affiliation_id7", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 237, + "minimum_price": 161, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + {} + ], + "boleto_due_days": 209, + "split": { + "enabled": true, + "rules": [ + {}, + {} + ] + }, + "boleto": { + "interest": { + "days": 137, + "type": "type1", + "amount": 211 + }, + "fine": { + "days": 153, + "type": "type7", + "amount": 227 + }, + "max_days_to_pay_past_due": 141 + }, + "manual_billing": true + }, + "subscription_item": {} + }, + { + "id": "id6", + "value": 145.68, + "increment_type": "increment_type8", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 0, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": { + "id": "id2", + "code": "code0", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval0", + "interval_count": 98, + "billing_type": "billing_type4", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id0", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id4", + "code": "code2", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval8", + "interval_count": 8, + "billing_type": "billing_type2", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id2", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status4", + "duration": 248, + "created_at": "created_at0", + "updated_at": "updated_at8", + "cycle": 188 + }, + "payment_method": "payment_method6", + "currency": "currency4", + "installments": 176, + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id6", + "name": "name6", + "email": "email0", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document0", + "type": "type4", + "fb_access_token": "fb_access_token0", + "address": { + "id": "id2", + "street": "street2", + "number": "number0", + "complement": "complement8", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city2", + "state": "state8", + "country": "country6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id2", + "name": "name2", + "email": "email4", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document6", + "type": "type8", + "fb_access_token": "fb_access_token6", + "address": { + "id": "id8", + "street": "street8", + "number": "number6", + "complement": "complement4", + "zip_code": "zip_code2", + "neighborhood": "neighborhood4", + "city": "city8", + "state": "state4", + "country": "country2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata1" + }, + "line_1": "line_12", + "line_2": "line_26", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata1" + }, + "phones": { + "home_phone": { + "country_code": "country_code4", + "number": "number2", + "area_code": "area_code4" + }, + "mobile_phone": { + "country_code": "country_code6", + "number": "number8", + "area_code": "area_code4" + } + }, + "fb_id": 42, + "code": "code0", + "document_type": "document_type0" + }, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "line_1": "line_14", + "line_2": "line_20", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata8" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 248, + "code": "code4", + "document_type": "document_type4" + }, + "card": { + "id": "id2", + "last_four_digits": "last_four_digits8", + "brand": "brand6", + "holder_name": "holder_name8", + "exp_month": 154, + "exp_year": 142, + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street6", + "number": "number6", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city4", + "state": "state8", + "country": "country0", + "complement": "complement8", + "line_1": "line_10", + "line_2": "line_24" + }, + "customer": {}, + "metadata": { + "key0": "metadata1", + "key1": "metadata2" + }, + "type": "type8", + "holder_document": "holder_document4", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits2", + "label": "label2" + }, + "items": [ + { + "id": "id1", + "description": "description1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 75, + "scheme_type": "scheme_type7", + "price_brackets": [ + { + "start_quantity": 134, + "price": 184, + "end_quantity": 142, + "overage_price": 156 + }, + { + "start_quantity": 135, + "price": 183, + "end_quantity": 143, + "overage_price": 157 + } + ], + "minimum_price": 235, + "percentage": 198.15 + }, + "discounts": [ + { + "id": "id2", + "value": 63.84, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 8, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": { + "id": "id8", + "description": "description8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 34, + "scheme_type": "scheme_type0", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 194, + "percentage": 101.28 + }, + "discounts": [ + { + "id": "id9", + "value": 98.91, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 187, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id0", + "value": 98.92, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 188, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id1", + "value": 98.93, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 189, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id7", + "value": 210.19, + "increment_type": "increment_type9", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 205, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name8", + "quantity": 232, + "cycles": 252, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {} + ], + "subscription": {}, + "name": "name1", + "quantity": 53, + "cycles": 183, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id2", + "description": "description2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 76, + "scheme_type": "scheme_type6", + "price_brackets": [ + { + "start_quantity": 133, + "price": 185, + "end_quantity": 141, + "overage_price": 155 + } + ], + "minimum_price": 236, + "percentage": 198.14 + }, + "discounts": [ + { + "id": "id3", + "value": 63.85, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 9, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": { + "id": "id9", + "description": "description9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 33, + "scheme_type": "scheme_type1", + "price_brackets": [ + {} + ], + "minimum_price": 193, + "percentage": 101.29 + }, + "discounts": [ + { + "id": "id0", + "value": 98.92, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 188, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id8", + "value": 210.2, + "increment_type": "increment_type0", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 204, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id9", + "value": 210.21, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 203, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name9", + "quantity": 233, + "cycles": 253, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id4", + "value": 63.86, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 10, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": { + "id": "id0", + "description": "description0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 32, + "scheme_type": "scheme_type2", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 192, + "percentage": 101.3 + }, + "discounts": [ + { + "id": "id1", + "value": 98.93, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 189, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id2", + "value": 98.94, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 190, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id9", + "value": 210.21, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 203, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id0", + "value": 210.22, + "increment_type": "increment_type2", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 202, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id1", + "value": 210.23, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 201, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name0", + "quantity": 234, + "cycles": 254, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {}, + {} + ], + "subscription": {}, + "name": "name2", + "quantity": 54, + "cycles": 182, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id3", + "description": "description3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 77, + "scheme_type": "scheme_type5", + "price_brackets": [ + { + "start_quantity": 132, + "price": 186, + "end_quantity": 140, + "overage_price": 154 + }, + { + "start_quantity": 133, + "price": 185, + "end_quantity": 141, + "overage_price": 155 + }, + { + "start_quantity": 134, + "price": 184, + "end_quantity": 142, + "overage_price": 156 + } + ], + "minimum_price": 237, + "percentage": 198.13 + }, + "discounts": [ + { + "id": "id4", + "value": 63.86, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 10, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": { + "id": "id0", + "description": "description0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 32, + "scheme_type": "scheme_type2", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 192, + "percentage": 101.3 + }, + "discounts": [ + { + "id": "id1", + "value": 98.93, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 189, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id2", + "value": 98.94, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 190, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id9", + "value": 210.21, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 203, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id0", + "value": 210.22, + "increment_type": "increment_type2", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 202, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id1", + "value": 210.23, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 201, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name0", + "quantity": 234, + "cycles": 254, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id5", + "value": 63.87, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 11, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": { + "id": "id1", + "description": "description1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 31, + "scheme_type": "scheme_type3", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 191, + "percentage": 101.31 + }, + "discounts": [ + { + "id": "id2", + "value": 98.94, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 190, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id3", + "value": 98.95, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 191, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 98.96, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 192, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id0", + "value": 210.22, + "increment_type": "increment_type2", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 202, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name1", + "quantity": 235, + "cycles": 255, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id6", + "value": 63.88, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 12, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": { + "id": "id2", + "description": "description2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 30, + "scheme_type": "scheme_type4", + "price_brackets": [ + {} + ], + "minimum_price": 190, + "percentage": 101.32 + }, + "discounts": [ + { + "id": "id3", + "value": 98.95, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 191, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id1", + "value": 210.23, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 201, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id2", + "value": 210.24, + "increment_type": "increment_type4", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 200, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name2", + "quantity": 236, + "cycles": 0, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {} + ], + "subscription": {}, + "name": "name3", + "quantity": 55, + "cycles": 181, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor4", + "metadata": { + "key0": "metadata9", + "key1": "metadata0" + }, + "setup": { + "id": "id8", + "description": "description2", + "amount": 56, + "status": "status0" + }, + "gateway_affiliation_id": "gateway_affiliation_id0", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 108, + "minimum_price": 250, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 120, + "split": { + "enabled": false, + "rules": [ + { + "type": "type6", + "amount": 176, + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document2", + "description": "description6", + "type": "type6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type8", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document8", + "description": "description4", + "type": "type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata7", + "key1": "metadata6", + "key2": "metadata5" + }, + "pix_key": "pix_key6" + }, + "gateway_recipients": [ + { + "gateway": "gateway8", + "status": "status0", + "pgid": "pgid4", + "created_at": "created_at6", + "updated_at": "updated_at4" + }, + { + "gateway": "gateway9", + "status": "status1", + "pgid": "pgid5", + "created_at": "created_at7", + "updated_at": "updated_at5" + }, + { + "gateway": "gateway0", + "status": "status2", + "pgid": "pgid6", + "created_at": "created_at8", + "updated_at": "updated_at6" + } + ], + "metadata": { + "key0": "metadata9", + "key1": "metadata0" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 72, + "delay": 218, + "days": [ + 194, + 195 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 238 + }, + "code": "code2", + "payment_mode": "payment_mode8" + }, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata9", + "key1": "metadata0" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 142, + "delay": 148, + "days": [ + 124, + 125 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 52 + }, + "code": "code2", + "payment_mode": "payment_mode2" + }, + "gateway_id": "gateway_id6", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee6" + }, + "id": "id4" + }, + { + "type": "type5", + "amount": 175, + "recipient": { + "id": "id3", + "name": "name3", + "email": "email3", + "document": "document3", + "description": "description7", + "type": "type7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id1", + "holder_name": "holder_name7", + "holder_type": "holder_type3", + "bank": "bank9", + "branch_number": "branch_number7", + "branch_check_digit": "branch_check_digit7", + "account_number": "account_number1", + "account_check_digit": "account_check_digit7", + "type": "type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id3", + "name": "name3", + "email": "email3", + "document": "document7", + "description": "description3", + "type": "type7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id1", + "holder_name": "holder_name7", + "holder_type": "holder_type3", + "bank": "bank9", + "branch_number": "branch_number7", + "branch_check_digit": "branch_check_digit7", + "account_number": "account_number1", + "account_check_digit": "account_check_digit7", + "type": "type1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata8", + "key1": "metadata7" + }, + "pix_key": "pix_key5" + }, + "gateway_recipients": [ + { + "gateway": "gateway7", + "status": "status9", + "pgid": "pgid3", + "created_at": "created_at5", + "updated_at": "updated_at3" + }, + { + "gateway": "gateway8", + "status": "status0", + "pgid": "pgid4", + "created_at": "created_at6", + "updated_at": "updated_at4" + } + ], + "metadata": { + "key0": "metadata0", + "key1": "metadata1", + "key2": "metadata2" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 73, + "delay": 217, + "days": [ + 193 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval1", + "transfer_day": 239 + }, + "code": "code1", + "payment_mode": "payment_mode7" + }, + "metadata": { + "key0": "metadata8", + "key1": "metadata7", + "key2": "metadata6" + }, + "pix_key": "pix_key5" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata0", + "key1": "metadata1", + "key2": "metadata2" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 143, + "delay": 147, + "days": [ + 123 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval1", + "transfer_day": 53 + }, + "code": "code1", + "payment_mode": "payment_mode3" + }, + "gateway_id": "gateway_id5", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee5" + }, + "id": "id5" + }, + { + "type": "type4", + "amount": 174, + "recipient": { + "id": "id2", + "name": "name2", + "email": "email4", + "document": "document4", + "description": "description8", + "type": "type8", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id2", + "name": "name2", + "email": "email4", + "document": "document6", + "description": "description2", + "type": "type8", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata9" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + } + ], + "metadata": { + "key0": "metadata1" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 74, + "delay": 216, + "days": [ + 192, + 193, + 194 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval2", + "transfer_day": 240 + }, + "code": "code0", + "payment_mode": "payment_mode6" + }, + "metadata": { + "key0": "metadata7" + }, + "pix_key": "pix_key6" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata1" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 144, + "delay": 146, + "days": [ + 122, + 123, + 124 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval2", + "transfer_day": 54 + }, + "code": "code0", + "payment_mode": "payment_mode4" + }, + "gateway_id": "gateway_id4", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee4" + }, + "id": "id6" + } + ] + }, + "boleto": { + "interest": { + "days": 86, + "type": "type4", + "amount": 160 + }, + "fine": { + "days": 68, + "type": "type8", + "amount": 114 + }, + "max_days_to_pay_past_due": 192 + }, + "manual_billing": false + }, + "status": "status2", + "duration": 82, + "created_at": "created_at8", + "updated_at": "updated_at6", + "cycle": 22 + }, + "payment_method": "payment_method8", + "currency": "currency2", + "installments": 10, + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id6", + "last_four_digits": "last_four_digits2", + "brand": "brand0", + "holder_name": "holder_name2", + "exp_month": 96, + "exp_year": 200, + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street2", + "number": "number0", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city8", + "state": "state2", + "country": "country6", + "complement": "complement2", + "line_1": "line_14", + "line_2": "line_20" + }, + "customer": {}, + "metadata": { + "key0": "metadata7" + }, + "type": "type4", + "holder_document": "holder_document0", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits6", + "label": "label6" + }, + "items": [ + {}, + {}, + {} + ], + "statement_descriptor": "statement_descriptor2", + "metadata": { + "key0": "metadata1", + "key1": "metadata2" + }, + "setup": { + "id": "id6", + "description": "description6", + "amount": 34, + "status": "status8" + }, + "gateway_affiliation_id": "gateway_affiliation_id8", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 238, + "minimum_price": 160, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {} + ], + "boleto_due_days": 210, + "split": { + "enabled": false, + "rules": [ + {}, + {}, + {} + ] + }, + "boleto": { + "interest": { + "days": 136, + "type": "type2", + "amount": 210 + }, + "fine": { + "days": 154, + "type": "type6", + "amount": 228 + }, + "max_days_to_pay_past_due": 142 + }, + "manual_billing": false + }, + "subscription_item": {} + } + ], + "paging": { + "total": 6, + "previous": "previous2", + "next": "next8" + } } ``` diff --git a/doc/models/list-invoices-response.md b/doc/models/list-invoices-response.md index b24b890..ec6beaf 100644 --- a/doc/models/list-invoices-response.md +++ b/doc/models/list-invoices-response.md @@ -18,8 +18,2745 @@ Response object for listing invoices ```json { - "data": null, - "paging": null + "data": [ + { + "id": "id5", + "code": "code3", + "url": "url9", + "amount": 121, + "status": "status7", + "payment_method": "payment_method5", + "created_at": "2016-03-13T12:52:32.123Z", + "items": [ + { + "amount": 180, + "description": "description2", + "pricing_scheme": { + "price": 28, + "scheme_type": "scheme_type4", + "price_brackets": [ + { + "start_quantity": 237, + "price": 175, + "end_quantity": 245, + "overage_price": 3 + }, + { + "start_quantity": 238, + "price": 176, + "end_quantity": 246, + "overage_price": 4 + }, + { + "start_quantity": 239, + "price": 177, + "end_quantity": 247, + "overage_price": 5 + } + ], + "minimum_price": 124, + "percentage": 132.62 + }, + "price_bracket": {}, + "quantity": 38, + "name": "name2", + "subscription_item_id": "subscription_item_id6" + }, + { + "amount": 181, + "description": "description3", + "pricing_scheme": { + "price": 29, + "scheme_type": "scheme_type5", + "price_brackets": [ + { + "start_quantity": 238, + "price": 176, + "end_quantity": 246, + "overage_price": 4 + } + ], + "minimum_price": 125, + "percentage": 132.63 + }, + "price_bracket": {}, + "quantity": 39, + "name": "name3", + "subscription_item_id": "subscription_item_id7" + } + ], + "customer": { + "id": "id5", + "name": "name5", + "email": "email9", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document9", + "type": "type5", + "fb_access_token": "fb_access_token9", + "address": { + "id": "id1", + "street": "street1", + "number": "number9", + "complement": "complement7", + "zip_code": "zip_code5", + "neighborhood": "neighborhood7", + "city": "city1", + "state": "state7", + "country": "country5", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id1", + "name": "name1", + "email": "email5", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document5", + "type": "type1", + "fb_access_token": "fb_access_token5", + "address": { + "id": "id7", + "street": "street7", + "number": "number5", + "complement": "complement3", + "zip_code": "zip_code1", + "neighborhood": "neighborhood3", + "city": "city7", + "state": "state3", + "country": "country1", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata8" + }, + "line_1": "line_11", + "line_2": "line_25", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata2" + }, + "phones": { + "home_phone": { + "country_code": "country_code3", + "number": "number1", + "area_code": "area_code3" + }, + "mobile_phone": { + "country_code": "country_code3", + "number": "number1", + "area_code": "area_code3" + } + }, + "fb_id": 203, + "code": "code9", + "document_type": "document_type9" + }, + "metadata": { + "key0": "metadata2", + "key1": "metadata3", + "key2": "metadata4" + }, + "line_1": "line_15", + "line_2": "line_29", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata4", + "key1": "metadata3", + "key2": "metadata2" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 153, + "code": "code3", + "document_type": "document_type3" + }, + "charge": { + "id": "id7", + "code": "code5", + "gateway_id": "gateway_id3", + "amount": 251, + "status": "status9", + "currency": "currency7", + "payment_method": "payment_method3", + "due_at": "2016-03-13T12:52:32.123Z", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "last_transaction": { + "gateway_id": "gateway_id9", + "amount": 53, + "status": "status1", + "success": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 29, + "max_attempts": 17, + "splits": [ + { + "type": "type1", + "amount": 241, + "recipient": { + "id": "id3", + "name": "name3", + "email": "email3", + "document": "document7", + "description": "description3", + "type": "type7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id1", + "holder_name": "holder_name7", + "holder_type": "holder_type3", + "bank": "bank9", + "branch_number": "branch_number7", + "branch_check_digit": "branch_check_digit7", + "account_number": "account_number1", + "account_check_digit": "account_check_digit7", + "type": "type1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id3", + "name": "name3", + "email": "email3", + "document": "document7", + "description": "description3", + "type": "type3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id1", + "holder_name": "holder_name7", + "holder_type": "holder_type3", + "bank": "bank9", + "branch_number": "branch_number7", + "branch_check_digit": "branch_check_digit7", + "account_number": "account_number1", + "account_check_digit": "account_check_digit7", + "type": "type1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata8", + "key1": "metadata7", + "key2": "metadata6" + }, + "pix_key": "pix_key5" + }, + "gateway_recipients": [ + { + "gateway": "gateway7", + "status": "status9", + "pgid": "pgid3", + "created_at": "created_at5", + "updated_at": "updated_at3" + }, + { + "gateway": "gateway8", + "status": "status0", + "pgid": "pgid4", + "created_at": "created_at6", + "updated_at": "updated_at4" + }, + { + "gateway": "gateway9", + "status": "status1", + "pgid": "pgid5", + "created_at": "created_at7", + "updated_at": "updated_at5" + } + ], + "metadata": { + "key0": "metadata0", + "key1": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type7", + "volume_percentage": 173, + "delay": 207, + "days": [ + 183, + 184 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval9", + "transfer_day": 43 + }, + "code": "code1", + "payment_mode": "payment_mode7" + }, + "metadata": { + "key0": "metadata8", + "key1": "metadata7", + "key2": "metadata6" + }, + "pix_key": "pix_key5" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata0", + "key1": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 153, + "delay": 137, + "days": [ + 113, + 114 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval1", + "transfer_day": 63 + }, + "code": "code1", + "payment_mode": "payment_mode7" + }, + "gateway_id": "gateway_id1", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee7" + }, + "id": "id1" + } + ], + "next_attempt": "2016-03-13T12:52:32.123Z", + "transaction_type": "transaction", + "id": "id9", + "gateway_response": { + "code": "code9", + "errors": [ + { + "message": "message6" + } + ] + }, + "antifraud_response": { + "status": "status9", + "return_code": "return_code7", + "return_message": "return_message5", + "provider_name": "provider_name5", + "score": "score7" + }, + "metadata": { + "key0": "metadata0", + "key1": "metadata9", + "key2": "metadata8" + }, + "split": [ + {}, + {}, + {} + ], + "interest": { + "days": 215, + "type": "type1", + "amount": 33 + }, + "fine": { + "days": 233, + "type": "type1", + "amount": 51 + }, + "max_days_to_pay_past_due": 221 + }, + "invoice": { + "id": "id1", + "code": "code9", + "url": "url5", + "amount": 197, + "status": "status3", + "payment_method": "payment_method9", + "created_at": "2016-03-13T12:52:32.123Z", + "items": [ + {} + ], + "customer": {}, + "charge": { + "id": "id7", + "code": "code5", + "gateway_id": "gateway_id3", + "amount": 93, + "status": "status1", + "currency": "currency3", + "payment_method": "payment_method3", + "due_at": "2016-03-13T12:52:32.123Z", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "last_transaction": { + "gateway_id": "gateway_id9", + "amount": 151, + "status": "status1", + "success": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 127, + "max_attempts": 115, + "splits": [ + {} + ], + "next_attempt": "2016-03-13T12:52:32.123Z", + "transaction_type": "transaction", + "id": "id9", + "gateway_response": { + "code": "code9", + "errors": [ + {} + ] + }, + "antifraud_response": { + "status": "status9", + "return_code": "return_code7", + "return_message": "return_message5", + "provider_name": "provider_name5", + "score": "score7" + }, + "metadata": { + "key0": "metadata6", + "key1": "metadata5" + }, + "split": [ + {}, + {}, + {} + ], + "interest": { + "days": 215, + "type": "type9", + "amount": 33 + }, + "fine": { + "days": 75, + "type": "type1", + "amount": 149 + }, + "max_days_to_pay_past_due": 63 + }, + "invoice": {}, + "order": { + "id": "id9", + "code": "code7", + "currency": "currency9", + "items": [ + { + "id": "id6", + "amount": 162, + "description": "description6", + "quantity": 20, + "category": "category4", + "code": "code4" + }, + { + "id": "id7", + "amount": 163, + "description": "description7", + "quantity": 21, + "category": "category5", + "code": "code5" + } + ], + "customer": {}, + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "charges": [ + {}, + {}, + {} + ], + "invoice_url": "invoice_url1", + "shipping": { + "amount": 201, + "description": "description3", + "recipient_name": "recipient_name1", + "recipient_phone": "recipient_phone5", + "address": {}, + "max_delivery_date": "2016-03-13T12:52:32.123Z", + "estimated_delivery_date": "2016-03-13T12:52:32.123Z", + "type": "type3" + }, + "metadata": { + "key0": "metadata6", + "key1": "metadata5", + "key2": "metadata4" + }, + "checkouts": [ + { + "id": "id6", + "amount": 112, + "default_payment_method": "default_payment_method6", + "success_url": "success_url8", + "payment_url": "payment_url0", + "gateway_affiliation_id": "gateway_affiliation_id2", + "accepted_payment_methods": [ + "accepted_payment_methods9", + "accepted_payment_methods0", + "accepted_payment_methods1" + ], + "status": "status8", + "skip_checkout_success_page": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "customer_editable": false, + "customer": {}, + "billingaddress": {}, + "credit_card": { + "statementDescriptor": "statementDescriptor0", + "installments": [ + { + "number": "number7", + "total": 69 + } + ], + "authentication": { + "type": "type6", + "threed_secure": { + "mpi": "mpi2", + "eci": "eci4", + "cavv": "cavv0", + "transaction_Id": "transaction_Id0", + "success_url": "success_url6" + } + } + }, + "boleto": { + "due_at": "2016-03-13T12:52:32.123Z", + "instructions": "instructions4" + }, + "billing_address_editable": false, + "shipping": { + "amount": 210, + "description": "description0", + "recipient_name": "recipient_name8", + "recipient_phone": "recipient_phone2", + "address": {}, + "max_delivery_date": "2016-03-13T12:52:32.123Z", + "estimated_delivery_date": "2016-03-13T12:52:32.123Z", + "type": "type0" + }, + "shippable": false, + "closed_at": "2016-03-13T12:52:32.123Z", + "expires_at": "2016-03-13T12:52:32.123Z", + "currency": "currency6", + "debit_card": { + "statement_descriptor": "statement_descriptor0", + "authentication": { + "type": "type2", + "threed_secure": { + "mpi": "mpi8", + "eci": "eci0", + "cavv": "cavv6", + "transaction_Id": "transaction_Id6", + "success_url": "success_url2" + } + } + }, + "bank_transfer": { + "bank": [ + "bank1", + "bank2", + "bank3" + ] + }, + "accepted_brands": [ + "accepted_brands2", + "accepted_brands3", + "accepted_brands4" + ], + "pix": { + "expires_at": "2016-03-13T12:52:32.123Z", + "additional_information": [ + { + "Name": "Name3", + "Value": "Value1" + }, + { + "Name": "Name4", + "Value": "Value2" + }, + { + "Name": "Name5", + "Value": "Value3" + } + ] + } + } + ], + "ip": "ip3", + "session_id": "session_id1", + "location": { + "latitude": "latitude7", + "longitude": "longitude7" + }, + "device": { + "platform": "platform9" + }, + "closed": true + }, + "customer": {}, + "metadata": { + "key0": "metadata6" + }, + "paid_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "canceled_amount": 203, + "paid_amount": 71, + "interest_and_fine_paid": 189, + "recurrency_cycle": "recurrency_cycle1" + }, + "installments": 237, + "billing_address": { + "street": "street3", + "number": "number9", + "zip_code": "zip_code7", + "neighborhood": "neighborhood9", + "city": "city3", + "state": "state9", + "country": "country7", + "complement": "complement1", + "line_1": "line_13", + "line_2": "line_21" + }, + "subscription": { + "id": "id3", + "code": "code1", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval1", + "interval_count": 247, + "billing_type": "billing_type3", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id1", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id3", + "code": "code1", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval1", + "interval_count": 115, + "billing_type": "billing_type3", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id1", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status3", + "duration": 99, + "created_at": "created_at9", + "updated_at": "updated_at7", + "cycle": 39 + }, + "payment_method": "payment_method7", + "currency": "currency3", + "installments": 27, + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id3", + "last_four_digits": "last_four_digits9", + "brand": "brand7", + "holder_name": "holder_name1", + "exp_month": 5, + "exp_year": 35, + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street5", + "number": "number7", + "zip_code": "zip_code9", + "neighborhood": "neighborhood1", + "city": "city5", + "state": "state9", + "country": "country9", + "complement": "complement9", + "line_1": "line_11", + "line_2": "line_23" + }, + "customer": {}, + "metadata": { + "key0": "metadata0", + "key1": "metadata1" + }, + "type": "type7", + "holder_document": "holder_document3", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits3", + "label": "label3" + }, + "items": [ + { + "id": "id0", + "description": "description0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id1", + "value": 198.03, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 115, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": { + "id": "id7", + "description": "description7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id8", + "value": 233.1, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 38, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id9", + "value": 233.11, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 39, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id0", + "value": 233.12, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 40, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id6", + "value": 88.38, + "increment_type": "increment_type8", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 158, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name7", + "quantity": 83, + "cycles": 103, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {} + ], + "subscription": {}, + "name": "name0", + "quantity": 160, + "cycles": 76, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id1", + "description": "description1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id2", + "value": 198.04, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 116, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": { + "id": "id8", + "description": "description8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id9", + "value": 233.11, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 39, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id7", + "value": 88.39, + "increment_type": "increment_type9", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 159, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id8", + "value": 88.4, + "increment_type": "increment_type0", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 160, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name8", + "quantity": 84, + "cycles": 104, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id3", + "value": 198.05, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 117, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": { + "id": "id9", + "description": "description9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id0", + "value": 233.12, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 40, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id1", + "value": 233.13, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 41, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id8", + "value": 88.4, + "increment_type": "increment_type0", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 160, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id9", + "value": 88.41, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 161, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id0", + "value": 88.42, + "increment_type": "increment_type2", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 162, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name9", + "quantity": 85, + "cycles": 105, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {}, + {} + ], + "subscription": {}, + "name": "name1", + "quantity": 161, + "cycles": 75, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id2", + "description": "description2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id3", + "value": 198.05, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 117, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": { + "id": "id9", + "description": "description9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id0", + "value": 233.12, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 40, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id1", + "value": 233.13, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 41, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id8", + "value": 88.4, + "increment_type": "increment_type0", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 160, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id9", + "value": 88.41, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 161, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id0", + "value": 88.42, + "increment_type": "increment_type2", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 162, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name9", + "quantity": 85, + "cycles": 105, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id4", + "value": 198.06, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 118, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": { + "id": "id0", + "description": "description0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id1", + "value": 233.13, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 41, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id2", + "value": 233.14, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 42, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id3", + "value": 233.15, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 43, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id9", + "value": 88.41, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 161, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name0", + "quantity": 86, + "cycles": 106, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id5", + "value": 198.07, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 119, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": { + "id": "id1", + "description": "description1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id2", + "value": 233.14, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 42, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id0", + "value": 88.42, + "increment_type": "increment_type2", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 162, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id1", + "value": 88.43, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 163, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name1", + "quantity": 87, + "cycles": 107, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {} + ], + "subscription": {}, + "name": "name2", + "quantity": 162, + "cycles": 74, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor3", + "metadata": { + "key0": "metadata0", + "key1": "metadata1" + }, + "setup": { + "id": "id7", + "description": "description3", + "amount": 51, + "status": "status1" + }, + "gateway_affiliation_id": "gateway_affiliation_id9", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 1, + "minimum_price": 143, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 227, + "split": { + "enabled": true, + "rules": [ + {}, + {}, + {} + ] + }, + "boleto": { + "interest": {}, + "fine": {}, + "max_days_to_pay_past_due": 159 + }, + "manual_billing": true + }, + "status": "status3", + "duration": 231, + "created_at": "created_at9", + "updated_at": "updated_at7", + "cycle": 171 + }, + "payment_method": "payment_method7", + "currency": "currency3", + "installments": 159, + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id3", + "last_four_digits": "last_four_digits9", + "brand": "brand7", + "holder_name": "holder_name9", + "exp_month": 137, + "exp_year": 159, + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": {}, + "customer": {}, + "metadata": { + "key0": "metadata0", + "key1": "metadata1" + }, + "type": "type7", + "holder_document": "holder_document3", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits3", + "label": "label3" + }, + "items": [ + {}, + {}, + {} + ], + "statement_descriptor": "statement_descriptor3", + "metadata": { + "key0": "metadata0", + "key1": "metadata1" + }, + "setup": { + "id": "id7", + "description": "description3", + "amount": 183, + "status": "status1" + }, + "gateway_affiliation_id": "gateway_affiliation_id9", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 125, + "minimum_price": 11, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 103, + "split": { + "enabled": true, + "rules": [ + {}, + {}, + {} + ] + }, + "boleto": { + "interest": {}, + "fine": {}, + "max_days_to_pay_past_due": 35 + }, + "manual_billing": true + }, + "cycle": {}, + "shipping": {}, + "metadata": { + "key0": "metadata8" + }, + "due_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "billing_at": "2016-03-13T12:52:32.123Z", + "seen_at": "2016-03-13T12:52:32.123Z", + "total_discount": 49, + "total_increment": 121, + "subscription_id": "subscription_id1" + }, + "order": { + "id": "id9", + "code": "code7", + "currency": "currency1", + "items": [ + {}, + {} + ], + "customer": {}, + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "charges": [ + {}, + {} + ], + "invoice_url": "invoice_url1", + "shipping": {}, + "metadata": { + "key0": "metadata4", + "key1": "metadata5", + "key2": "metadata6" + }, + "checkouts": [ + {} + ], + "ip": "ip3", + "session_id": "session_id9", + "location": { + "latitude": "latitude3", + "longitude": "longitude7" + }, + "device": { + "platform": "platform1" + }, + "closed": true + }, + "customer": {}, + "metadata": { + "key0": "metadata4" + }, + "paid_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "canceled_amount": 105, + "paid_amount": 87, + "interest_and_fine_paid": 91, + "recurrency_cycle": "recurrency_cycle1" + }, + "installments": 161, + "billing_address": {}, + "subscription": {}, + "cycle": {}, + "shipping": {}, + "metadata": { + "key0": "metadata4", + "key1": "metadata3" + }, + "due_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "billing_at": "2016-03-13T12:52:32.123Z", + "seen_at": "2016-03-13T12:52:32.123Z", + "total_discount": 229, + "total_increment": 45, + "subscription_id": "subscription_id5" + }, + { + "id": "id6", + "code": "code4", + "url": "url0", + "amount": 122, + "status": "status8", + "payment_method": "payment_method6", + "created_at": "2016-03-13T12:52:32.123Z", + "items": [ + { + "amount": 181, + "description": "description3", + "pricing_scheme": { + "price": 29, + "scheme_type": "scheme_type5", + "price_brackets": [ + { + "start_quantity": 238, + "price": 176, + "end_quantity": 246, + "overage_price": 4 + } + ], + "minimum_price": 125, + "percentage": 132.63 + }, + "price_bracket": {}, + "quantity": 39, + "name": "name3", + "subscription_item_id": "subscription_item_id7" + }, + { + "amount": 182, + "description": "description4", + "pricing_scheme": { + "price": 30, + "scheme_type": "scheme_type6", + "price_brackets": [ + { + "start_quantity": 239, + "price": 177, + "end_quantity": 247, + "overage_price": 5 + }, + { + "start_quantity": 240, + "price": 178, + "end_quantity": 248, + "overage_price": 6 + } + ], + "minimum_price": 126, + "percentage": 132.64 + }, + "price_bracket": {}, + "quantity": 40, + "name": "name4", + "subscription_item_id": "subscription_item_id8" + }, + { + "amount": 183, + "description": "description5", + "pricing_scheme": { + "price": 31, + "scheme_type": "scheme_type7", + "price_brackets": [ + { + "start_quantity": 240, + "price": 178, + "end_quantity": 248, + "overage_price": 6 + }, + { + "start_quantity": 241, + "price": 179, + "end_quantity": 249, + "overage_price": 7 + }, + { + "start_quantity": 242, + "price": 180, + "end_quantity": 250, + "overage_price": 8 + } + ], + "minimum_price": 127, + "percentage": 132.65 + }, + "price_bracket": {}, + "quantity": 41, + "name": "name5", + "subscription_item_id": "subscription_item_id9" + } + ], + "customer": { + "id": "id6", + "name": "name6", + "email": "email0", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document0", + "type": "type6", + "fb_access_token": "fb_access_token0", + "address": { + "id": "id2", + "street": "street2", + "number": "number0", + "complement": "complement8", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city2", + "state": "state8", + "country": "country6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id2", + "name": "name2", + "email": "email6", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document6", + "type": "type2", + "fb_access_token": "fb_access_token6", + "address": { + "id": "id8", + "street": "street8", + "number": "number6", + "complement": "complement4", + "zip_code": "zip_code2", + "neighborhood": "neighborhood4", + "city": "city8", + "state": "state4", + "country": "country2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata0" + }, + "line_1": "line_12", + "line_2": "line_26", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata4" + }, + "phones": { + "home_phone": { + "country_code": "country_code4", + "number": "number2", + "area_code": "area_code4" + }, + "mobile_phone": { + "country_code": "country_code4", + "number": "number2", + "area_code": "area_code4" + } + }, + "fb_id": 204, + "code": "code0", + "document_type": "document_type0" + }, + "metadata": { + "key0": "metadata3" + }, + "line_1": "line_16", + "line_2": "line_20", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 154, + "code": "code4", + "document_type": "document_type4" + }, + "charge": { + "id": "id8", + "code": "code6", + "gateway_id": "gateway_id2", + "amount": 252, + "status": "status0", + "currency": "currency8", + "payment_method": "payment_method2", + "due_at": "2016-03-13T12:52:32.123Z", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "last_transaction": { + "gateway_id": "gateway_id0", + "amount": 54, + "status": "status2", + "success": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 30, + "max_attempts": 18, + "splits": [ + { + "type": "type2", + "amount": 242, + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document8", + "description": "description4", + "type": "type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document8", + "description": "description4", + "type": "type4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata7" + }, + "pix_key": "pix_key6" + }, + "gateway_recipients": [ + { + "gateway": "gateway8", + "status": "status0", + "pgid": "pgid4", + "created_at": "created_at6", + "updated_at": "updated_at4" + } + ], + "metadata": { + "key0": "metadata1" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 174, + "delay": 208, + "days": [ + 184, + 185, + 186 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 44 + }, + "code": "code2", + "payment_mode": "payment_mode8" + }, + "metadata": { + "key0": "metadata7" + }, + "pix_key": "pix_key6" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata1" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 152, + "delay": 138, + "days": [ + 114, + 115, + 116 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 62 + }, + "code": "code2", + "payment_mode": "payment_mode8" + }, + "gateway_id": "gateway_id2", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee8" + }, + "id": "id2" + }, + { + "type": "type3", + "amount": 243, + "recipient": { + "id": "id5", + "name": "name5", + "email": "email1", + "document": "document9", + "description": "description5", + "type": "type5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id3", + "holder_name": "holder_name9", + "holder_type": "holder_type5", + "bank": "bank1", + "branch_number": "branch_number9", + "branch_check_digit": "branch_check_digit9", + "account_number": "account_number3", + "account_check_digit": "account_check_digit9", + "type": "type3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id5", + "name": "name5", + "email": "email1", + "document": "document9", + "description": "description5", + "type": "type5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id3", + "holder_name": "holder_name9", + "holder_type": "holder_type5", + "bank": "bank1", + "branch_number": "branch_number9", + "branch_check_digit": "branch_check_digit9", + "account_number": "account_number3", + "account_check_digit": "account_check_digit9", + "type": "type3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata6", + "key1": "metadata5" + }, + "pix_key": "pix_key7" + }, + "gateway_recipients": [ + { + "gateway": "gateway9", + "status": "status1", + "pgid": "pgid5", + "created_at": "created_at7", + "updated_at": "updated_at5" + }, + { + "gateway": "gateway0", + "status": "status2", + "pgid": "pgid6", + "created_at": "created_at8", + "updated_at": "updated_at6" + } + ], + "metadata": { + "key0": "metadata2", + "key1": "metadata1", + "key2": "metadata0" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type9", + "volume_percentage": 175, + "delay": 209, + "days": [ + 185 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval1", + "transfer_day": 45 + }, + "code": "code3", + "payment_mode": "payment_mode9" + }, + "metadata": { + "key0": "metadata6", + "key1": "metadata5" + }, + "pix_key": "pix_key7" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata2", + "key1": "metadata1", + "key2": "metadata0" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type1", + "volume_percentage": 151, + "delay": 139, + "days": [ + 115 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval9", + "transfer_day": 61 + }, + "code": "code3", + "payment_mode": "payment_mode9" + }, + "gateway_id": "gateway_id3", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee9" + }, + "id": "id3" + } + ], + "next_attempt": "2016-03-13T12:52:32.123Z", + "transaction_type": "transaction", + "id": "id0", + "gateway_response": { + "code": "code0", + "errors": [ + { + "message": "message7" + }, + { + "message": "message8" + } + ] + }, + "antifraud_response": { + "status": "status0", + "return_code": "return_code8", + "return_message": "return_message6", + "provider_name": "provider_name6", + "score": "score8" + }, + "metadata": { + "key0": "metadata9" + }, + "split": [ + {} + ], + "interest": { + "days": 216, + "type": "type0", + "amount": 34 + }, + "fine": { + "days": 234, + "type": "type2", + "amount": 52 + }, + "max_days_to_pay_past_due": 222 + }, + "invoice": { + "id": "id2", + "code": "code0", + "url": "url6", + "amount": 198, + "status": "status4", + "payment_method": "payment_method8", + "created_at": "2016-03-13T12:52:32.123Z", + "items": [ + {}, + {} + ], + "customer": {}, + "charge": { + "id": "id6", + "code": "code4", + "gateway_id": "gateway_id4", + "amount": 92, + "status": "status2", + "currency": "currency4", + "payment_method": "payment_method4", + "due_at": "2016-03-13T12:52:32.123Z", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "last_transaction": { + "gateway_id": "gateway_id8", + "amount": 150, + "status": "status0", + "success": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 126, + "max_attempts": 114, + "splits": [ + {}, + {}, + {} + ], + "next_attempt": "2016-03-13T12:52:32.123Z", + "transaction_type": "transaction", + "id": "id8", + "gateway_response": { + "code": "code8", + "errors": [ + {}, + {}, + {} + ] + }, + "antifraud_response": { + "status": "status8", + "return_code": "return_code6", + "return_message": "return_message4", + "provider_name": "provider_name4", + "score": "score6" + }, + "metadata": { + "key0": "metadata5", + "key1": "metadata4", + "key2": "metadata3" + }, + "split": [ + {}, + {} + ], + "interest": { + "days": 216, + "type": "type8", + "amount": 34 + }, + "fine": { + "days": 74, + "type": "type0", + "amount": 148 + }, + "max_days_to_pay_past_due": 62 + }, + "invoice": {}, + "order": { + "id": "id0", + "code": "code8", + "currency": "currency0", + "items": [ + { + "id": "id7", + "amount": 163, + "description": "description7", + "quantity": 21, + "category": "category5", + "code": "code5" + }, + { + "id": "id8", + "amount": 164, + "description": "description8", + "quantity": 22, + "category": "category6", + "code": "code6" + }, + { + "id": "id9", + "amount": 165, + "description": "description9", + "quantity": 23, + "category": "category7", + "code": "code7" + } + ], + "customer": {}, + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "charges": [ + {} + ], + "invoice_url": "invoice_url2", + "shipping": { + "amount": 202, + "description": "description4", + "recipient_name": "recipient_name2", + "recipient_phone": "recipient_phone6", + "address": {}, + "max_delivery_date": "2016-03-13T12:52:32.123Z", + "estimated_delivery_date": "2016-03-13T12:52:32.123Z", + "type": "type4" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata6" + }, + "checkouts": [ + { + "id": "id7", + "amount": 113, + "default_payment_method": "default_payment_method7", + "success_url": "success_url9", + "payment_url": "payment_url1", + "gateway_affiliation_id": "gateway_affiliation_id3", + "accepted_payment_methods": [ + "accepted_payment_methods0" + ], + "status": "status9", + "skip_checkout_success_page": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "customer_editable": true, + "customer": {}, + "billingaddress": {}, + "credit_card": { + "statementDescriptor": "statementDescriptor1", + "installments": [ + { + "number": "number8", + "total": 70 + }, + { + "number": "number9", + "total": 71 + } + ], + "authentication": { + "type": "type7", + "threed_secure": { + "mpi": "mpi3", + "eci": "eci5", + "cavv": "cavv1", + "transaction_Id": "transaction_Id1", + "success_url": "success_url7" + } + } + }, + "boleto": { + "due_at": "2016-03-13T12:52:32.123Z", + "instructions": "instructions5" + }, + "billing_address_editable": true, + "shipping": { + "amount": 211, + "description": "description1", + "recipient_name": "recipient_name9", + "recipient_phone": "recipient_phone3", + "address": {}, + "max_delivery_date": "2016-03-13T12:52:32.123Z", + "estimated_delivery_date": "2016-03-13T12:52:32.123Z", + "type": "type1" + }, + "shippable": true, + "closed_at": "2016-03-13T12:52:32.123Z", + "expires_at": "2016-03-13T12:52:32.123Z", + "currency": "currency7", + "debit_card": { + "statement_descriptor": "statement_descriptor1", + "authentication": { + "type": "type3", + "threed_secure": { + "mpi": "mpi9", + "eci": "eci1", + "cavv": "cavv7", + "transaction_Id": "transaction_Id7", + "success_url": "success_url3" + } + } + }, + "bank_transfer": { + "bank": [ + "bank2" + ] + }, + "accepted_brands": [ + "accepted_brands3" + ], + "pix": { + "expires_at": "2016-03-13T12:52:32.123Z", + "additional_information": [ + { + "Name": "Name4", + "Value": "Value2" + } + ] + } + }, + { + "id": "id8", + "amount": 114, + "default_payment_method": "default_payment_method8", + "success_url": "success_url0", + "payment_url": "payment_url2", + "gateway_affiliation_id": "gateway_affiliation_id4", + "accepted_payment_methods": [ + "accepted_payment_methods1", + "accepted_payment_methods2" + ], + "status": "status0", + "skip_checkout_success_page": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "customer_editable": false, + "customer": {}, + "billingaddress": {}, + "credit_card": { + "statementDescriptor": "statementDescriptor2", + "installments": [ + { + "number": "number9", + "total": 71 + }, + { + "number": "number0", + "total": 72 + }, + { + "number": "number1", + "total": 73 + } + ], + "authentication": { + "type": "type8", + "threed_secure": { + "mpi": "mpi4", + "eci": "eci6", + "cavv": "cavv2", + "transaction_Id": "transaction_Id2", + "success_url": "success_url8" + } + } + }, + "boleto": { + "due_at": "2016-03-13T12:52:32.123Z", + "instructions": "instructions6" + }, + "billing_address_editable": false, + "shipping": { + "amount": 212, + "description": "description2", + "recipient_name": "recipient_name0", + "recipient_phone": "recipient_phone4", + "address": {}, + "max_delivery_date": "2016-03-13T12:52:32.123Z", + "estimated_delivery_date": "2016-03-13T12:52:32.123Z", + "type": "type2" + }, + "shippable": false, + "closed_at": "2016-03-13T12:52:32.123Z", + "expires_at": "2016-03-13T12:52:32.123Z", + "currency": "currency8", + "debit_card": { + "statement_descriptor": "statement_descriptor2", + "authentication": { + "type": "type4", + "threed_secure": { + "mpi": "mpi0", + "eci": "eci2", + "cavv": "cavv8", + "transaction_Id": "transaction_Id8", + "success_url": "success_url4" + } + } + }, + "bank_transfer": { + "bank": [ + "bank3", + "bank4" + ] + }, + "accepted_brands": [ + "accepted_brands4", + "accepted_brands5" + ], + "pix": { + "expires_at": "2016-03-13T12:52:32.123Z", + "additional_information": [ + { + "Name": "Name5", + "Value": "Value3" + }, + { + "Name": "Name6", + "Value": "Value4" + } + ] + } + } + ], + "ip": "ip4", + "session_id": "session_id2", + "location": { + "latitude": "latitude8", + "longitude": "longitude8" + }, + "device": { + "platform": "platform0" + }, + "closed": false + }, + "customer": {}, + "metadata": { + "key0": "metadata7", + "key1": "metadata8" + }, + "paid_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "canceled_amount": 202, + "paid_amount": 72, + "interest_and_fine_paid": 188, + "recurrency_cycle": "recurrency_cycle0" + }, + "installments": 238, + "billing_address": { + "street": "street4", + "number": "number8", + "zip_code": "zip_code8", + "neighborhood": "neighborhood0", + "city": "city4", + "state": "state0", + "country": "country8", + "complement": "complement0", + "line_1": "line_12", + "line_2": "line_22" + }, + "subscription": { + "id": "id2", + "code": "code0", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval0", + "interval_count": 246, + "billing_type": "billing_type4", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id0", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id4", + "code": "code2", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval2", + "interval_count": 116, + "billing_type": "billing_type2", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id2", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status4", + "duration": 100, + "created_at": "created_at0", + "updated_at": "updated_at8", + "cycle": 40 + }, + "payment_method": "payment_method6", + "currency": "currency4", + "installments": 28, + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id2", + "last_four_digits": "last_four_digits8", + "brand": "brand6", + "holder_name": "holder_name2", + "exp_month": 6, + "exp_year": 34, + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street6", + "number": "number6", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city4", + "state": "state8", + "country": "country0", + "complement": "complement8", + "line_1": "line_10", + "line_2": "line_24" + }, + "customer": {}, + "metadata": { + "key0": "metadata1", + "key1": "metadata2", + "key2": "metadata3" + }, + "type": "type8", + "holder_document": "holder_document4", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits2", + "label": "label2" + }, + "items": [ + { + "id": "id1", + "description": "description1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id2", + "value": 198.04, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 116, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": { + "id": "id8", + "description": "description8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id9", + "value": 233.11, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 39, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id7", + "value": 88.39, + "increment_type": "increment_type9", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 159, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id8", + "value": 88.4, + "increment_type": "increment_type0", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 160, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name8", + "quantity": 84, + "cycles": 104, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id3", + "value": 198.05, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 117, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": { + "id": "id9", + "description": "description9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id0", + "value": 233.12, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 40, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id1", + "value": 233.13, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 41, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id8", + "value": 88.4, + "increment_type": "increment_type0", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 160, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id9", + "value": 88.41, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 161, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id0", + "value": 88.42, + "increment_type": "increment_type2", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 162, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name9", + "quantity": 85, + "cycles": 105, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {}, + {} + ], + "subscription": {}, + "name": "name1", + "quantity": 161, + "cycles": 75, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor4", + "metadata": { + "key0": "metadata9" + }, + "setup": { + "id": "id8", + "description": "description2", + "amount": 52, + "status": "status0" + }, + "gateway_affiliation_id": "gateway_affiliation_id0", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 0, + "minimum_price": 142, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {} + ], + "increments": [ + {}, + {} + ], + "boleto_due_days": 228, + "split": { + "enabled": false, + "rules": [ + {} + ] + }, + "boleto": { + "interest": {}, + "fine": {}, + "max_days_to_pay_past_due": 160 + }, + "manual_billing": false + }, + "status": "status2", + "duration": 230, + "created_at": "created_at8", + "updated_at": "updated_at6", + "cycle": 170 + }, + "payment_method": "payment_method8", + "currency": "currency2", + "installments": 158, + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id4", + "last_four_digits": "last_four_digits0", + "brand": "brand8", + "holder_name": "holder_name0", + "exp_month": 136, + "exp_year": 160, + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": {}, + "customer": {}, + "metadata": { + "key0": "metadata9" + }, + "type": "type6", + "holder_document": "holder_document2", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits4", + "label": "label4" + }, + "items": [ + {}, + {} + ], + "statement_descriptor": "statement_descriptor2", + "metadata": { + "key0": "metadata1", + "key1": "metadata2", + "key2": "metadata3" + }, + "setup": { + "id": "id6", + "description": "description4", + "amount": 182, + "status": "status2" + }, + "gateway_affiliation_id": "gateway_affiliation_id8", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 126, + "minimum_price": 12, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + {} + ], + "boleto_due_days": 102, + "split": { + "enabled": false, + "rules": [ + {}, + {} + ] + }, + "boleto": { + "interest": {}, + "fine": {}, + "max_days_to_pay_past_due": 34 + }, + "manual_billing": false + }, + "cycle": {}, + "shipping": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata8", + "key2": "metadata7" + }, + "due_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "billing_at": "2016-03-13T12:52:32.123Z", + "seen_at": "2016-03-13T12:52:32.123Z", + "total_discount": 50, + "total_increment": 122, + "subscription_id": "subscription_id2" + }, + "order": { + "id": "id8", + "code": "code6", + "currency": "currency2", + "items": [ + {} + ], + "customer": {}, + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "charges": [ + {}, + {}, + {} + ], + "invoice_url": "invoice_url0", + "shipping": {}, + "metadata": { + "key0": "metadata5" + }, + "checkouts": [ + {}, + {}, + {} + ], + "ip": "ip2", + "session_id": "session_id0", + "location": { + "latitude": "latitude4", + "longitude": "longitude6" + }, + "device": { + "platform": "platform2" + }, + "closed": false + }, + "customer": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata4", + "key2": "metadata3" + }, + "paid_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "canceled_amount": 106, + "paid_amount": 88, + "interest_and_fine_paid": 92, + "recurrency_cycle": "recurrency_cycle2" + }, + "installments": 162, + "billing_address": {}, + "subscription": {}, + "cycle": {}, + "shipping": {}, + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "due_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "billing_at": "2016-03-13T12:52:32.123Z", + "seen_at": "2016-03-13T12:52:32.123Z", + "total_discount": 230, + "total_increment": 46, + "subscription_id": "subscription_id6" + } + ], + "paging": { + "total": 6, + "previous": "previous2", + "next": "next8" + } } ``` diff --git a/doc/models/list-order-response.md b/doc/models/list-order-response.md index 2af11cc..63e09cf 100644 --- a/doc/models/list-order-response.md +++ b/doc/models/list-order-response.md @@ -18,8 +18,5987 @@ Response object for listing order objects ```json { - "data": null, - "paging": null + "data": [ + { + "id": "id5", + "code": "code3", + "currency": "currency5", + "items": [ + { + "id": "id2", + "amount": 180, + "description": "description2", + "quantity": 38, + "category": "category0", + "code": "code0" + }, + { + "id": "id3", + "amount": 181, + "description": "description3", + "quantity": 39, + "category": "category1", + "code": "code1" + } + ], + "customer": { + "id": "id5", + "name": "name5", + "email": "email9", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document9", + "type": "type5", + "fb_access_token": "fb_access_token9", + "address": { + "id": "id1", + "street": "street1", + "number": "number9", + "complement": "complement7", + "zip_code": "zip_code5", + "neighborhood": "neighborhood7", + "city": "city1", + "state": "state7", + "country": "country5", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id1", + "name": "name1", + "email": "email5", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document5", + "type": "type1", + "fb_access_token": "fb_access_token5", + "address": { + "id": "id7", + "street": "street7", + "number": "number5", + "complement": "complement3", + "zip_code": "zip_code1", + "neighborhood": "neighborhood3", + "city": "city7", + "state": "state3", + "country": "country1", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata8" + }, + "line_1": "line_11", + "line_2": "line_25", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata2" + }, + "phones": { + "home_phone": { + "country_code": "country_code3", + "number": "number1", + "area_code": "area_code3" + }, + "mobile_phone": { + "country_code": "country_code3", + "number": "number1", + "area_code": "area_code3" + } + }, + "fb_id": 203, + "code": "code9", + "document_type": "document_type9" + }, + "metadata": { + "key0": "metadata2", + "key1": "metadata3", + "key2": "metadata4" + }, + "line_1": "line_15", + "line_2": "line_29", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata4", + "key1": "metadata3", + "key2": "metadata2" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 153, + "code": "code3", + "document_type": "document_type3" + }, + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "charges": [ + { + "id": "id1", + "code": "code9", + "gateway_id": "gateway_id1", + "amount": 113, + "status": "status3", + "currency": "currency1", + "payment_method": "payment_method1", + "due_at": "2016-03-13T12:52:32.123Z", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "last_transaction": { + "gateway_id": "gateway_id3", + "amount": 171, + "status": "status5", + "success": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 147, + "max_attempts": 135, + "splits": [ + { + "type": "type5", + "amount": 103, + "recipient": { + "id": "id7", + "name": "name7", + "email": "email1", + "document": "document1", + "description": "description7", + "type": "type7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id5", + "holder_name": "holder_name1", + "holder_type": "holder_type7", + "bank": "bank3", + "branch_number": "branch_number1", + "branch_check_digit": "branch_check_digit1", + "account_number": "account_number5", + "account_check_digit": "account_check_digit1", + "type": "type5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id7", + "name": "name7", + "email": "email1", + "document": "document1", + "description": "description7", + "type": "type7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id5", + "holder_name": "holder_name1", + "holder_type": "holder_type7", + "bank": "bank3", + "branch_number": "branch_number1", + "branch_check_digit": "branch_check_digit1", + "account_number": "account_number5", + "account_check_digit": "account_check_digit1", + "type": "type5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata6" + }, + "pix_key": "pix_key9" + }, + "gateway_recipients": [ + { + "gateway": "gateway1", + "status": "status3", + "pgid": "pgid7", + "created_at": "created_at9", + "updated_at": "updated_at7" + } + ], + "metadata": { + "key0": "metadata2" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type1", + "volume_percentage": 35, + "delay": 69, + "days": [ + 45, + 46, + 47 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval3", + "transfer_day": 161 + }, + "code": "code5", + "payment_mode": "payment_mode1" + }, + "metadata": { + "key0": "metadata6" + }, + "pix_key": "pix_key9" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata2" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type1", + "volume_percentage": 221, + "delay": 255, + "days": [ + 231, + 232, + 233 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval3", + "transfer_day": 91 + }, + "code": "code5", + "payment_mode": "payment_mode1" + }, + "gateway_id": "gateway_id5", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee1" + }, + "id": "id5" + }, + { + "type": "type6", + "amount": 104, + "recipient": { + "id": "id8", + "name": "name8", + "email": "email2", + "document": "document2", + "description": "description8", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id8", + "name": "name8", + "email": "email2", + "document": "document2", + "description": "description8", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata7", + "key1": "metadata8" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + { + "gateway": "gateway2", + "status": "status4", + "pgid": "pgid8", + "created_at": "created_at0", + "updated_at": "updated_at8" + }, + { + "gateway": "gateway3", + "status": "status5", + "pgid": "pgid9", + "created_at": "created_at1", + "updated_at": "updated_at9" + } + ], + "metadata": { + "key0": "metadata1", + "key1": "metadata0" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 36, + "delay": 70, + "days": [ + 46 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 162 + }, + "code": "code6", + "payment_mode": "payment_mode2" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata8" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata1", + "key1": "metadata0" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 222, + "delay": 0, + "days": [ + 232 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 92 + }, + "code": "code6", + "payment_mode": "payment_mode2" + }, + "gateway_id": "gateway_id6", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee2" + }, + "id": "id6" + } + ], + "next_attempt": "2016-03-13T12:52:32.123Z", + "transaction_type": "transaction", + "id": "id3", + "gateway_response": { + "code": "code3", + "errors": [ + { + "message": "message0" + }, + { + "message": "message1" + } + ] + }, + "antifraud_response": { + "status": "status3", + "return_code": "return_code1", + "return_message": "return_message9", + "provider_name": "provider_name9", + "score": "score1" + }, + "metadata": { + "key0": "metadata4" + }, + "split": [ + {} + ], + "interest": { + "days": 77, + "type": "type3", + "amount": 151 + }, + "fine": { + "days": 95, + "type": "type5", + "amount": 169 + }, + "max_days_to_pay_past_due": 83 + }, + "invoice": { + "id": "id5", + "code": "code3", + "url": "url9", + "amount": 59, + "status": "status7", + "payment_method": "payment_method5", + "created_at": "2016-03-13T12:52:32.123Z", + "items": [ + { + "amount": 118, + "description": "description2", + "pricing_scheme": { + "price": 34, + "scheme_type": "scheme_type4", + "price_brackets": [ + { + "start_quantity": 175, + "price": 113, + "end_quantity": 183, + "overage_price": 197 + }, + { + "start_quantity": 176, + "price": 114, + "end_quantity": 184, + "overage_price": 198 + }, + { + "start_quantity": 177, + "price": 115, + "end_quantity": 185, + "overage_price": 199 + } + ], + "minimum_price": 62, + "percentage": 162.72 + }, + "price_bracket": {}, + "quantity": 232, + "name": "name2", + "subscription_item_id": "subscription_item_id6" + }, + { + "amount": 119, + "description": "description3", + "pricing_scheme": { + "price": 33, + "scheme_type": "scheme_type5", + "price_brackets": [ + { + "start_quantity": 176, + "price": 114, + "end_quantity": 184, + "overage_price": 198 + } + ], + "minimum_price": 63, + "percentage": 162.73 + }, + "price_bracket": {}, + "quantity": 233, + "name": "name3", + "subscription_item_id": "subscription_item_id7" + } + ], + "customer": {}, + "charge": { + "id": "id7", + "code": "code5", + "gateway_id": "gateway_id3", + "amount": 189, + "status": "status1", + "currency": "currency7", + "payment_method": "payment_method3", + "due_at": "2016-03-13T12:52:32.123Z", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "last_transaction": { + "gateway_id": "gateway_id9", + "amount": 247, + "status": "status1", + "success": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 223, + "max_attempts": 211, + "splits": [ + {} + ], + "next_attempt": "2016-03-13T12:52:32.123Z", + "transaction_type": "transaction", + "id": "id9", + "gateway_response": { + "code": "code9", + "errors": [ + {} + ] + }, + "antifraud_response": { + "status": "status9", + "return_code": "return_code7", + "return_message": "return_message5", + "provider_name": "provider_name5", + "score": "score7" + }, + "metadata": { + "key0": "metadata0", + "key1": "metadata9", + "key2": "metadata8" + }, + "split": [ + {}, + {}, + {} + ], + "interest": { + "days": 153, + "type": "type1", + "amount": 227 + }, + "fine": { + "days": 171, + "type": "type1", + "amount": 245 + }, + "max_days_to_pay_past_due": 159 + }, + "invoice": { + "id": "id1", + "code": "code9", + "url": "url5", + "amount": 135, + "status": "status7", + "payment_method": "payment_method9", + "created_at": "2016-03-13T12:52:32.123Z", + "items": [ + {} + ], + "customer": {}, + "charge": {}, + "installments": 175, + "billing_address": { + "street": "street3", + "number": "number9", + "zip_code": "zip_code7", + "neighborhood": "neighborhood9", + "city": "city7", + "state": "state1", + "country": "country7", + "complement": "complement1", + "line_1": "line_13", + "line_2": "line_21" + }, + "subscription": { + "id": "id3", + "code": "code1", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval1", + "interval_count": 53, + "billing_type": "billing_type7", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id1", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id7", + "code": "code5", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval5", + "interval_count": 111, + "billing_type": "billing_type9", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id5", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status3", + "duration": 95, + "created_at": "created_at3", + "updated_at": "updated_at9", + "cycle": 35 + }, + "payment_method": "payment_method3", + "currency": "currency3", + "installments": 23, + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id9", + "last_four_digits": "last_four_digits5", + "brand": "brand3", + "holder_name": "holder_name5", + "exp_month": 1, + "exp_year": 39, + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street1", + "number": "number1", + "zip_code": "zip_code5", + "neighborhood": "neighborhood7", + "city": "city9", + "state": "state3", + "country": "country5", + "complement": "complement3", + "line_1": "line_15", + "line_2": "line_29" + }, + "customer": {}, + "metadata": { + "key0": "metadata4", + "key1": "metadata5", + "key2": "metadata6" + }, + "type": "type1", + "holder_document": "holder_document7", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits9", + "label": "label9" + }, + "items": [ + { + "id": "id4", + "description": "description4", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id5", + "value": 244.07, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 111, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": { + "id": "id1", + "description": "description1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id2", + "value": 23.14, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 34, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id0", + "value": 134.42, + "increment_type": "increment_type2", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 102, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id1", + "value": 134.43, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 101, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name1", + "quantity": 79, + "cycles": 99, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id6", + "value": 244.08, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 112, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": { + "id": "id2", + "description": "description2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id3", + "value": 23.15, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 35, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 23.16, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 36, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id1", + "value": 134.43, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 101, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id2", + "value": 134.44, + "increment_type": "increment_type4", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 100, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id3", + "value": 134.45, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 99, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name2", + "quantity": 80, + "cycles": 100, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {} + ], + "subscription": {}, + "name": "name4", + "quantity": 156, + "cycles": 80, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor7", + "metadata": { + "key0": "metadata6" + }, + "setup": { + "id": "id9", + "description": "description1", + "amount": 139, + "status": "status9" + }, + "gateway_affiliation_id": "gateway_affiliation_id7", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 5, + "minimum_price": 147, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {} + ], + "increments": [ + {}, + {} + ], + "boleto_due_days": 223, + "split": { + "enabled": true, + "rules": [ + {} + ] + }, + "boleto": { + "interest": {}, + "fine": {}, + "max_days_to_pay_past_due": 89 + }, + "manual_billing": true + }, + "status": "status3", + "duration": 37, + "created_at": "created_at9", + "updated_at": "updated_at7", + "cycle": 233 + }, + "payment_method": "payment_method7", + "currency": "currency3", + "installments": 221, + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id7", + "last_four_digits": "last_four_digits3", + "brand": "brand1", + "holder_name": "holder_name3", + "exp_month": 141, + "exp_year": 155, + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": {}, + "customer": {}, + "metadata": { + "key0": "metadata6" + }, + "type": "type3", + "holder_document": "holder_document9", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits7", + "label": "label7" + }, + "items": [ + {}, + {}, + {} + ], + "statement_descriptor": "statement_descriptor3", + "metadata": { + "key0": "metadata0", + "key1": "metadata9" + }, + "setup": { + "id": "id7", + "description": "description7", + "amount": 245, + "status": "status9" + }, + "gateway_affiliation_id": "gateway_affiliation_id9", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 193, + "minimum_price": 51, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {} + ], + "boleto_due_days": 165, + "split": { + "enabled": true, + "rules": [ + {}, + {}, + {} + ] + }, + "boleto": { + "interest": {}, + "fine": {}, + "max_days_to_pay_past_due": 97 + }, + "manual_billing": true + }, + "cycle": {}, + "shipping": { + "amount": 233, + "description": "description5", + "recipient_name": "recipient_name3", + "recipient_phone": "recipient_phone7", + "address": {}, + "max_delivery_date": "2016-03-13T12:52:32.123Z", + "estimated_delivery_date": "2016-03-13T12:52:32.123Z", + "type": "type5" + }, + "metadata": { + "key0": "metadata2" + }, + "due_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "billing_at": "2016-03-13T12:52:32.123Z", + "seen_at": "2016-03-13T12:52:32.123Z", + "total_discount": 243, + "total_increment": 59, + "subscription_id": "subscription_id1" + }, + "order": { + "id": "id9", + "code": "code7", + "currency": "currency9", + "items": [ + {}, + {} + ], + "customer": {}, + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "charges": [ + {}, + {}, + {} + ], + "invoice_url": "invoice_url1", + "shipping": { + "amount": 105, + "description": "description3", + "recipient_name": "recipient_name1", + "recipient_phone": "recipient_phone5", + "address": {}, + "max_delivery_date": "2016-03-13T12:52:32.123Z", + "estimated_delivery_date": "2016-03-13T12:52:32.123Z", + "type": "type7" + }, + "metadata": { + "key0": "metadata4", + "key1": "metadata5", + "key2": "metadata6" + }, + "checkouts": [ + { + "id": "id6", + "amount": 16, + "default_payment_method": "default_payment_method6", + "success_url": "success_url8", + "payment_url": "payment_url0", + "gateway_affiliation_id": "gateway_affiliation_id2", + "accepted_payment_methods": [ + "accepted_payment_methods9", + "accepted_payment_methods0", + "accepted_payment_methods1" + ], + "status": "status8", + "skip_checkout_success_page": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "customer_editable": false, + "customer": {}, + "billingaddress": {}, + "credit_card": { + "statementDescriptor": "statementDescriptor0", + "installments": [ + { + "number": "number7", + "total": 229 + } + ], + "authentication": { + "type": "type6", + "threed_secure": { + "mpi": "mpi2", + "eci": "eci4", + "cavv": "cavv0", + "transaction_Id": "transaction_Id0", + "success_url": "success_url6" + } + } + }, + "boleto": { + "due_at": "2016-03-13T12:52:32.123Z", + "instructions": "instructions4" + }, + "billing_address_editable": false, + "shipping": {}, + "shippable": false, + "closed_at": "2016-03-13T12:52:32.123Z", + "expires_at": "2016-03-13T12:52:32.123Z", + "currency": "currency6", + "debit_card": { + "statement_descriptor": "statement_descriptor0", + "authentication": { + "type": "type8", + "threed_secure": { + "mpi": "mpi8", + "eci": "eci0", + "cavv": "cavv6", + "transaction_Id": "transaction_Id4", + "success_url": "success_url2" + } + } + }, + "bank_transfer": { + "bank": [ + "bank1", + "bank2", + "bank3" + ] + }, + "accepted_brands": [ + "accepted_brands2", + "accepted_brands3", + "accepted_brands4" + ], + "pix": { + "expires_at": "2016-03-13T12:52:32.123Z", + "additional_information": [ + { + "Name": "Name3", + "Value": "Value1" + }, + { + "Name": "Name4", + "Value": "Value2" + }, + { + "Name": "Name5", + "Value": "Value3" + } + ] + } + } + ], + "ip": "ip3", + "session_id": "session_id9", + "location": { + "latitude": "latitude7", + "longitude": "longitude7" + }, + "device": { + "platform": "platform9" + }, + "closed": true + }, + "customer": {}, + "metadata": { + "key0": "metadata6" + }, + "paid_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "canceled_amount": 43, + "paid_amount": 231, + "interest_and_fine_paid": 29, + "recurrency_cycle": "recurrency_cycle1" + }, + "installments": 99, + "billing_address": {}, + "subscription": {}, + "cycle": {}, + "shipping": {}, + "metadata": { + "key0": "metadata4", + "key1": "metadata3" + }, + "due_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "billing_at": "2016-03-13T12:52:32.123Z", + "seen_at": "2016-03-13T12:52:32.123Z", + "total_discount": 167, + "total_increment": 239, + "subscription_id": "subscription_id5" + }, + "order": {}, + "customer": {}, + "metadata": { + "key0": "metadata8", + "key1": "metadata7" + }, + "paid_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "canceled_amount": 223, + "paid_amount": 205, + "interest_and_fine_paid": 209, + "recurrency_cycle": "recurrency_cycle5" + }, + { + "id": "id2", + "code": "code0", + "gateway_id": "gateway_id2", + "amount": 114, + "status": "status4", + "currency": "currency2", + "payment_method": "payment_method2", + "due_at": "2016-03-13T12:52:32.123Z", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "last_transaction": { + "gateway_id": "gateway_id4", + "amount": 172, + "status": "status6", + "success": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 148, + "max_attempts": 136, + "splits": [ + { + "type": "type6", + "amount": 104, + "recipient": { + "id": "id8", + "name": "name8", + "email": "email2", + "document": "document2", + "description": "description8", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id8", + "name": "name8", + "email": "email2", + "document": "document2", + "description": "description8", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata7", + "key1": "metadata8" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + { + "gateway": "gateway2", + "status": "status4", + "pgid": "pgid8", + "created_at": "created_at0", + "updated_at": "updated_at8" + }, + { + "gateway": "gateway3", + "status": "status5", + "pgid": "pgid9", + "created_at": "created_at1", + "updated_at": "updated_at9" + } + ], + "metadata": { + "key0": "metadata1", + "key1": "metadata0" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 36, + "delay": 70, + "days": [ + 46 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 162 + }, + "code": "code6", + "payment_mode": "payment_mode2" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata8" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata1", + "key1": "metadata0" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 222, + "delay": 0, + "days": [ + 232 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 92 + }, + "code": "code6", + "payment_mode": "payment_mode2" + }, + "gateway_id": "gateway_id6", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee2" + }, + "id": "id6" + }, + { + "type": "type7", + "amount": 105, + "recipient": { + "id": "id9", + "name": "name9", + "email": "email3", + "document": "document3", + "description": "description9", + "type": "type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id9", + "name": "name9", + "email": "email3", + "document": "document3", + "description": "description9", + "type": "type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata8", + "key1": "metadata9", + "key2": "metadata0" + }, + "pix_key": "pix_key1" + }, + "gateway_recipients": [ + { + "gateway": "gateway3", + "status": "status5", + "pgid": "pgid9", + "created_at": "created_at1", + "updated_at": "updated_at9" + }, + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + }, + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + } + ], + "metadata": { + "key0": "metadata0", + "key1": "metadata9", + "key2": "metadata8" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 37, + "delay": 71, + "days": [ + 47, + 48 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 163 + }, + "code": "code7", + "payment_mode": "payment_mode3" + }, + "metadata": { + "key0": "metadata8", + "key1": "metadata9", + "key2": "metadata0" + }, + "pix_key": "pix_key1" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata0", + "key1": "metadata9", + "key2": "metadata8" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 223, + "delay": 1, + "days": [ + 233, + 234 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 93 + }, + "code": "code7", + "payment_mode": "payment_mode3" + }, + "gateway_id": "gateway_id7", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee3" + }, + "id": "id7" + }, + { + "type": "type8", + "amount": 106, + "recipient": { + "id": "id0", + "name": "name0", + "email": "email4", + "document": "document4", + "description": "description0", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id0", + "name": "name0", + "email": "email4", + "document": "document4", + "description": "description0", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata9" + }, + "pix_key": "pix_key2" + }, + "gateway_recipients": [ + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + } + ], + "metadata": { + "key0": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 38, + "delay": 72, + "days": [ + 48, + 49, + 50 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 164 + }, + "code": "code8", + "payment_mode": "payment_mode4" + }, + "metadata": { + "key0": "metadata9" + }, + "pix_key": "pix_key2" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 224, + "delay": 2, + "days": [ + 234, + 235, + 236 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 94 + }, + "code": "code8", + "payment_mode": "payment_mode4" + }, + "gateway_id": "gateway_id8", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee4" + }, + "id": "id8" + } + ], + "next_attempt": "2016-03-13T12:52:32.123Z", + "transaction_type": "transaction", + "id": "id4", + "gateway_response": { + "code": "code4", + "errors": [ + { + "message": "message1" + }, + { + "message": "message2" + }, + { + "message": "message3" + } + ] + }, + "antifraud_response": { + "status": "status4", + "return_code": "return_code2", + "return_message": "return_message0", + "provider_name": "provider_name0", + "score": "score2" + }, + "metadata": { + "key0": "metadata5", + "key1": "metadata6" + }, + "split": [ + {}, + {} + ], + "interest": { + "days": 78, + "type": "type4", + "amount": 152 + }, + "fine": { + "days": 96, + "type": "type6", + "amount": 170 + }, + "max_days_to_pay_past_due": 84 + }, + "invoice": { + "id": "id6", + "code": "code4", + "url": "url0", + "amount": 60, + "status": "status8", + "payment_method": "payment_method6", + "created_at": "2016-03-13T12:52:32.123Z", + "items": [ + { + "amount": 119, + "description": "description3", + "pricing_scheme": { + "price": 33, + "scheme_type": "scheme_type5", + "price_brackets": [ + { + "start_quantity": 176, + "price": 114, + "end_quantity": 184, + "overage_price": 198 + } + ], + "minimum_price": 63, + "percentage": 162.73 + }, + "price_bracket": {}, + "quantity": 233, + "name": "name3", + "subscription_item_id": "subscription_item_id7" + }, + { + "amount": 120, + "description": "description4", + "pricing_scheme": { + "price": 32, + "scheme_type": "scheme_type6", + "price_brackets": [ + { + "start_quantity": 177, + "price": 115, + "end_quantity": 185, + "overage_price": 199 + }, + { + "start_quantity": 178, + "price": 116, + "end_quantity": 186, + "overage_price": 200 + } + ], + "minimum_price": 64, + "percentage": 162.74 + }, + "price_bracket": {}, + "quantity": 234, + "name": "name4", + "subscription_item_id": "subscription_item_id8" + }, + { + "amount": 121, + "description": "description5", + "pricing_scheme": { + "price": 31, + "scheme_type": "scheme_type7", + "price_brackets": [ + { + "start_quantity": 178, + "price": 116, + "end_quantity": 186, + "overage_price": 200 + }, + { + "start_quantity": 179, + "price": 117, + "end_quantity": 187, + "overage_price": 201 + }, + { + "start_quantity": 180, + "price": 118, + "end_quantity": 188, + "overage_price": 202 + } + ], + "minimum_price": 65, + "percentage": 162.75 + }, + "price_bracket": {}, + "quantity": 235, + "name": "name5", + "subscription_item_id": "subscription_item_id9" + } + ], + "customer": {}, + "charge": { + "id": "id8", + "code": "code6", + "gateway_id": "gateway_id2", + "amount": 190, + "status": "status0", + "currency": "currency8", + "payment_method": "payment_method2", + "due_at": "2016-03-13T12:52:32.123Z", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "last_transaction": { + "gateway_id": "gateway_id0", + "amount": 248, + "status": "status2", + "success": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 224, + "max_attempts": 212, + "splits": [ + {}, + {} + ], + "next_attempt": "2016-03-13T12:52:32.123Z", + "transaction_type": "transaction", + "id": "id0", + "gateway_response": { + "code": "code0", + "errors": [ + {}, + {} + ] + }, + "antifraud_response": { + "status": "status0", + "return_code": "return_code8", + "return_message": "return_message6", + "provider_name": "provider_name6", + "score": "score8" + }, + "metadata": { + "key0": "metadata9" + }, + "split": [ + {} + ], + "interest": { + "days": 154, + "type": "type0", + "amount": 228 + }, + "fine": { + "days": 172, + "type": "type2", + "amount": 246 + }, + "max_days_to_pay_past_due": 160 + }, + "invoice": { + "id": "id2", + "code": "code0", + "url": "url6", + "amount": 136, + "status": "status6", + "payment_method": "payment_method8", + "created_at": "2016-03-13T12:52:32.123Z", + "items": [ + {}, + {} + ], + "customer": {}, + "charge": {}, + "installments": 176, + "billing_address": { + "street": "street4", + "number": "number8", + "zip_code": "zip_code8", + "neighborhood": "neighborhood0", + "city": "city6", + "state": "state0", + "country": "country8", + "complement": "complement0", + "line_1": "line_12", + "line_2": "line_22" + }, + "subscription": { + "id": "id2", + "code": "code0", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval0", + "interval_count": 52, + "billing_type": "billing_type6", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id0", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id6", + "code": "code4", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval6", + "interval_count": 110, + "billing_type": "billing_type0", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id4", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status4", + "duration": 94, + "created_at": "created_at2", + "updated_at": "updated_at0", + "cycle": 34 + }, + "payment_method": "payment_method4", + "currency": "currency4", + "installments": 22, + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id0", + "last_four_digits": "last_four_digits6", + "brand": "brand4", + "holder_name": "holder_name6", + "exp_month": 0, + "exp_year": 40, + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street2", + "number": "number0", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city8", + "state": "state2", + "country": "country6", + "complement": "complement2", + "line_1": "line_14", + "line_2": "line_20" + }, + "customer": {}, + "metadata": { + "key0": "metadata3", + "key1": "metadata4" + }, + "type": "type0", + "holder_document": "holder_document6", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits0", + "label": "label0" + }, + "items": [ + { + "id": "id3", + "description": "description3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id4", + "value": 244.06, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 110, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": { + "id": "id0", + "description": "description0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id1", + "value": 23.13, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 33, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id2", + "value": 23.14, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 34, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id3", + "value": 23.15, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 35, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id9", + "value": 134.41, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 103, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name0", + "quantity": 78, + "cycles": 98, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {}, + {} + ], + "subscription": {}, + "name": "name3", + "quantity": 155, + "cycles": 81, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id4", + "description": "description4", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id5", + "value": 244.07, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 111, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": { + "id": "id1", + "description": "description1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id2", + "value": 23.14, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 34, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id0", + "value": 134.42, + "increment_type": "increment_type2", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 102, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id1", + "value": 134.43, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 101, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name1", + "quantity": 79, + "cycles": 99, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id6", + "value": 244.08, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 112, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": { + "id": "id2", + "description": "description2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id3", + "value": 23.15, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 35, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 23.16, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 36, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id1", + "value": 134.43, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 101, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id2", + "value": 134.44, + "increment_type": "increment_type4", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 100, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id3", + "value": 134.45, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 99, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name2", + "quantity": 80, + "cycles": 100, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {} + ], + "subscription": {}, + "name": "name4", + "quantity": 156, + "cycles": 80, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id5", + "description": "description5", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id6", + "value": 244.08, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 112, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": { + "id": "id2", + "description": "description2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id3", + "value": 23.15, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 35, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 23.16, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 36, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id1", + "value": 134.43, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 101, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id2", + "value": 134.44, + "increment_type": "increment_type4", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 100, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id3", + "value": 134.45, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 99, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name2", + "quantity": 80, + "cycles": 100, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id7", + "value": 244.09, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 113, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": { + "id": "id3", + "description": "description3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id4", + "value": 23.16, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 36, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 23.17, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 37, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 23.18, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 38, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id2", + "value": 134.44, + "increment_type": "increment_type4", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 100, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name3", + "quantity": 81, + "cycles": 101, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id8", + "value": 244.1, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 114, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": { + "id": "id4", + "description": "description4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id5", + "value": 23.17, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 37, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id3", + "value": 134.45, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 99, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 134.46, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 98, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name4", + "quantity": 82, + "cycles": 102, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {} + ], + "subscription": {}, + "name": "name5", + "quantity": 157, + "cycles": 79, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor6", + "metadata": { + "key0": "metadata7", + "key1": "metadata8" + }, + "setup": { + "id": "id0", + "description": "description0", + "amount": 138, + "status": "status8" + }, + "gateway_affiliation_id": "gateway_affiliation_id8", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 6, + "minimum_price": 148, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 222, + "split": { + "enabled": false, + "rules": [ + {}, + {} + ] + }, + "boleto": { + "interest": {}, + "fine": {}, + "max_days_to_pay_past_due": 90 + }, + "manual_billing": false + }, + "status": "status2", + "duration": 36, + "created_at": "created_at8", + "updated_at": "updated_at6", + "cycle": 232 + }, + "payment_method": "payment_method8", + "currency": "currency2", + "installments": 220, + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id6", + "last_four_digits": "last_four_digits2", + "brand": "brand0", + "holder_name": "holder_name2", + "exp_month": 142, + "exp_year": 154, + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": {}, + "customer": {}, + "metadata": { + "key0": "metadata7", + "key1": "metadata8" + }, + "type": "type4", + "holder_document": "holder_document0", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits6", + "label": "label6" + }, + "items": [ + {}, + {} + ], + "statement_descriptor": "statement_descriptor2", + "metadata": { + "key0": "metadata9", + "key1": "metadata8", + "key2": "metadata7" + }, + "setup": { + "id": "id6", + "description": "description6", + "amount": 244, + "status": "status8" + }, + "gateway_affiliation_id": "gateway_affiliation_id8", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 192, + "minimum_price": 50, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + {} + ], + "boleto_due_days": 164, + "split": { + "enabled": false, + "rules": [ + {}, + {} + ] + }, + "boleto": { + "interest": {}, + "fine": {}, + "max_days_to_pay_past_due": 96 + }, + "manual_billing": false + }, + "cycle": {}, + "shipping": { + "amount": 234, + "description": "description6", + "recipient_name": "recipient_name4", + "recipient_phone": "recipient_phone8", + "address": {}, + "max_delivery_date": "2016-03-13T12:52:32.123Z", + "estimated_delivery_date": "2016-03-13T12:52:32.123Z", + "type": "type4" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata2", + "key2": "metadata3" + }, + "due_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "billing_at": "2016-03-13T12:52:32.123Z", + "seen_at": "2016-03-13T12:52:32.123Z", + "total_discount": 244, + "total_increment": 60, + "subscription_id": "subscription_id2" + }, + "order": { + "id": "id8", + "code": "code6", + "currency": "currency8", + "items": [ + {} + ], + "customer": {}, + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "charges": [ + {}, + {} + ], + "invoice_url": "invoice_url0", + "shipping": { + "amount": 104, + "description": "description2", + "recipient_name": "recipient_name0", + "recipient_phone": "recipient_phone4", + "address": {}, + "max_delivery_date": "2016-03-13T12:52:32.123Z", + "estimated_delivery_date": "2016-03-13T12:52:32.123Z", + "type": "type8" + }, + "metadata": { + "key0": "metadata5" + }, + "checkouts": [ + { + "id": "id5", + "amount": 15, + "default_payment_method": "default_payment_method5", + "success_url": "success_url7", + "payment_url": "payment_url9", + "gateway_affiliation_id": "gateway_affiliation_id1", + "accepted_payment_methods": [ + "accepted_payment_methods8", + "accepted_payment_methods9" + ], + "status": "status7", + "skip_checkout_success_page": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "customer_editable": true, + "customer": {}, + "billingaddress": {}, + "credit_card": { + "statementDescriptor": "statementDescriptor9", + "installments": [ + { + "number": "number6", + "total": 228 + }, + { + "number": "number7", + "total": 229 + }, + { + "number": "number8", + "total": 230 + } + ], + "authentication": { + "type": "type5", + "threed_secure": { + "mpi": "mpi1", + "eci": "eci3", + "cavv": "cavv9", + "transaction_Id": "transaction_Id9", + "success_url": "success_url5" + } + } + }, + "boleto": { + "due_at": "2016-03-13T12:52:32.123Z", + "instructions": "instructions3" + }, + "billing_address_editable": true, + "shipping": {}, + "shippable": true, + "closed_at": "2016-03-13T12:52:32.123Z", + "expires_at": "2016-03-13T12:52:32.123Z", + "currency": "currency5", + "debit_card": { + "statement_descriptor": "statement_descriptor9", + "authentication": { + "type": "type9", + "threed_secure": { + "mpi": "mpi7", + "eci": "eci9", + "cavv": "cavv5", + "transaction_Id": "transaction_Id5", + "success_url": "success_url1" + } + } + }, + "bank_transfer": { + "bank": [ + "bank0", + "bank1" + ] + }, + "accepted_brands": [ + "accepted_brands1", + "accepted_brands2" + ], + "pix": { + "expires_at": "2016-03-13T12:52:32.123Z", + "additional_information": [ + { + "Name": "Name2", + "Value": "Value0" + }, + { + "Name": "Name3", + "Value": "Value1" + } + ] + } + }, + { + "id": "id6", + "amount": 16, + "default_payment_method": "default_payment_method6", + "success_url": "success_url8", + "payment_url": "payment_url0", + "gateway_affiliation_id": "gateway_affiliation_id2", + "accepted_payment_methods": [ + "accepted_payment_methods9", + "accepted_payment_methods0", + "accepted_payment_methods1" + ], + "status": "status8", + "skip_checkout_success_page": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "customer_editable": false, + "customer": {}, + "billingaddress": {}, + "credit_card": { + "statementDescriptor": "statementDescriptor0", + "installments": [ + { + "number": "number7", + "total": 229 + } + ], + "authentication": { + "type": "type6", + "threed_secure": { + "mpi": "mpi2", + "eci": "eci4", + "cavv": "cavv0", + "transaction_Id": "transaction_Id0", + "success_url": "success_url6" + } + } + }, + "boleto": { + "due_at": "2016-03-13T12:52:32.123Z", + "instructions": "instructions4" + }, + "billing_address_editable": false, + "shipping": {}, + "shippable": false, + "closed_at": "2016-03-13T12:52:32.123Z", + "expires_at": "2016-03-13T12:52:32.123Z", + "currency": "currency6", + "debit_card": { + "statement_descriptor": "statement_descriptor0", + "authentication": { + "type": "type8", + "threed_secure": { + "mpi": "mpi8", + "eci": "eci0", + "cavv": "cavv6", + "transaction_Id": "transaction_Id4", + "success_url": "success_url2" + } + } + }, + "bank_transfer": { + "bank": [ + "bank1", + "bank2", + "bank3" + ] + }, + "accepted_brands": [ + "accepted_brands2", + "accepted_brands3", + "accepted_brands4" + ], + "pix": { + "expires_at": "2016-03-13T12:52:32.123Z", + "additional_information": [ + { + "Name": "Name3", + "Value": "Value1" + }, + { + "Name": "Name4", + "Value": "Value2" + }, + { + "Name": "Name5", + "Value": "Value3" + } + ] + } + }, + { + "id": "id7", + "amount": 17, + "default_payment_method": "default_payment_method7", + "success_url": "success_url9", + "payment_url": "payment_url1", + "gateway_affiliation_id": "gateway_affiliation_id3", + "accepted_payment_methods": [ + "accepted_payment_methods0" + ], + "status": "status9", + "skip_checkout_success_page": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "customer_editable": true, + "customer": {}, + "billingaddress": {}, + "credit_card": { + "statementDescriptor": "statementDescriptor1", + "installments": [ + { + "number": "number8", + "total": 230 + }, + { + "number": "number9", + "total": 231 + } + ], + "authentication": { + "type": "type7", + "threed_secure": { + "mpi": "mpi3", + "eci": "eci5", + "cavv": "cavv1", + "transaction_Id": "transaction_Id1", + "success_url": "success_url7" + } + } + }, + "boleto": { + "due_at": "2016-03-13T12:52:32.123Z", + "instructions": "instructions5" + }, + "billing_address_editable": true, + "shipping": {}, + "shippable": true, + "closed_at": "2016-03-13T12:52:32.123Z", + "expires_at": "2016-03-13T12:52:32.123Z", + "currency": "currency7", + "debit_card": { + "statement_descriptor": "statement_descriptor1", + "authentication": { + "type": "type7", + "threed_secure": { + "mpi": "mpi9", + "eci": "eci1", + "cavv": "cavv7", + "transaction_Id": "transaction_Id3", + "success_url": "success_url3" + } + } + }, + "bank_transfer": { + "bank": [ + "bank2" + ] + }, + "accepted_brands": [ + "accepted_brands3" + ], + "pix": { + "expires_at": "2016-03-13T12:52:32.123Z", + "additional_information": [ + { + "Name": "Name4", + "Value": "Value2" + } + ] + } + } + ], + "ip": "ip2", + "session_id": "session_id0", + "location": { + "latitude": "latitude6", + "longitude": "longitude6" + }, + "device": { + "platform": "platform8" + }, + "closed": false + }, + "customer": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata6", + "key2": "metadata7" + }, + "paid_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "canceled_amount": 44, + "paid_amount": 230, + "interest_and_fine_paid": 30, + "recurrency_cycle": "recurrency_cycle2" + }, + "installments": 100, + "billing_address": {}, + "subscription": {}, + "cycle": {}, + "shipping": {}, + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "due_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "billing_at": "2016-03-13T12:52:32.123Z", + "seen_at": "2016-03-13T12:52:32.123Z", + "total_discount": 168, + "total_increment": 240, + "subscription_id": "subscription_id6" + }, + "order": {}, + "customer": {}, + "metadata": { + "key0": "metadata7", + "key1": "metadata6", + "key2": "metadata5" + }, + "paid_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "canceled_amount": 224, + "paid_amount": 206, + "interest_and_fine_paid": 210, + "recurrency_cycle": "recurrency_cycle6" + }, + { + "id": "id3", + "code": "code1", + "gateway_id": "gateway_id3", + "amount": 115, + "status": "status5", + "currency": "currency3", + "payment_method": "payment_method3", + "due_at": "2016-03-13T12:52:32.123Z", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "last_transaction": { + "gateway_id": "gateway_id5", + "amount": 173, + "status": "status7", + "success": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 149, + "max_attempts": 137, + "splits": [ + { + "type": "type7", + "amount": 105, + "recipient": { + "id": "id9", + "name": "name9", + "email": "email3", + "document": "document3", + "description": "description9", + "type": "type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id9", + "name": "name9", + "email": "email3", + "document": "document3", + "description": "description9", + "type": "type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata8", + "key1": "metadata9", + "key2": "metadata0" + }, + "pix_key": "pix_key1" + }, + "gateway_recipients": [ + { + "gateway": "gateway3", + "status": "status5", + "pgid": "pgid9", + "created_at": "created_at1", + "updated_at": "updated_at9" + }, + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + }, + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + } + ], + "metadata": { + "key0": "metadata0", + "key1": "metadata9", + "key2": "metadata8" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 37, + "delay": 71, + "days": [ + 47, + 48 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 163 + }, + "code": "code7", + "payment_mode": "payment_mode3" + }, + "metadata": { + "key0": "metadata8", + "key1": "metadata9", + "key2": "metadata0" + }, + "pix_key": "pix_key1" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata0", + "key1": "metadata9", + "key2": "metadata8" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 223, + "delay": 1, + "days": [ + 233, + 234 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 93 + }, + "code": "code7", + "payment_mode": "payment_mode3" + }, + "gateway_id": "gateway_id7", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee3" + }, + "id": "id7" + } + ], + "next_attempt": "2016-03-13T12:52:32.123Z", + "transaction_type": "transaction", + "id": "id5", + "gateway_response": { + "code": "code5", + "errors": [ + { + "message": "message2" + } + ] + }, + "antifraud_response": { + "status": "status5", + "return_code": "return_code3", + "return_message": "return_message1", + "provider_name": "provider_name1", + "score": "score3" + }, + "metadata": { + "key0": "metadata6", + "key1": "metadata7", + "key2": "metadata8" + }, + "split": [ + {}, + {}, + {} + ], + "interest": { + "days": 79, + "type": "type5", + "amount": 153 + }, + "fine": { + "days": 97, + "type": "type7", + "amount": 171 + }, + "max_days_to_pay_past_due": 85 + }, + "invoice": { + "id": "id7", + "code": "code5", + "url": "url1", + "amount": 61, + "status": "status9", + "payment_method": "payment_method7", + "created_at": "2016-03-13T12:52:32.123Z", + "items": [ + { + "amount": 120, + "description": "description4", + "pricing_scheme": { + "price": 32, + "scheme_type": "scheme_type6", + "price_brackets": [ + { + "start_quantity": 177, + "price": 115, + "end_quantity": 185, + "overage_price": 199 + }, + { + "start_quantity": 178, + "price": 116, + "end_quantity": 186, + "overage_price": 200 + } + ], + "minimum_price": 64, + "percentage": 162.74 + }, + "price_bracket": {}, + "quantity": 234, + "name": "name4", + "subscription_item_id": "subscription_item_id8" + } + ], + "customer": {}, + "charge": { + "id": "id9", + "code": "code7", + "gateway_id": "gateway_id1", + "amount": 191, + "status": "status9", + "currency": "currency9", + "payment_method": "payment_method1", + "due_at": "2016-03-13T12:52:32.123Z", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "last_transaction": { + "gateway_id": "gateway_id1", + "amount": 249, + "status": "status3", + "success": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 225, + "max_attempts": 213, + "splits": [ + {}, + {}, + {} + ], + "next_attempt": "2016-03-13T12:52:32.123Z", + "transaction_type": "transaction", + "id": "id1", + "gateway_response": { + "code": "code1", + "errors": [ + {}, + {}, + {} + ] + }, + "antifraud_response": { + "status": "status1", + "return_code": "return_code9", + "return_message": "return_message7", + "provider_name": "provider_name7", + "score": "score9" + }, + "metadata": { + "key0": "metadata8", + "key1": "metadata7" + }, + "split": [ + {}, + {} + ], + "interest": { + "days": 155, + "type": "type9", + "amount": 229 + }, + "fine": { + "days": 173, + "type": "type3", + "amount": 247 + }, + "max_days_to_pay_past_due": 161 + }, + "invoice": { + "id": "id3", + "code": "code1", + "url": "url7", + "amount": 137, + "status": "status5", + "payment_method": "payment_method7", + "created_at": "2016-03-13T12:52:32.123Z", + "items": [ + {}, + {}, + {} + ], + "customer": {}, + "charge": {}, + "installments": 177, + "billing_address": { + "street": "street5", + "number": "number7", + "zip_code": "zip_code9", + "neighborhood": "neighborhood1", + "city": "city5", + "state": "state9", + "country": "country9", + "complement": "complement9", + "line_1": "line_11", + "line_2": "line_23" + }, + "subscription": { + "id": "id1", + "code": "code9", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval9", + "interval_count": 51, + "billing_type": "billing_type5", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id9", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id5", + "code": "code3", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval7", + "interval_count": 109, + "billing_type": "billing_type1", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id3", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status5", + "duration": 93, + "created_at": "created_at1", + "updated_at": "updated_at1", + "cycle": 33 + }, + "payment_method": "payment_method5", + "currency": "currency5", + "installments": 21, + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id1", + "last_four_digits": "last_four_digits7", + "brand": "brand5", + "holder_name": "holder_name7", + "exp_month": 255, + "exp_year": 41, + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street3", + "number": "number9", + "zip_code": "zip_code7", + "neighborhood": "neighborhood9", + "city": "city7", + "state": "state1", + "country": "country7", + "complement": "complement1", + "line_1": "line_13", + "line_2": "line_21" + }, + "customer": {}, + "metadata": { + "key0": "metadata2" + }, + "type": "type9", + "holder_document": "holder_document5", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits1", + "label": "label1" + }, + "items": [ + { + "id": "id2", + "description": "description2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id3", + "value": 244.05, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 109, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": { + "id": "id9", + "description": "description9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id0", + "value": 23.12, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 32, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id1", + "value": 23.13, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 33, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id8", + "value": 134.4, + "increment_type": "increment_type0", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 104, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id9", + "value": 134.41, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 103, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id0", + "value": 134.42, + "increment_type": "increment_type2", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 102, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name9", + "quantity": 77, + "cycles": 97, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id4", + "value": 244.06, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 110, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": { + "id": "id0", + "description": "description0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id1", + "value": 23.13, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 33, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id2", + "value": 23.14, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 34, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id3", + "value": 23.15, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 35, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id9", + "value": 134.41, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 103, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name0", + "quantity": 78, + "cycles": 98, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id5", + "value": 244.07, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 111, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": { + "id": "id1", + "description": "description1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id2", + "value": 23.14, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 34, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id0", + "value": 134.42, + "increment_type": "increment_type2", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 102, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id1", + "value": 134.43, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 101, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name1", + "quantity": 79, + "cycles": 99, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {} + ], + "subscription": {}, + "name": "name2", + "quantity": 154, + "cycles": 82, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id3", + "description": "description3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id4", + "value": 244.06, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 110, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": { + "id": "id0", + "description": "description0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id1", + "value": 23.13, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 33, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id2", + "value": 23.14, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 34, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id3", + "value": 23.15, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 35, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id9", + "value": 134.41, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 103, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name0", + "quantity": 78, + "cycles": 98, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {}, + {} + ], + "subscription": {}, + "name": "name3", + "quantity": 155, + "cycles": 81, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor5", + "metadata": { + "key0": "metadata8", + "key1": "metadata9", + "key2": "metadata0" + }, + "setup": { + "id": "id1", + "description": "description9", + "amount": 137, + "status": "status7" + }, + "gateway_affiliation_id": "gateway_affiliation_id9", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 7, + "minimum_price": 149, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + {} + ], + "boleto_due_days": 221, + "split": { + "enabled": true, + "rules": [ + {}, + {}, + {} + ] + }, + "boleto": { + "interest": {}, + "fine": {}, + "max_days_to_pay_past_due": 91 + }, + "manual_billing": true + }, + "status": "status1", + "duration": 35, + "created_at": "created_at7", + "updated_at": "updated_at5", + "cycle": 231 + }, + "payment_method": "payment_method9", + "currency": "currency1", + "installments": 219, + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id5", + "last_four_digits": "last_four_digits1", + "brand": "brand9", + "holder_name": "holder_name1", + "exp_month": 143, + "exp_year": 153, + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": {}, + "customer": {}, + "metadata": { + "key0": "metadata8", + "key1": "metadata9", + "key2": "metadata0" + }, + "type": "type5", + "holder_document": "holder_document1", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits5", + "label": "label5" + }, + "items": [ + {} + ], + "statement_descriptor": "statement_descriptor1", + "metadata": { + "key0": "metadata8" + }, + "setup": { + "id": "id5", + "description": "description5", + "amount": 243, + "status": "status7" + }, + "gateway_affiliation_id": "gateway_affiliation_id7", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 191, + "minimum_price": 49, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 163, + "split": { + "enabled": true, + "rules": [ + {} + ] + }, + "boleto": { + "interest": {}, + "fine": {}, + "max_days_to_pay_past_due": 95 + }, + "manual_billing": true + }, + "cycle": {}, + "shipping": { + "amount": 235, + "description": "description7", + "recipient_name": "recipient_name5", + "recipient_phone": "recipient_phone9", + "address": {}, + "max_delivery_date": "2016-03-13T12:52:32.123Z", + "estimated_delivery_date": "2016-03-13T12:52:32.123Z", + "type": "type3" + }, + "metadata": { + "key0": "metadata0", + "key1": "metadata1" + }, + "due_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "billing_at": "2016-03-13T12:52:32.123Z", + "seen_at": "2016-03-13T12:52:32.123Z", + "total_discount": 245, + "total_increment": 61, + "subscription_id": "subscription_id3" + }, + "order": { + "id": "id7", + "code": "code5", + "currency": "currency7", + "items": [ + {}, + {}, + {} + ], + "customer": {}, + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "charges": [ + {} + ], + "invoice_url": "invoice_url9", + "shipping": { + "amount": 103, + "description": "description1", + "recipient_name": "recipient_name9", + "recipient_phone": "recipient_phone3", + "address": {}, + "max_delivery_date": "2016-03-13T12:52:32.123Z", + "estimated_delivery_date": "2016-03-13T12:52:32.123Z", + "type": "type9" + }, + "metadata": { + "key0": "metadata6", + "key1": "metadata7" + }, + "checkouts": [ + { + "id": "id4", + "amount": 14, + "default_payment_method": "default_payment_method4", + "success_url": "success_url6", + "payment_url": "payment_url8", + "gateway_affiliation_id": "gateway_affiliation_id0", + "accepted_payment_methods": [ + "accepted_payment_methods7" + ], + "status": "status6", + "skip_checkout_success_page": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "customer_editable": false, + "customer": {}, + "billingaddress": {}, + "credit_card": { + "statementDescriptor": "statementDescriptor8", + "installments": [ + { + "number": "number5", + "total": 227 + }, + { + "number": "number6", + "total": 228 + } + ], + "authentication": { + "type": "type4", + "threed_secure": { + "mpi": "mpi0", + "eci": "eci2", + "cavv": "cavv8", + "transaction_Id": "transaction_Id8", + "success_url": "success_url4" + } + } + }, + "boleto": { + "due_at": "2016-03-13T12:52:32.123Z", + "instructions": "instructions2" + }, + "billing_address_editable": false, + "shipping": {}, + "shippable": false, + "closed_at": "2016-03-13T12:52:32.123Z", + "expires_at": "2016-03-13T12:52:32.123Z", + "currency": "currency4", + "debit_card": { + "statement_descriptor": "statement_descriptor8", + "authentication": { + "type": "type0", + "threed_secure": { + "mpi": "mpi6", + "eci": "eci8", + "cavv": "cavv4", + "transaction_Id": "transaction_Id6", + "success_url": "success_url0" + } + } + }, + "bank_transfer": { + "bank": [ + "bank9" + ] + }, + "accepted_brands": [ + "accepted_brands0" + ], + "pix": { + "expires_at": "2016-03-13T12:52:32.123Z", + "additional_information": [ + { + "Name": "Name1", + "Value": "Value9" + } + ] + } + }, + { + "id": "id5", + "amount": 15, + "default_payment_method": "default_payment_method5", + "success_url": "success_url7", + "payment_url": "payment_url9", + "gateway_affiliation_id": "gateway_affiliation_id1", + "accepted_payment_methods": [ + "accepted_payment_methods8", + "accepted_payment_methods9" + ], + "status": "status7", + "skip_checkout_success_page": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "customer_editable": true, + "customer": {}, + "billingaddress": {}, + "credit_card": { + "statementDescriptor": "statementDescriptor9", + "installments": [ + { + "number": "number6", + "total": 228 + }, + { + "number": "number7", + "total": 229 + }, + { + "number": "number8", + "total": 230 + } + ], + "authentication": { + "type": "type5", + "threed_secure": { + "mpi": "mpi1", + "eci": "eci3", + "cavv": "cavv9", + "transaction_Id": "transaction_Id9", + "success_url": "success_url5" + } + } + }, + "boleto": { + "due_at": "2016-03-13T12:52:32.123Z", + "instructions": "instructions3" + }, + "billing_address_editable": true, + "shipping": {}, + "shippable": true, + "closed_at": "2016-03-13T12:52:32.123Z", + "expires_at": "2016-03-13T12:52:32.123Z", + "currency": "currency5", + "debit_card": { + "statement_descriptor": "statement_descriptor9", + "authentication": { + "type": "type9", + "threed_secure": { + "mpi": "mpi7", + "eci": "eci9", + "cavv": "cavv5", + "transaction_Id": "transaction_Id5", + "success_url": "success_url1" + } + } + }, + "bank_transfer": { + "bank": [ + "bank0", + "bank1" + ] + }, + "accepted_brands": [ + "accepted_brands1", + "accepted_brands2" + ], + "pix": { + "expires_at": "2016-03-13T12:52:32.123Z", + "additional_information": [ + { + "Name": "Name2", + "Value": "Value0" + }, + { + "Name": "Name3", + "Value": "Value1" + } + ] + } + } + ], + "ip": "ip1", + "session_id": "session_id1", + "location": { + "latitude": "latitude5", + "longitude": "longitude5" + }, + "device": { + "platform": "platform7" + }, + "closed": true + }, + "customer": {}, + "metadata": { + "key0": "metadata4", + "key1": "metadata5" + }, + "paid_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "canceled_amount": 45, + "paid_amount": 229, + "interest_and_fine_paid": 31, + "recurrency_cycle": "recurrency_cycle3" + }, + "installments": 101, + "billing_address": {}, + "subscription": {}, + "cycle": {}, + "shipping": {}, + "metadata": { + "key0": "metadata2" + }, + "due_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "billing_at": "2016-03-13T12:52:32.123Z", + "seen_at": "2016-03-13T12:52:32.123Z", + "total_discount": 169, + "total_increment": 241, + "subscription_id": "subscription_id7" + }, + "order": {}, + "customer": {}, + "metadata": { + "key0": "metadata6" + }, + "paid_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "canceled_amount": 225, + "paid_amount": 207, + "interest_and_fine_paid": 211, + "recurrency_cycle": "recurrency_cycle7" + } + ], + "invoice_url": "invoice_url7", + "shipping": {}, + "metadata": { + "key0": "metadata4", + "key1": "metadata3" + }, + "checkouts": [ + {} + ], + "ip": "ip9", + "session_id": "session_id7", + "location": { + "latitude": "latitude3", + "longitude": "longitude3" + }, + "device": { + "platform": "platform5" + }, + "closed": true + }, + { + "id": "id6", + "code": "code4", + "currency": "currency6", + "items": [ + { + "id": "id3", + "amount": 181, + "description": "description3", + "quantity": 39, + "category": "category1", + "code": "code1" + }, + { + "id": "id4", + "amount": 182, + "description": "description4", + "quantity": 40, + "category": "category2", + "code": "code2" + }, + { + "id": "id5", + "amount": 183, + "description": "description5", + "quantity": 41, + "category": "category3", + "code": "code3" + } + ], + "customer": { + "id": "id6", + "name": "name6", + "email": "email0", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document0", + "type": "type6", + "fb_access_token": "fb_access_token0", + "address": { + "id": "id2", + "street": "street2", + "number": "number0", + "complement": "complement8", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city2", + "state": "state8", + "country": "country6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id2", + "name": "name2", + "email": "email6", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document6", + "type": "type2", + "fb_access_token": "fb_access_token6", + "address": { + "id": "id8", + "street": "street8", + "number": "number6", + "complement": "complement4", + "zip_code": "zip_code2", + "neighborhood": "neighborhood4", + "city": "city8", + "state": "state4", + "country": "country2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata0" + }, + "line_1": "line_12", + "line_2": "line_26", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata4" + }, + "phones": { + "home_phone": { + "country_code": "country_code4", + "number": "number2", + "area_code": "area_code4" + }, + "mobile_phone": { + "country_code": "country_code4", + "number": "number2", + "area_code": "area_code4" + } + }, + "fb_id": 204, + "code": "code0", + "document_type": "document_type0" + }, + "metadata": { + "key0": "metadata3" + }, + "line_1": "line_16", + "line_2": "line_20", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 154, + "code": "code4", + "document_type": "document_type4" + }, + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "charges": [ + { + "id": "id2", + "code": "code0", + "gateway_id": "gateway_id2", + "amount": 114, + "status": "status4", + "currency": "currency2", + "payment_method": "payment_method2", + "due_at": "2016-03-13T12:52:32.123Z", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "last_transaction": { + "gateway_id": "gateway_id4", + "amount": 172, + "status": "status6", + "success": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 148, + "max_attempts": 136, + "splits": [ + { + "type": "type6", + "amount": 104, + "recipient": { + "id": "id8", + "name": "name8", + "email": "email2", + "document": "document2", + "description": "description8", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id8", + "name": "name8", + "email": "email2", + "document": "document2", + "description": "description8", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata7", + "key1": "metadata8" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + { + "gateway": "gateway2", + "status": "status4", + "pgid": "pgid8", + "created_at": "created_at0", + "updated_at": "updated_at8" + }, + { + "gateway": "gateway3", + "status": "status5", + "pgid": "pgid9", + "created_at": "created_at1", + "updated_at": "updated_at9" + } + ], + "metadata": { + "key0": "metadata1", + "key1": "metadata0" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 36, + "delay": 70, + "days": [ + 46 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 162 + }, + "code": "code6", + "payment_mode": "payment_mode2" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata8" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata1", + "key1": "metadata0" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 222, + "delay": 0, + "days": [ + 232 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 92 + }, + "code": "code6", + "payment_mode": "payment_mode2" + }, + "gateway_id": "gateway_id6", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee2" + }, + "id": "id6" + }, + { + "type": "type7", + "amount": 105, + "recipient": { + "id": "id9", + "name": "name9", + "email": "email3", + "document": "document3", + "description": "description9", + "type": "type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id9", + "name": "name9", + "email": "email3", + "document": "document3", + "description": "description9", + "type": "type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata8", + "key1": "metadata9", + "key2": "metadata0" + }, + "pix_key": "pix_key1" + }, + "gateway_recipients": [ + { + "gateway": "gateway3", + "status": "status5", + "pgid": "pgid9", + "created_at": "created_at1", + "updated_at": "updated_at9" + }, + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + }, + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + } + ], + "metadata": { + "key0": "metadata0", + "key1": "metadata9", + "key2": "metadata8" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 37, + "delay": 71, + "days": [ + 47, + 48 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 163 + }, + "code": "code7", + "payment_mode": "payment_mode3" + }, + "metadata": { + "key0": "metadata8", + "key1": "metadata9", + "key2": "metadata0" + }, + "pix_key": "pix_key1" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata0", + "key1": "metadata9", + "key2": "metadata8" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 223, + "delay": 1, + "days": [ + 233, + 234 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 93 + }, + "code": "code7", + "payment_mode": "payment_mode3" + }, + "gateway_id": "gateway_id7", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee3" + }, + "id": "id7" + }, + { + "type": "type8", + "amount": 106, + "recipient": { + "id": "id0", + "name": "name0", + "email": "email4", + "document": "document4", + "description": "description0", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id0", + "name": "name0", + "email": "email4", + "document": "document4", + "description": "description0", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata9" + }, + "pix_key": "pix_key2" + }, + "gateway_recipients": [ + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + } + ], + "metadata": { + "key0": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 38, + "delay": 72, + "days": [ + 48, + 49, + 50 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 164 + }, + "code": "code8", + "payment_mode": "payment_mode4" + }, + "metadata": { + "key0": "metadata9" + }, + "pix_key": "pix_key2" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 224, + "delay": 2, + "days": [ + 234, + 235, + 236 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 94 + }, + "code": "code8", + "payment_mode": "payment_mode4" + }, + "gateway_id": "gateway_id8", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee4" + }, + "id": "id8" + } + ], + "next_attempt": "2016-03-13T12:52:32.123Z", + "transaction_type": "transaction", + "id": "id4", + "gateway_response": { + "code": "code4", + "errors": [ + { + "message": "message1" + }, + { + "message": "message2" + }, + { + "message": "message3" + } + ] + }, + "antifraud_response": { + "status": "status4", + "return_code": "return_code2", + "return_message": "return_message0", + "provider_name": "provider_name0", + "score": "score2" + }, + "metadata": { + "key0": "metadata5", + "key1": "metadata6" + }, + "split": [ + {}, + {} + ], + "interest": { + "days": 78, + "type": "type4", + "amount": 152 + }, + "fine": { + "days": 96, + "type": "type6", + "amount": 170 + }, + "max_days_to_pay_past_due": 84 + }, + "invoice": { + "id": "id6", + "code": "code4", + "url": "url0", + "amount": 60, + "status": "status8", + "payment_method": "payment_method6", + "created_at": "2016-03-13T12:52:32.123Z", + "items": [ + { + "amount": 119, + "description": "description3", + "pricing_scheme": { + "price": 33, + "scheme_type": "scheme_type5", + "price_brackets": [ + { + "start_quantity": 176, + "price": 114, + "end_quantity": 184, + "overage_price": 198 + } + ], + "minimum_price": 63, + "percentage": 162.73 + }, + "price_bracket": {}, + "quantity": 233, + "name": "name3", + "subscription_item_id": "subscription_item_id7" + }, + { + "amount": 120, + "description": "description4", + "pricing_scheme": { + "price": 32, + "scheme_type": "scheme_type6", + "price_brackets": [ + { + "start_quantity": 177, + "price": 115, + "end_quantity": 185, + "overage_price": 199 + }, + { + "start_quantity": 178, + "price": 116, + "end_quantity": 186, + "overage_price": 200 + } + ], + "minimum_price": 64, + "percentage": 162.74 + }, + "price_bracket": {}, + "quantity": 234, + "name": "name4", + "subscription_item_id": "subscription_item_id8" + }, + { + "amount": 121, + "description": "description5", + "pricing_scheme": { + "price": 31, + "scheme_type": "scheme_type7", + "price_brackets": [ + { + "start_quantity": 178, + "price": 116, + "end_quantity": 186, + "overage_price": 200 + }, + { + "start_quantity": 179, + "price": 117, + "end_quantity": 187, + "overage_price": 201 + }, + { + "start_quantity": 180, + "price": 118, + "end_quantity": 188, + "overage_price": 202 + } + ], + "minimum_price": 65, + "percentage": 162.75 + }, + "price_bracket": {}, + "quantity": 235, + "name": "name5", + "subscription_item_id": "subscription_item_id9" + } + ], + "customer": {}, + "charge": { + "id": "id8", + "code": "code6", + "gateway_id": "gateway_id2", + "amount": 190, + "status": "status0", + "currency": "currency8", + "payment_method": "payment_method2", + "due_at": "2016-03-13T12:52:32.123Z", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "last_transaction": { + "gateway_id": "gateway_id0", + "amount": 248, + "status": "status2", + "success": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 224, + "max_attempts": 212, + "splits": [ + {}, + {} + ], + "next_attempt": "2016-03-13T12:52:32.123Z", + "transaction_type": "transaction", + "id": "id0", + "gateway_response": { + "code": "code0", + "errors": [ + {}, + {} + ] + }, + "antifraud_response": { + "status": "status0", + "return_code": "return_code8", + "return_message": "return_message6", + "provider_name": "provider_name6", + "score": "score8" + }, + "metadata": { + "key0": "metadata9" + }, + "split": [ + {} + ], + "interest": { + "days": 154, + "type": "type0", + "amount": 228 + }, + "fine": { + "days": 172, + "type": "type2", + "amount": 246 + }, + "max_days_to_pay_past_due": 160 + }, + "invoice": { + "id": "id2", + "code": "code0", + "url": "url6", + "amount": 136, + "status": "status6", + "payment_method": "payment_method8", + "created_at": "2016-03-13T12:52:32.123Z", + "items": [ + {}, + {} + ], + "customer": {}, + "charge": {}, + "installments": 176, + "billing_address": { + "street": "street4", + "number": "number8", + "zip_code": "zip_code8", + "neighborhood": "neighborhood0", + "city": "city6", + "state": "state0", + "country": "country8", + "complement": "complement0", + "line_1": "line_12", + "line_2": "line_22" + }, + "subscription": { + "id": "id2", + "code": "code0", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval0", + "interval_count": 52, + "billing_type": "billing_type6", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id0", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id6", + "code": "code4", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval6", + "interval_count": 110, + "billing_type": "billing_type0", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id4", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status4", + "duration": 94, + "created_at": "created_at2", + "updated_at": "updated_at0", + "cycle": 34 + }, + "payment_method": "payment_method4", + "currency": "currency4", + "installments": 22, + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id0", + "last_four_digits": "last_four_digits6", + "brand": "brand4", + "holder_name": "holder_name6", + "exp_month": 0, + "exp_year": 40, + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street2", + "number": "number0", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city8", + "state": "state2", + "country": "country6", + "complement": "complement2", + "line_1": "line_14", + "line_2": "line_20" + }, + "customer": {}, + "metadata": { + "key0": "metadata3", + "key1": "metadata4" + }, + "type": "type0", + "holder_document": "holder_document6", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits0", + "label": "label0" + }, + "items": [ + { + "id": "id3", + "description": "description3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id4", + "value": 244.06, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 110, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": { + "id": "id0", + "description": "description0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id1", + "value": 23.13, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 33, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id2", + "value": 23.14, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 34, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id3", + "value": 23.15, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 35, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id9", + "value": 134.41, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 103, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name0", + "quantity": 78, + "cycles": 98, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {}, + {} + ], + "subscription": {}, + "name": "name3", + "quantity": 155, + "cycles": 81, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id4", + "description": "description4", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id5", + "value": 244.07, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 111, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": { + "id": "id1", + "description": "description1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id2", + "value": 23.14, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 34, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id0", + "value": 134.42, + "increment_type": "increment_type2", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 102, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id1", + "value": 134.43, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 101, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name1", + "quantity": 79, + "cycles": 99, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id6", + "value": 244.08, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 112, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": { + "id": "id2", + "description": "description2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id3", + "value": 23.15, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 35, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 23.16, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 36, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id1", + "value": 134.43, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 101, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id2", + "value": 134.44, + "increment_type": "increment_type4", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 100, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id3", + "value": 134.45, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 99, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name2", + "quantity": 80, + "cycles": 100, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {} + ], + "subscription": {}, + "name": "name4", + "quantity": 156, + "cycles": 80, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id5", + "description": "description5", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id6", + "value": 244.08, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 112, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": { + "id": "id2", + "description": "description2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id3", + "value": 23.15, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 35, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 23.16, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 36, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id1", + "value": 134.43, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 101, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id2", + "value": 134.44, + "increment_type": "increment_type4", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 100, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id3", + "value": 134.45, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 99, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name2", + "quantity": 80, + "cycles": 100, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id7", + "value": 244.09, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 113, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": { + "id": "id3", + "description": "description3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id4", + "value": 23.16, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 36, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 23.17, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 37, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 23.18, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 38, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id2", + "value": 134.44, + "increment_type": "increment_type4", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 100, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name3", + "quantity": 81, + "cycles": 101, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id8", + "value": 244.1, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 114, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": { + "id": "id4", + "description": "description4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": {}, + "discounts": [ + { + "id": "id5", + "value": 23.17, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 37, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id3", + "value": 134.45, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 99, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 134.46, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 98, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name4", + "quantity": 82, + "cycles": 102, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {} + ], + "subscription": {}, + "name": "name5", + "quantity": 157, + "cycles": 79, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor6", + "metadata": { + "key0": "metadata7", + "key1": "metadata8" + }, + "setup": { + "id": "id0", + "description": "description0", + "amount": 138, + "status": "status8" + }, + "gateway_affiliation_id": "gateway_affiliation_id8", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 6, + "minimum_price": 148, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 222, + "split": { + "enabled": false, + "rules": [ + {}, + {} + ] + }, + "boleto": { + "interest": {}, + "fine": {}, + "max_days_to_pay_past_due": 90 + }, + "manual_billing": false + }, + "status": "status2", + "duration": 36, + "created_at": "created_at8", + "updated_at": "updated_at6", + "cycle": 232 + }, + "payment_method": "payment_method8", + "currency": "currency2", + "installments": 220, + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id6", + "last_four_digits": "last_four_digits2", + "brand": "brand0", + "holder_name": "holder_name2", + "exp_month": 142, + "exp_year": 154, + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": {}, + "customer": {}, + "metadata": { + "key0": "metadata7", + "key1": "metadata8" + }, + "type": "type4", + "holder_document": "holder_document0", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits6", + "label": "label6" + }, + "items": [ + {}, + {} + ], + "statement_descriptor": "statement_descriptor2", + "metadata": { + "key0": "metadata9", + "key1": "metadata8", + "key2": "metadata7" + }, + "setup": { + "id": "id6", + "description": "description6", + "amount": 244, + "status": "status8" + }, + "gateway_affiliation_id": "gateway_affiliation_id8", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 192, + "minimum_price": 50, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + {} + ], + "boleto_due_days": 164, + "split": { + "enabled": false, + "rules": [ + {}, + {} + ] + }, + "boleto": { + "interest": {}, + "fine": {}, + "max_days_to_pay_past_due": 96 + }, + "manual_billing": false + }, + "cycle": {}, + "shipping": { + "amount": 234, + "description": "description6", + "recipient_name": "recipient_name4", + "recipient_phone": "recipient_phone8", + "address": {}, + "max_delivery_date": "2016-03-13T12:52:32.123Z", + "estimated_delivery_date": "2016-03-13T12:52:32.123Z", + "type": "type4" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata2", + "key2": "metadata3" + }, + "due_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "billing_at": "2016-03-13T12:52:32.123Z", + "seen_at": "2016-03-13T12:52:32.123Z", + "total_discount": 244, + "total_increment": 60, + "subscription_id": "subscription_id2" + }, + "order": { + "id": "id8", + "code": "code6", + "currency": "currency8", + "items": [ + {} + ], + "customer": {}, + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "charges": [ + {}, + {} + ], + "invoice_url": "invoice_url0", + "shipping": { + "amount": 104, + "description": "description2", + "recipient_name": "recipient_name0", + "recipient_phone": "recipient_phone4", + "address": {}, + "max_delivery_date": "2016-03-13T12:52:32.123Z", + "estimated_delivery_date": "2016-03-13T12:52:32.123Z", + "type": "type8" + }, + "metadata": { + "key0": "metadata5" + }, + "checkouts": [ + { + "id": "id5", + "amount": 15, + "default_payment_method": "default_payment_method5", + "success_url": "success_url7", + "payment_url": "payment_url9", + "gateway_affiliation_id": "gateway_affiliation_id1", + "accepted_payment_methods": [ + "accepted_payment_methods8", + "accepted_payment_methods9" + ], + "status": "status7", + "skip_checkout_success_page": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "customer_editable": true, + "customer": {}, + "billingaddress": {}, + "credit_card": { + "statementDescriptor": "statementDescriptor9", + "installments": [ + { + "number": "number6", + "total": 228 + }, + { + "number": "number7", + "total": 229 + }, + { + "number": "number8", + "total": 230 + } + ], + "authentication": { + "type": "type5", + "threed_secure": { + "mpi": "mpi1", + "eci": "eci3", + "cavv": "cavv9", + "transaction_Id": "transaction_Id9", + "success_url": "success_url5" + } + } + }, + "boleto": { + "due_at": "2016-03-13T12:52:32.123Z", + "instructions": "instructions3" + }, + "billing_address_editable": true, + "shipping": {}, + "shippable": true, + "closed_at": "2016-03-13T12:52:32.123Z", + "expires_at": "2016-03-13T12:52:32.123Z", + "currency": "currency5", + "debit_card": { + "statement_descriptor": "statement_descriptor9", + "authentication": { + "type": "type9", + "threed_secure": { + "mpi": "mpi7", + "eci": "eci9", + "cavv": "cavv5", + "transaction_Id": "transaction_Id5", + "success_url": "success_url1" + } + } + }, + "bank_transfer": { + "bank": [ + "bank0", + "bank1" + ] + }, + "accepted_brands": [ + "accepted_brands1", + "accepted_brands2" + ], + "pix": { + "expires_at": "2016-03-13T12:52:32.123Z", + "additional_information": [ + { + "Name": "Name2", + "Value": "Value0" + }, + { + "Name": "Name3", + "Value": "Value1" + } + ] + } + }, + { + "id": "id6", + "amount": 16, + "default_payment_method": "default_payment_method6", + "success_url": "success_url8", + "payment_url": "payment_url0", + "gateway_affiliation_id": "gateway_affiliation_id2", + "accepted_payment_methods": [ + "accepted_payment_methods9", + "accepted_payment_methods0", + "accepted_payment_methods1" + ], + "status": "status8", + "skip_checkout_success_page": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "customer_editable": false, + "customer": {}, + "billingaddress": {}, + "credit_card": { + "statementDescriptor": "statementDescriptor0", + "installments": [ + { + "number": "number7", + "total": 229 + } + ], + "authentication": { + "type": "type6", + "threed_secure": { + "mpi": "mpi2", + "eci": "eci4", + "cavv": "cavv0", + "transaction_Id": "transaction_Id0", + "success_url": "success_url6" + } + } + }, + "boleto": { + "due_at": "2016-03-13T12:52:32.123Z", + "instructions": "instructions4" + }, + "billing_address_editable": false, + "shipping": {}, + "shippable": false, + "closed_at": "2016-03-13T12:52:32.123Z", + "expires_at": "2016-03-13T12:52:32.123Z", + "currency": "currency6", + "debit_card": { + "statement_descriptor": "statement_descriptor0", + "authentication": { + "type": "type8", + "threed_secure": { + "mpi": "mpi8", + "eci": "eci0", + "cavv": "cavv6", + "transaction_Id": "transaction_Id4", + "success_url": "success_url2" + } + } + }, + "bank_transfer": { + "bank": [ + "bank1", + "bank2", + "bank3" + ] + }, + "accepted_brands": [ + "accepted_brands2", + "accepted_brands3", + "accepted_brands4" + ], + "pix": { + "expires_at": "2016-03-13T12:52:32.123Z", + "additional_information": [ + { + "Name": "Name3", + "Value": "Value1" + }, + { + "Name": "Name4", + "Value": "Value2" + }, + { + "Name": "Name5", + "Value": "Value3" + } + ] + } + }, + { + "id": "id7", + "amount": 17, + "default_payment_method": "default_payment_method7", + "success_url": "success_url9", + "payment_url": "payment_url1", + "gateway_affiliation_id": "gateway_affiliation_id3", + "accepted_payment_methods": [ + "accepted_payment_methods0" + ], + "status": "status9", + "skip_checkout_success_page": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "customer_editable": true, + "customer": {}, + "billingaddress": {}, + "credit_card": { + "statementDescriptor": "statementDescriptor1", + "installments": [ + { + "number": "number8", + "total": 230 + }, + { + "number": "number9", + "total": 231 + } + ], + "authentication": { + "type": "type7", + "threed_secure": { + "mpi": "mpi3", + "eci": "eci5", + "cavv": "cavv1", + "transaction_Id": "transaction_Id1", + "success_url": "success_url7" + } + } + }, + "boleto": { + "due_at": "2016-03-13T12:52:32.123Z", + "instructions": "instructions5" + }, + "billing_address_editable": true, + "shipping": {}, + "shippable": true, + "closed_at": "2016-03-13T12:52:32.123Z", + "expires_at": "2016-03-13T12:52:32.123Z", + "currency": "currency7", + "debit_card": { + "statement_descriptor": "statement_descriptor1", + "authentication": { + "type": "type7", + "threed_secure": { + "mpi": "mpi9", + "eci": "eci1", + "cavv": "cavv7", + "transaction_Id": "transaction_Id3", + "success_url": "success_url3" + } + } + }, + "bank_transfer": { + "bank": [ + "bank2" + ] + }, + "accepted_brands": [ + "accepted_brands3" + ], + "pix": { + "expires_at": "2016-03-13T12:52:32.123Z", + "additional_information": [ + { + "Name": "Name4", + "Value": "Value2" + } + ] + } + } + ], + "ip": "ip2", + "session_id": "session_id0", + "location": { + "latitude": "latitude6", + "longitude": "longitude6" + }, + "device": { + "platform": "platform8" + }, + "closed": false + }, + "customer": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata6", + "key2": "metadata7" + }, + "paid_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "canceled_amount": 44, + "paid_amount": 230, + "interest_and_fine_paid": 30, + "recurrency_cycle": "recurrency_cycle2" + }, + "installments": 100, + "billing_address": {}, + "subscription": {}, + "cycle": {}, + "shipping": {}, + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "due_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "billing_at": "2016-03-13T12:52:32.123Z", + "seen_at": "2016-03-13T12:52:32.123Z", + "total_discount": 168, + "total_increment": 240, + "subscription_id": "subscription_id6" + }, + "order": {}, + "customer": {}, + "metadata": { + "key0": "metadata7", + "key1": "metadata6", + "key2": "metadata5" + }, + "paid_at": "2016-03-13T12:52:32.123Z", + "canceled_at": "2016-03-13T12:52:32.123Z", + "canceled_amount": 224, + "paid_amount": 206, + "interest_and_fine_paid": 210, + "recurrency_cycle": "recurrency_cycle6" + } + ], + "invoice_url": "invoice_url8", + "shipping": {}, + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "checkouts": [ + {}, + {} + ], + "ip": "ip0", + "session_id": "session_id8", + "location": { + "latitude": "latitude4", + "longitude": "longitude4" + }, + "device": { + "platform": "platform6" + }, + "closed": false + } + ], + "paging": { + "total": 6, + "previous": "previous2", + "next": "next8" + } } ``` diff --git a/doc/models/list-plans-response.md b/doc/models/list-plans-response.md index 0785cb7..7c0024e 100644 --- a/doc/models/list-plans-response.md +++ b/doc/models/list-plans-response.md @@ -18,8 +18,666 @@ Response object for listing plans ```json { - "data": null, - "paging": null + "data": [ + { + "id": "id5", + "name": "name5", + "description": "description5", + "url": "url9", + "statement_descriptor": "statement_descriptor5", + "interval": "interval3", + "interval_count": 249, + "billing_type": "billing_type9", + "payment_methods": [ + "payment_methods0", + "payment_methods1", + "payment_methods2" + ], + "installments": [ + 30, + 31, + 32 + ], + "status": "status7", + "currency": "currency5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "items": [ + { + "id": "id2", + "name": "name2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 28, + "scheme_type": "scheme_type4", + "price_brackets": [ + { + "start_quantity": 237, + "price": 175, + "end_quantity": 245, + "overage_price": 3 + }, + { + "start_quantity": 238, + "price": 176, + "end_quantity": 246, + "overage_price": 4 + }, + { + "start_quantity": 239, + "price": 177, + "end_quantity": 247, + "overage_price": 5 + } + ], + "minimum_price": 124, + "percentage": 132.62 + }, + "description": "description2", + "plan": { + "id": "id8", + "name": "name8", + "description": "description8", + "url": "url2", + "statement_descriptor": "statement_descriptor8", + "interval": "interval6", + "interval_count": 242, + "billing_type": "billing_type2", + "payment_methods": [ + "payment_methods3", + "payment_methods4", + "payment_methods5" + ], + "installments": [ + 23, + 24, + 25 + ], + "status": "status0", + "currency": "currency8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "items": [ + { + "id": "id5", + "name": "name5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 21, + "scheme_type": "scheme_type7", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 117, + "percentage": 42.95 + }, + "description": "description5", + "plan": {}, + "quantity": 31, + "cycles": 51, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id6", + "name": "name6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 22, + "scheme_type": "scheme_type8", + "price_brackets": [ + {} + ], + "minimum_price": 118, + "percentage": 42.96 + }, + "description": "description6", + "plan": {}, + "quantity": 32, + "cycles": 52, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "billing_days": [ + 243, + 244 + ], + "shippable": false, + "metadata": { + "key0": "metadata1", + "key1": "metadata0" + }, + "trial_period_days": 214, + "minimum_price": 240, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "quantity": 38, + "cycles": 58, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id3", + "name": "name3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 29, + "scheme_type": "scheme_type5", + "price_brackets": [ + { + "start_quantity": 238, + "price": 176, + "end_quantity": 246, + "overage_price": 4 + } + ], + "minimum_price": 125, + "percentage": 132.63 + }, + "description": "description3", + "plan": { + "id": "id9", + "name": "name9", + "description": "description9", + "url": "url3", + "statement_descriptor": "statement_descriptor9", + "interval": "interval7", + "interval_count": 243, + "billing_type": "billing_type3", + "payment_methods": [ + "payment_methods4" + ], + "installments": [ + 24 + ], + "status": "status1", + "currency": "currency9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "items": [ + { + "id": "id6", + "name": "name6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 22, + "scheme_type": "scheme_type8", + "price_brackets": [ + {} + ], + "minimum_price": 118, + "percentage": 42.96 + }, + "description": "description6", + "plan": {}, + "quantity": 32, + "cycles": 52, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id7", + "name": "name7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 23, + "scheme_type": "scheme_type9", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 119, + "percentage": 42.97 + }, + "description": "description7", + "plan": {}, + "quantity": 33, + "cycles": 53, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id8", + "name": "name8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 24, + "scheme_type": "scheme_type0", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 120, + "percentage": 42.98 + }, + "description": "description8", + "plan": {}, + "quantity": 34, + "cycles": 54, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "billing_days": [ + 244, + 245, + 246 + ], + "shippable": true, + "metadata": { + "key0": "metadata0", + "key1": "metadata9", + "key2": "metadata8" + }, + "trial_period_days": 215, + "minimum_price": 241, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "quantity": 39, + "cycles": 59, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "billing_days": [ + 250, + 251 + ], + "shippable": true, + "metadata": { + "key0": "metadata4", + "key1": "metadata3" + }, + "trial_period_days": 221, + "minimum_price": 247, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id6", + "name": "name6", + "description": "description6", + "url": "url0", + "statement_descriptor": "statement_descriptor6", + "interval": "interval4", + "interval_count": 250, + "billing_type": "billing_type0", + "payment_methods": [ + "payment_methods1" + ], + "installments": [ + 31 + ], + "status": "status8", + "currency": "currency6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "items": [ + { + "id": "id3", + "name": "name3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 29, + "scheme_type": "scheme_type5", + "price_brackets": [ + { + "start_quantity": 238, + "price": 176, + "end_quantity": 246, + "overage_price": 4 + } + ], + "minimum_price": 125, + "percentage": 132.63 + }, + "description": "description3", + "plan": { + "id": "id9", + "name": "name9", + "description": "description9", + "url": "url3", + "statement_descriptor": "statement_descriptor9", + "interval": "interval7", + "interval_count": 243, + "billing_type": "billing_type3", + "payment_methods": [ + "payment_methods4" + ], + "installments": [ + 24 + ], + "status": "status1", + "currency": "currency9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "items": [ + { + "id": "id6", + "name": "name6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 22, + "scheme_type": "scheme_type8", + "price_brackets": [ + {} + ], + "minimum_price": 118, + "percentage": 42.96 + }, + "description": "description6", + "plan": {}, + "quantity": 32, + "cycles": 52, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id7", + "name": "name7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 23, + "scheme_type": "scheme_type9", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 119, + "percentage": 42.97 + }, + "description": "description7", + "plan": {}, + "quantity": 33, + "cycles": 53, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id8", + "name": "name8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 24, + "scheme_type": "scheme_type0", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 120, + "percentage": 42.98 + }, + "description": "description8", + "plan": {}, + "quantity": 34, + "cycles": 54, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "billing_days": [ + 244, + 245, + 246 + ], + "shippable": true, + "metadata": { + "key0": "metadata0", + "key1": "metadata9", + "key2": "metadata8" + }, + "trial_period_days": 215, + "minimum_price": 241, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "quantity": 39, + "cycles": 59, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id4", + "name": "name4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 30, + "scheme_type": "scheme_type6", + "price_brackets": [ + { + "start_quantity": 239, + "price": 177, + "end_quantity": 247, + "overage_price": 5 + }, + { + "start_quantity": 240, + "price": 178, + "end_quantity": 248, + "overage_price": 6 + } + ], + "minimum_price": 126, + "percentage": 132.64 + }, + "description": "description4", + "plan": { + "id": "id0", + "name": "name0", + "description": "description0", + "url": "url4", + "statement_descriptor": "statement_descriptor0", + "interval": "interval8", + "interval_count": 244, + "billing_type": "billing_type4", + "payment_methods": [ + "payment_methods5", + "payment_methods6" + ], + "installments": [ + 25, + 26 + ], + "status": "status2", + "currency": "currency0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "items": [ + { + "id": "id7", + "name": "name7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 23, + "scheme_type": "scheme_type9", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 119, + "percentage": 42.97 + }, + "description": "description7", + "plan": {}, + "quantity": 33, + "cycles": 53, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "billing_days": [ + 245 + ], + "shippable": false, + "metadata": { + "key0": "metadata9" + }, + "trial_period_days": 216, + "minimum_price": 242, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "quantity": 40, + "cycles": 60, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id5", + "name": "name5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 31, + "scheme_type": "scheme_type7", + "price_brackets": [ + { + "start_quantity": 240, + "price": 178, + "end_quantity": 248, + "overage_price": 6 + }, + { + "start_quantity": 241, + "price": 179, + "end_quantity": 249, + "overage_price": 7 + }, + { + "start_quantity": 242, + "price": 180, + "end_quantity": 250, + "overage_price": 8 + } + ], + "minimum_price": 127, + "percentage": 132.65 + }, + "description": "description5", + "plan": { + "id": "id1", + "name": "name1", + "description": "description1", + "url": "url5", + "statement_descriptor": "statement_descriptor1", + "interval": "interval9", + "interval_count": 245, + "billing_type": "billing_type5", + "payment_methods": [ + "payment_methods6", + "payment_methods7", + "payment_methods8" + ], + "installments": [ + 26, + 27, + 28 + ], + "status": "status3", + "currency": "currency1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "items": [ + { + "id": "id8", + "name": "name8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 24, + "scheme_type": "scheme_type0", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 120, + "percentage": 42.98 + }, + "description": "description8", + "plan": {}, + "quantity": 34, + "cycles": 54, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id9", + "name": "name9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 25, + "scheme_type": "scheme_type1", + "price_brackets": [ + {} + ], + "minimum_price": 121, + "percentage": 42.99 + }, + "description": "description9", + "plan": {}, + "quantity": 35, + "cycles": 55, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "billing_days": [ + 246, + 247 + ], + "shippable": true, + "metadata": { + "key0": "metadata8", + "key1": "metadata7" + }, + "trial_period_days": 217, + "minimum_price": 243, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "quantity": 41, + "cycles": 61, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "billing_days": [ + 251, + 252, + 253 + ], + "shippable": false, + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "trial_period_days": 222, + "minimum_price": 248, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "paging": { + "total": 6, + "previous": "previous2", + "next": "next8" + } } ``` diff --git a/doc/models/list-recipient-response.md b/doc/models/list-recipient-response.md index 7c54713..df6da44 100644 --- a/doc/models/list-recipient-response.md +++ b/doc/models/list-recipient-response.md @@ -18,8 +18,277 @@ Response for the listing recipient method ```json { - "data": null, - "paging": null + "data": [ + { + "id": "id5", + "name": "name5", + "email": "email9", + "document": "document9", + "description": "description5", + "type": "type5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id3", + "holder_name": "holder_name9", + "holder_type": "holder_type5", + "bank": "bank1", + "branch_number": "branch_number9", + "branch_check_digit": "branch_check_digit9", + "account_number": "account_number3", + "account_check_digit": "account_check_digit9", + "type": "type3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id5", + "name": "name5", + "email": "email9", + "document": "document9", + "description": "description5", + "type": "type5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id3", + "holder_name": "holder_name9", + "holder_type": "holder_type5", + "bank": "bank1", + "branch_number": "branch_number9", + "branch_check_digit": "branch_check_digit9", + "account_number": "account_number3", + "account_check_digit": "account_check_digit9", + "type": "type3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata4", + "key1": "metadata5" + }, + "pix_key": "pix_key7" + }, + "gateway_recipients": [ + { + "gateway": "gateway9", + "status": "status1", + "pgid": "pgid5", + "created_at": "created_at7", + "updated_at": "updated_at5" + }, + { + "gateway": "gateway0", + "status": "status2", + "pgid": "pgid6", + "created_at": "created_at8", + "updated_at": "updated_at6" + } + ], + "metadata": { + "key0": "metadata6", + "key1": "metadata7" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type9", + "volume_percentage": 137, + "delay": 171, + "days": [ + 147 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval1", + "transfer_day": 7 + }, + "code": "code3", + "payment_mode": "payment_mode9" + }, + "metadata": { + "key0": "metadata4", + "key1": "metadata5" + }, + "pix_key": "pix_key7" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata4", + "key1": "metadata3" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type9", + "volume_percentage": 67, + "delay": 101, + "days": [ + 77 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval1", + "transfer_day": 193 + }, + "code": "code3", + "payment_mode": "payment_mode9" + }, + { + "id": "id6", + "name": "name6", + "email": "email0", + "document": "document0", + "description": "description6", + "type": "type6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id4", + "holder_name": "holder_name0", + "holder_type": "holder_type6", + "bank": "bank2", + "branch_number": "branch_number0", + "branch_check_digit": "branch_check_digit0", + "account_number": "account_number4", + "account_check_digit": "account_check_digit0", + "type": "type4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id6", + "name": "name6", + "email": "email0", + "document": "document0", + "description": "description6", + "type": "type6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id4", + "holder_name": "holder_name0", + "holder_type": "holder_type6", + "bank": "bank2", + "branch_number": "branch_number0", + "branch_check_digit": "branch_check_digit0", + "account_number": "account_number4", + "account_check_digit": "account_check_digit0", + "type": "type4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata6", + "key2": "metadata7" + }, + "pix_key": "pix_key8" + }, + "gateway_recipients": [ + { + "gateway": "gateway0", + "status": "status2", + "pgid": "pgid6", + "created_at": "created_at8", + "updated_at": "updated_at6" + }, + { + "gateway": "gateway1", + "status": "status3", + "pgid": "pgid7", + "created_at": "created_at9", + "updated_at": "updated_at7" + }, + { + "gateway": "gateway2", + "status": "status4", + "pgid": "pgid8", + "created_at": "created_at0", + "updated_at": "updated_at8" + } + ], + "metadata": { + "key0": "metadata7", + "key1": "metadata8", + "key2": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type0", + "volume_percentage": 138, + "delay": 172, + "days": [ + 148, + 149 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval2", + "transfer_day": 8 + }, + "code": "code4", + "payment_mode": "payment_mode0" + }, + "metadata": { + "key0": "metadata5", + "key1": "metadata6", + "key2": "metadata7" + }, + "pix_key": "pix_key8" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type0", + "volume_percentage": 68, + "delay": 102, + "days": [ + 78, + 79 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval2", + "transfer_day": 194 + }, + "code": "code4", + "payment_mode": "payment_mode0" + } + ], + "paging": { + "total": 6, + "previous": "previous2", + "next": "next8" + } } ``` diff --git a/doc/models/list-subscription-items-response.md b/doc/models/list-subscription-items-response.md index 162cafd..5c92509 100644 --- a/doc/models/list-subscription-items-response.md +++ b/doc/models/list-subscription-items-response.md @@ -18,8 +18,2869 @@ Response model for listing subscription items ```json { - "data": null, - "paging": null + "data": [ + { + "id": "id5", + "description": "description5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 31, + "scheme_type": "scheme_type7", + "price_brackets": [ + { + "start_quantity": 178, + "price": 116, + "end_quantity": 186, + "overage_price": 200 + }, + { + "start_quantity": 179, + "price": 117, + "end_quantity": 187, + "overage_price": 201 + }, + { + "start_quantity": 180, + "price": 118, + "end_quantity": 188, + "overage_price": 202 + } + ], + "minimum_price": 65, + "percentage": 162.75 + }, + "discounts": [ + { + "id": "id6", + "value": 160.38, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 190, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": { + "id": "id2", + "code": "code0", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval0", + "interval_count": 32, + "billing_type": "billing_type6", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id0", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id6", + "code": "code4", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval4", + "interval_count": 90, + "billing_type": "billing_type0", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id4", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status6", + "duration": 74, + "created_at": "created_at2", + "updated_at": "updated_at0", + "cycle": 14 + }, + "payment_method": "payment_method4", + "currency": "currency6", + "installments": 2, + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id6", + "name": "name6", + "email": "email0", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document0", + "type": "type4", + "fb_access_token": "fb_access_token0", + "address": { + "id": "id2", + "street": "street2", + "number": "number0", + "complement": "complement8", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city2", + "state": "state8", + "country": "country6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id2", + "name": "name2", + "email": "email6", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document6", + "type": "type2", + "fb_access_token": "fb_access_token6", + "address": { + "id": "id8", + "street": "street8", + "number": "number6", + "complement": "complement4", + "zip_code": "zip_code2", + "neighborhood": "neighborhood4", + "city": "city8", + "state": "state4", + "country": "country2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata0" + }, + "line_1": "line_12", + "line_2": "line_26", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata9", + "key1": "metadata8", + "key2": "metadata7" + }, + "phones": { + "home_phone": { + "country_code": "country_code4", + "number": "number2", + "area_code": "area_code4" + }, + "mobile_phone": { + "country_code": "country_code4", + "number": "number8", + "area_code": "area_code4" + } + }, + "fb_id": 44, + "code": "code0", + "document_type": "document_type0" + }, + "metadata": { + "key0": "metadata7" + }, + "line_1": "line_16", + "line_2": "line_20", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 250, + "code": "code4", + "document_type": "document_type4" + }, + "card": { + "id": "id0", + "last_four_digits": "last_four_digits6", + "brand": "brand4", + "holder_name": "holder_name6", + "exp_month": 104, + "exp_year": 192, + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street2", + "number": "number0", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city8", + "state": "state2", + "country": "country6", + "complement": "complement2", + "line_1": "line_14", + "line_2": "line_20" + }, + "customer": {}, + "metadata": { + "key0": "metadata3" + }, + "type": "type0", + "holder_document": "holder_document6", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits0", + "label": "label0" + }, + "items": [ + { + "id": "id3", + "description": "description3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 131, + "scheme_type": "scheme_type5", + "price_brackets": [ + {} + ], + "minimum_price": 35, + "percentage": 169.43 + }, + "discounts": [ + { + "id": "id4", + "value": 167.06, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 90, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id2", + "value": 22.34, + "increment_type": "increment_type4", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 46, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id3", + "value": 22.35, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 45, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name3", + "quantity": 135, + "cycles": 155, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id4", + "description": "description4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 130, + "scheme_type": "scheme_type6", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 34, + "percentage": 169.44 + }, + "discounts": [ + { + "id": "id5", + "value": 167.07, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 91, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 167.08, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 92, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id3", + "value": 22.35, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 45, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 22.36, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 44, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 22.37, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 43, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name4", + "quantity": 136, + "cycles": 156, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id5", + "description": "description5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 129, + "scheme_type": "scheme_type7", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 33, + "percentage": 169.45 + }, + "discounts": [ + { + "id": "id6", + "value": 167.08, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 92, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id7", + "value": 167.09, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 93, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id8", + "value": 167.1, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 94, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id4", + "value": 22.36, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 44, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name5", + "quantity": 137, + "cycles": 157, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor6", + "metadata": { + "key0": "metadata3", + "key1": "metadata2" + }, + "setup": { + "id": "id0", + "description": "description0", + "amount": 26, + "status": "status2" + }, + "gateway_affiliation_id": "gateway_affiliation_id2", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 230, + "minimum_price": 88, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {} + ], + "boleto_due_days": 202, + "split": { + "enabled": false, + "rules": [ + { + "type": "type4", + "amount": 162, + "recipient": { + "id": "id8", + "name": "name8", + "email": "email8", + "document": "document8", + "description": "description8", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id8", + "name": "name8", + "email": "email8", + "document": "document2", + "description": "description8", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata3" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + { + "gateway": "gateway2", + "status": "status4", + "pgid": "pgid8", + "created_at": "created_at0", + "updated_at": "updated_at8" + } + ], + "metadata": { + "key0": "metadata5" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 162, + "delay": 128, + "days": [ + 104, + 105, + 106 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 72 + }, + "code": "code6", + "payment_mode": "payment_mode2" + }, + "metadata": { + "key0": "metadata3" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata5" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 232, + "delay": 58, + "days": [ + 34, + 35, + 36 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 142 + }, + "code": "code6", + "payment_mode": "payment_mode2" + }, + "gateway_id": "gateway_id4", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee2" + }, + "id": "id6" + }, + { + "type": "type3", + "amount": 163, + "recipient": { + "id": "id9", + "name": "name9", + "email": "email7", + "document": "document7", + "description": "description9", + "type": "type1", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id9", + "name": "name9", + "email": "email7", + "document": "document3", + "description": "description9", + "type": "type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata2", + "key1": "metadata1" + }, + "pix_key": "pix_key1" + }, + "gateway_recipients": [ + { + "gateway": "gateway3", + "status": "status5", + "pgid": "pgid9", + "created_at": "created_at1", + "updated_at": "updated_at9" + }, + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + } + ], + "metadata": { + "key0": "metadata6", + "key1": "metadata5", + "key2": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 161, + "delay": 129, + "days": [ + 105 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 71 + }, + "code": "code7", + "payment_mode": "payment_mode3" + }, + "metadata": { + "key0": "metadata4", + "key1": "metadata3", + "key2": "metadata2" + }, + "pix_key": "pix_key9" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata4", + "key1": "metadata5", + "key2": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type7", + "volume_percentage": 231, + "delay": 59, + "days": [ + 35 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 141 + }, + "code": "code7", + "payment_mode": "payment_mode3" + }, + "gateway_id": "gateway_id3", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee3" + }, + "id": "id7" + }, + { + "type": "type2", + "amount": 164, + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document6", + "description": "description0", + "type": "type0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document4", + "description": "description0", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "pix_key": "pix_key2" + }, + "gateway_recipients": [ + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + }, + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + }, + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + } + ], + "metadata": { + "key0": "metadata7", + "key1": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 160, + "delay": 130, + "days": [ + 106, + 107 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 70 + }, + "code": "code8", + "payment_mode": "payment_mode4" + }, + "metadata": { + "key0": "metadata5", + "key1": "metadata4" + }, + "pix_key": "pix_key8" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata3", + "key1": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 230, + "delay": 60, + "days": [ + 36, + 37 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 140 + }, + "code": "code8", + "payment_mode": "payment_mode4" + }, + "gateway_id": "gateway_id2", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee4" + }, + "id": "id8" + } + ] + }, + "boleto": { + "interest": { + "days": 144, + "type": "type6", + "amount": 218 + }, + "fine": { + "days": 146, + "type": "type2", + "amount": 220 + }, + "max_days_to_pay_past_due": 134 + }, + "manual_billing": false + }, + "status": "status2", + "duration": 16, + "created_at": "created_at8", + "updated_at": "updated_at6", + "cycle": 212 + }, + "payment_method": "payment_method2", + "currency": "currency2", + "installments": 200, + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id6", + "last_four_digits": "last_four_digits2", + "brand": "brand0", + "holder_name": "holder_name2", + "exp_month": 94, + "exp_year": 134, + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street8", + "number": "number6", + "zip_code": "zip_code2", + "neighborhood": "neighborhood4", + "city": "city8", + "state": "state4", + "country": "country2", + "complement": "complement4", + "line_1": "line_18", + "line_2": "line_26" + }, + "customer": {}, + "metadata": { + "key0": "metadata3", + "key1": "metadata2" + }, + "type": "type6", + "holder_document": "holder_document0", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits6", + "label": "label6" + }, + "items": [ + {}, + {} + ], + "statement_descriptor": "statement_descriptor2", + "metadata": { + "key0": "metadata7", + "key1": "metadata6" + }, + "setup": { + "id": "id6", + "description": "description6", + "amount": 224, + "status": "status8" + }, + "gateway_affiliation_id": "gateway_affiliation_id8", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 172, + "minimum_price": 30, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + {} + ], + "boleto_due_days": 144, + "split": { + "enabled": false, + "rules": [ + {}, + {} + ] + }, + "boleto": { + "interest": { + "days": 70, + "type": "type8", + "amount": 144 + }, + "fine": { + "days": 88, + "type": "type4", + "amount": 162 + }, + "max_days_to_pay_past_due": 76 + }, + "manual_billing": false + }, + "subscription_item": {} + }, + { + "id": "id7", + "value": 160.39, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 191, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": { + "id": "id3", + "code": "code1", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval1", + "interval_count": 33, + "billing_type": "billing_type7", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id1", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id7", + "code": "code5", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval5", + "interval_count": 91, + "billing_type": "billing_type1", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id5", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status7", + "duration": 75, + "created_at": "created_at3", + "updated_at": "updated_at1", + "cycle": 15 + }, + "payment_method": "payment_method3", + "currency": "currency7", + "installments": 3, + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id7", + "name": "name7", + "email": "email9", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document1", + "type": "type3", + "fb_access_token": "fb_access_token1", + "address": { + "id": "id3", + "street": "street3", + "number": "number1", + "complement": "complement9", + "zip_code": "zip_code7", + "neighborhood": "neighborhood9", + "city": "city3", + "state": "state9", + "country": "country7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id3", + "name": "name3", + "email": "email7", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document7", + "type": "type3", + "fb_access_token": "fb_access_token7", + "address": { + "id": "id9", + "street": "street9", + "number": "number7", + "complement": "complement5", + "zip_code": "zip_code3", + "neighborhood": "neighborhood5", + "city": "city9", + "state": "state5", + "country": "country3", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata0", + "key1": "metadata1", + "key2": "metadata2" + }, + "line_1": "line_13", + "line_2": "line_27", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata0", + "key1": "metadata9" + }, + "phones": { + "home_phone": { + "country_code": "country_code5", + "number": "number3", + "area_code": "area_code5" + }, + "mobile_phone": { + "country_code": "country_code5", + "number": "number7", + "area_code": "area_code5" + } + }, + "fb_id": 45, + "code": "code1", + "document_type": "document_type1" + }, + "metadata": { + "key0": "metadata6", + "key1": "metadata5" + }, + "line_1": "line_17", + "line_2": "line_21", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata4", + "key1": "metadata3", + "key2": "metadata2" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 251, + "code": "code5", + "document_type": "document_type5" + }, + "card": { + "id": "id1", + "last_four_digits": "last_four_digits7", + "brand": "brand5", + "holder_name": "holder_name7", + "exp_month": 103, + "exp_year": 193, + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street3", + "number": "number9", + "zip_code": "zip_code7", + "neighborhood": "neighborhood9", + "city": "city7", + "state": "state1", + "country": "country7", + "complement": "complement1", + "line_1": "line_13", + "line_2": "line_21" + }, + "customer": {}, + "metadata": { + "key0": "metadata2", + "key1": "metadata3", + "key2": "metadata4" + }, + "type": "type9", + "holder_document": "holder_document5", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits1", + "label": "label1" + }, + "items": [ + { + "id": "id4", + "description": "description4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 130, + "scheme_type": "scheme_type6", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 34, + "percentage": 169.44 + }, + "discounts": [ + { + "id": "id5", + "value": 167.07, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 91, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 167.08, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 92, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id3", + "value": 22.35, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 45, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 22.36, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 44, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 22.37, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 43, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name4", + "quantity": 136, + "cycles": 156, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor7", + "metadata": { + "key0": "metadata4" + }, + "setup": { + "id": "id1", + "description": "description1", + "amount": 27, + "status": "status3" + }, + "gateway_affiliation_id": "gateway_affiliation_id3", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 231, + "minimum_price": 89, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 203, + "split": { + "enabled": true, + "rules": [ + { + "type": "type3", + "amount": 163, + "recipient": { + "id": "id9", + "name": "name9", + "email": "email7", + "document": "document7", + "description": "description9", + "type": "type1", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id9", + "name": "name9", + "email": "email7", + "document": "document3", + "description": "description9", + "type": "type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata2", + "key1": "metadata1" + }, + "pix_key": "pix_key1" + }, + "gateway_recipients": [ + { + "gateway": "gateway3", + "status": "status5", + "pgid": "pgid9", + "created_at": "created_at1", + "updated_at": "updated_at9" + }, + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + } + ], + "metadata": { + "key0": "metadata6", + "key1": "metadata5", + "key2": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 161, + "delay": 129, + "days": [ + 105 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 71 + }, + "code": "code7", + "payment_mode": "payment_mode3" + }, + "metadata": { + "key0": "metadata4", + "key1": "metadata3", + "key2": "metadata2" + }, + "pix_key": "pix_key9" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata4", + "key1": "metadata5", + "key2": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type7", + "volume_percentage": 231, + "delay": 59, + "days": [ + 35 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 141 + }, + "code": "code7", + "payment_mode": "payment_mode3" + }, + "gateway_id": "gateway_id3", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee3" + }, + "id": "id7" + } + ] + }, + "boleto": { + "interest": { + "days": 143, + "type": "type7", + "amount": 217 + }, + "fine": { + "days": 147, + "type": "type1", + "amount": 221 + }, + "max_days_to_pay_past_due": 135 + }, + "manual_billing": true + }, + "status": "status3", + "duration": 17, + "created_at": "created_at9", + "updated_at": "updated_at7", + "cycle": 213 + }, + "payment_method": "payment_method3", + "currency": "currency3", + "installments": 201, + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id7", + "last_four_digits": "last_four_digits3", + "brand": "brand1", + "holder_name": "holder_name3", + "exp_month": 95, + "exp_year": 135, + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street9", + "number": "number7", + "zip_code": "zip_code3", + "neighborhood": "neighborhood5", + "city": "city9", + "state": "state5", + "country": "country3", + "complement": "complement5", + "line_1": "line_17", + "line_2": "line_27" + }, + "customer": {}, + "metadata": { + "key0": "metadata4" + }, + "type": "type7", + "holder_document": "holder_document1", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits7", + "label": "label7" + }, + "items": [ + {}, + {}, + {} + ], + "statement_descriptor": "statement_descriptor3", + "metadata": { + "key0": "metadata6", + "key1": "metadata5", + "key2": "metadata4" + }, + "setup": { + "id": "id7", + "description": "description7", + "amount": 225, + "status": "status9" + }, + "gateway_affiliation_id": "gateway_affiliation_id9", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 173, + "minimum_price": 31, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {} + ], + "boleto_due_days": 145, + "split": { + "enabled": true, + "rules": [ + {}, + {}, + {} + ] + }, + "boleto": { + "interest": { + "days": 71, + "type": "type7", + "amount": 145 + }, + "fine": { + "days": 89, + "type": "type5", + "amount": 163 + }, + "max_days_to_pay_past_due": 77 + }, + "manual_billing": true + }, + "subscription_item": {} + }, + { + "id": "id8", + "value": 160.4, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 192, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": { + "id": "id4", + "code": "code2", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval2", + "interval_count": 34, + "billing_type": "billing_type8", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id2", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id8", + "code": "code6", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval6", + "interval_count": 92, + "billing_type": "billing_type2", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id6", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status8", + "duration": 76, + "created_at": "created_at4", + "updated_at": "updated_at2", + "cycle": 16 + }, + "payment_method": "payment_method2", + "currency": "currency8", + "installments": 4, + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id8", + "name": "name8", + "email": "email8", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document2", + "type": "type2", + "fb_access_token": "fb_access_token2", + "address": { + "id": "id4", + "street": "street4", + "number": "number2", + "complement": "complement0", + "zip_code": "zip_code8", + "neighborhood": "neighborhood0", + "city": "city4", + "state": "state0", + "country": "country8", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id4", + "name": "name4", + "email": "email8", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document8", + "type": "type4", + "fb_access_token": "fb_access_token8", + "address": { + "id": "id0", + "street": "street0", + "number": "number8", + "complement": "complement6", + "zip_code": "zip_code4", + "neighborhood": "neighborhood6", + "city": "city0", + "state": "state6", + "country": "country4", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata1" + }, + "line_1": "line_14", + "line_2": "line_28", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata1" + }, + "phones": { + "home_phone": { + "country_code": "country_code6", + "number": "number4", + "area_code": "area_code6" + }, + "mobile_phone": { + "country_code": "country_code6", + "number": "number6", + "area_code": "area_code6" + } + }, + "fb_id": 46, + "code": "code2", + "document_type": "document_type2" + }, + "metadata": { + "key0": "metadata5", + "key1": "metadata4", + "key2": "metadata3" + }, + "line_1": "line_18", + "line_2": "line_22", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata5", + "key1": "metadata4" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 252, + "code": "code6", + "document_type": "document_type6" + }, + "card": { + "id": "id2", + "last_four_digits": "last_four_digits8", + "brand": "brand6", + "holder_name": "holder_name8", + "exp_month": 102, + "exp_year": 194, + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street4", + "number": "number8", + "zip_code": "zip_code8", + "neighborhood": "neighborhood0", + "city": "city6", + "state": "state0", + "country": "country8", + "complement": "complement0", + "line_1": "line_12", + "line_2": "line_22" + }, + "customer": {}, + "metadata": { + "key0": "metadata1", + "key1": "metadata2" + }, + "type": "type8", + "holder_document": "holder_document4", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits2", + "label": "label2" + }, + "items": [ + { + "id": "id5", + "description": "description5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 129, + "scheme_type": "scheme_type7", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 33, + "percentage": 169.45 + }, + "discounts": [ + { + "id": "id6", + "value": 167.08, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 92, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id7", + "value": 167.09, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 93, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id8", + "value": 167.1, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 94, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id4", + "value": 22.36, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 44, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name5", + "quantity": 137, + "cycles": 157, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id6", + "description": "description6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 128, + "scheme_type": "scheme_type8", + "price_brackets": [ + {} + ], + "minimum_price": 32, + "percentage": 169.46 + }, + "discounts": [ + { + "id": "id7", + "value": 167.09, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 93, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id5", + "value": 22.37, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 43, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 22.38, + "increment_type": "increment_type8", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 42, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name6", + "quantity": 138, + "cycles": 158, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor8", + "metadata": { + "key0": "metadata5", + "key1": "metadata4", + "key2": "metadata3" + }, + "setup": { + "id": "id2", + "description": "description2", + "amount": 28, + "status": "status4" + }, + "gateway_affiliation_id": "gateway_affiliation_id4", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 232, + "minimum_price": 90, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + {} + ], + "boleto_due_days": 204, + "split": { + "enabled": false, + "rules": [ + { + "type": "type2", + "amount": 164, + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document6", + "description": "description0", + "type": "type0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document4", + "description": "description0", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "pix_key": "pix_key2" + }, + "gateway_recipients": [ + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + }, + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + }, + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + } + ], + "metadata": { + "key0": "metadata7", + "key1": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 160, + "delay": 130, + "days": [ + 106, + 107 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 70 + }, + "code": "code8", + "payment_mode": "payment_mode4" + }, + "metadata": { + "key0": "metadata5", + "key1": "metadata4" + }, + "pix_key": "pix_key8" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata3", + "key1": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 230, + "delay": 60, + "days": [ + 36, + 37 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 140 + }, + "code": "code8", + "payment_mode": "payment_mode4" + }, + "gateway_id": "gateway_id2", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee4" + }, + "id": "id8" + }, + { + "type": "type1", + "amount": 165, + "recipient": { + "id": "id1", + "name": "name1", + "email": "email5", + "document": "document5", + "description": "description1", + "type": "type9", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id9", + "holder_name": "holder_name5", + "holder_type": "holder_type1", + "bank": "bank7", + "branch_number": "branch_number5", + "branch_check_digit": "branch_check_digit5", + "account_number": "account_number9", + "account_check_digit": "account_check_digit5", + "type": "type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id1", + "name": "name1", + "email": "email5", + "document": "document5", + "description": "description1", + "type": "type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id9", + "holder_name": "holder_name5", + "holder_type": "holder_type1", + "bank": "bank7", + "branch_number": "branch_number5", + "branch_check_digit": "branch_check_digit5", + "account_number": "account_number9", + "account_check_digit": "account_check_digit5", + "type": "type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata0" + }, + "pix_key": "pix_key3" + }, + "gateway_recipients": [ + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + } + ], + "metadata": { + "key0": "metadata8" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type5", + "volume_percentage": 159, + "delay": 131, + "days": [ + 107, + 108, + 109 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval3", + "transfer_day": 69 + }, + "code": "code9", + "payment_mode": "payment_mode5" + }, + "metadata": { + "key0": "metadata6" + }, + "pix_key": "pix_key7" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata2" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type5", + "volume_percentage": 229, + "delay": 61, + "days": [ + 37, + 38, + 39 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval3", + "transfer_day": 139 + }, + "code": "code9", + "payment_mode": "payment_mode5" + }, + "gateway_id": "gateway_id1", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee5" + }, + "id": "id9" + } + ] + }, + "boleto": { + "interest": { + "days": 142, + "type": "type8", + "amount": 216 + }, + "fine": { + "days": 148, + "type": "type0", + "amount": 222 + }, + "max_days_to_pay_past_due": 136 + }, + "manual_billing": false + }, + "status": "status4", + "duration": 18, + "created_at": "created_at0", + "updated_at": "updated_at8", + "cycle": 214 + }, + "payment_method": "payment_method4", + "currency": "currency4", + "installments": 202, + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id8", + "last_four_digits": "last_four_digits4", + "brand": "brand2", + "holder_name": "holder_name4", + "exp_month": 96, + "exp_year": 136, + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street0", + "number": "number8", + "zip_code": "zip_code4", + "neighborhood": "neighborhood6", + "city": "city0", + "state": "state6", + "country": "country4", + "complement": "complement6", + "line_1": "line_16", + "line_2": "line_28" + }, + "customer": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata4", + "key2": "metadata3" + }, + "type": "type8", + "holder_document": "holder_document2", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits8", + "label": "label8" + }, + "items": [ + {} + ], + "statement_descriptor": "statement_descriptor4", + "metadata": { + "key0": "metadata5" + }, + "setup": { + "id": "id8", + "description": "description8", + "amount": 226, + "status": "status0" + }, + "gateway_affiliation_id": "gateway_affiliation_id0", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 174, + "minimum_price": 32, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 146, + "split": { + "enabled": false, + "rules": [ + {} + ] + }, + "boleto": { + "interest": { + "days": 72, + "type": "type6", + "amount": 146 + }, + "fine": { + "days": 90, + "type": "type6", + "amount": 164 + }, + "max_days_to_pay_past_due": 78 + }, + "manual_billing": false + }, + "subscription_item": {} + } + ], + "increments": [ + {} + ], + "subscription": {}, + "name": "name5", + "quantity": 235, + "cycles": 255, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id6", + "description": "description6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 30, + "scheme_type": "scheme_type8", + "price_brackets": [ + { + "start_quantity": 179, + "price": 117, + "end_quantity": 187, + "overage_price": 201 + } + ], + "minimum_price": 66, + "percentage": 162.76 + }, + "discounts": [ + { + "id": "id7", + "value": 160.39, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 191, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": { + "id": "id3", + "code": "code1", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval1", + "interval_count": 33, + "billing_type": "billing_type7", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id1", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id7", + "code": "code5", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval5", + "interval_count": 91, + "billing_type": "billing_type1", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id5", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status7", + "duration": 75, + "created_at": "created_at3", + "updated_at": "updated_at1", + "cycle": 15 + }, + "payment_method": "payment_method3", + "currency": "currency7", + "installments": 3, + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id7", + "name": "name7", + "email": "email9", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document1", + "type": "type3", + "fb_access_token": "fb_access_token1", + "address": { + "id": "id3", + "street": "street3", + "number": "number1", + "complement": "complement9", + "zip_code": "zip_code7", + "neighborhood": "neighborhood9", + "city": "city3", + "state": "state9", + "country": "country7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id3", + "name": "name3", + "email": "email7", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document7", + "type": "type3", + "fb_access_token": "fb_access_token7", + "address": { + "id": "id9", + "street": "street9", + "number": "number7", + "complement": "complement5", + "zip_code": "zip_code3", + "neighborhood": "neighborhood5", + "city": "city9", + "state": "state5", + "country": "country3", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata0", + "key1": "metadata1", + "key2": "metadata2" + }, + "line_1": "line_13", + "line_2": "line_27", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata0", + "key1": "metadata9" + }, + "phones": { + "home_phone": { + "country_code": "country_code5", + "number": "number3", + "area_code": "area_code5" + }, + "mobile_phone": { + "country_code": "country_code5", + "number": "number7", + "area_code": "area_code5" + } + }, + "fb_id": 45, + "code": "code1", + "document_type": "document_type1" + }, + "metadata": { + "key0": "metadata6", + "key1": "metadata5" + }, + "line_1": "line_17", + "line_2": "line_21", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata4", + "key1": "metadata3", + "key2": "metadata2" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 251, + "code": "code5", + "document_type": "document_type5" + }, + "card": { + "id": "id1", + "last_four_digits": "last_four_digits7", + "brand": "brand5", + "holder_name": "holder_name7", + "exp_month": 103, + "exp_year": 193, + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street3", + "number": "number9", + "zip_code": "zip_code7", + "neighborhood": "neighborhood9", + "city": "city7", + "state": "state1", + "country": "country7", + "complement": "complement1", + "line_1": "line_13", + "line_2": "line_21" + }, + "customer": {}, + "metadata": { + "key0": "metadata2", + "key1": "metadata3", + "key2": "metadata4" + }, + "type": "type9", + "holder_document": "holder_document5", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits1", + "label": "label1" + }, + "items": [ + { + "id": "id4", + "description": "description4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 130, + "scheme_type": "scheme_type6", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 34, + "percentage": 169.44 + }, + "discounts": [ + { + "id": "id5", + "value": 167.07, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 91, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 167.08, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 92, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id3", + "value": 22.35, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 45, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 22.36, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 44, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 22.37, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 43, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name4", + "quantity": 136, + "cycles": 156, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor7", + "metadata": { + "key0": "metadata4" + }, + "setup": { + "id": "id1", + "description": "description1", + "amount": 27, + "status": "status3" + }, + "gateway_affiliation_id": "gateway_affiliation_id3", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 231, + "minimum_price": 89, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 203, + "split": { + "enabled": true, + "rules": [ + { + "type": "type3", + "amount": 163, + "recipient": { + "id": "id9", + "name": "name9", + "email": "email7", + "document": "document7", + "description": "description9", + "type": "type1", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id9", + "name": "name9", + "email": "email7", + "document": "document3", + "description": "description9", + "type": "type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata2", + "key1": "metadata1" + }, + "pix_key": "pix_key1" + }, + "gateway_recipients": [ + { + "gateway": "gateway3", + "status": "status5", + "pgid": "pgid9", + "created_at": "created_at1", + "updated_at": "updated_at9" + }, + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + } + ], + "metadata": { + "key0": "metadata6", + "key1": "metadata5", + "key2": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 161, + "delay": 129, + "days": [ + 105 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 71 + }, + "code": "code7", + "payment_mode": "payment_mode3" + }, + "metadata": { + "key0": "metadata4", + "key1": "metadata3", + "key2": "metadata2" + }, + "pix_key": "pix_key9" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata4", + "key1": "metadata5", + "key2": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type7", + "volume_percentage": 231, + "delay": 59, + "days": [ + 35 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 141 + }, + "code": "code7", + "payment_mode": "payment_mode3" + }, + "gateway_id": "gateway_id3", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee3" + }, + "id": "id7" + } + ] + }, + "boleto": { + "interest": { + "days": 143, + "type": "type7", + "amount": 217 + }, + "fine": { + "days": 147, + "type": "type1", + "amount": 221 + }, + "max_days_to_pay_past_due": 135 + }, + "manual_billing": true + }, + "status": "status3", + "duration": 17, + "created_at": "created_at9", + "updated_at": "updated_at7", + "cycle": 213 + }, + "payment_method": "payment_method3", + "currency": "currency3", + "installments": 201, + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id7", + "last_four_digits": "last_four_digits3", + "brand": "brand1", + "holder_name": "holder_name3", + "exp_month": 95, + "exp_year": 135, + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street9", + "number": "number7", + "zip_code": "zip_code3", + "neighborhood": "neighborhood5", + "city": "city9", + "state": "state5", + "country": "country3", + "complement": "complement5", + "line_1": "line_17", + "line_2": "line_27" + }, + "customer": {}, + "metadata": { + "key0": "metadata4" + }, + "type": "type7", + "holder_document": "holder_document1", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits7", + "label": "label7" + }, + "items": [ + {}, + {}, + {} + ], + "statement_descriptor": "statement_descriptor3", + "metadata": { + "key0": "metadata6", + "key1": "metadata5", + "key2": "metadata4" + }, + "setup": { + "id": "id7", + "description": "description7", + "amount": 225, + "status": "status9" + }, + "gateway_affiliation_id": "gateway_affiliation_id9", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 173, + "minimum_price": 31, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {} + ], + "boleto_due_days": 145, + "split": { + "enabled": true, + "rules": [ + {}, + {}, + {} + ] + }, + "boleto": { + "interest": { + "days": 71, + "type": "type7", + "amount": 145 + }, + "fine": { + "days": 89, + "type": "type5", + "amount": 163 + }, + "max_days_to_pay_past_due": 77 + }, + "manual_billing": true + }, + "subscription_item": {} + } + ], + "increments": [ + {}, + {} + ], + "subscription": {}, + "name": "name6", + "quantity": 236, + "cycles": 0, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "paging": { + "total": 6, + "previous": "previous2", + "next": "next8" + } } ``` diff --git a/doc/models/list-subscriptions-response.md b/doc/models/list-subscriptions-response.md index 7af8e57..410dda5 100644 --- a/doc/models/list-subscriptions-response.md +++ b/doc/models/list-subscriptions-response.md @@ -18,8 +18,2017 @@ Response object for listing subscriptions ```json { - "data": null, - "paging": null + "data": [ + { + "id": "id5", + "code": "code3", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval3", + "interval_count": 249, + "billing_type": "billing_type9", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id3", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id9", + "code": "code7", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval7", + "interval_count": 51, + "billing_type": "billing_type3", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id7", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status9", + "duration": 35, + "created_at": "created_at5", + "updated_at": "updated_at3", + "cycle": 231 + }, + "payment_method": "payment_method9", + "currency": "currency9", + "installments": 219, + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id9", + "name": "name9", + "email": "email7", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document3", + "type": "type1", + "fb_access_token": "fb_access_token3", + "address": { + "id": "id5", + "street": "street5", + "number": "number3", + "complement": "complement1", + "zip_code": "zip_code9", + "neighborhood": "neighborhood1", + "city": "city5", + "state": "state1", + "country": "country9", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id5", + "name": "name5", + "email": "email9", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document9", + "type": "type5", + "fb_access_token": "fb_access_token9", + "address": { + "id": "id1", + "street": "street1", + "number": "number9", + "complement": "complement7", + "zip_code": "zip_code5", + "neighborhood": "neighborhood7", + "city": "city1", + "state": "state7", + "country": "country5", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata2", + "key1": "metadata3" + }, + "line_1": "line_15", + "line_2": "line_29", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata4", + "key1": "metadata3" + }, + "phones": { + "home_phone": { + "country_code": "country_code7", + "number": "number5", + "area_code": "area_code7" + }, + "mobile_phone": { + "country_code": "country_code7", + "number": "number5", + "area_code": "area_code7" + } + }, + "fb_id": 5, + "code": "code3", + "document_type": "document_type3" + }, + "metadata": { + "key0": "metadata4" + }, + "line_1": "line_19", + "line_2": "line_23", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata6" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 211, + "code": "code7", + "document_type": "document_type7" + }, + "card": { + "id": "id3", + "last_four_digits": "last_four_digits9", + "brand": "brand7", + "holder_name": "holder_name9", + "exp_month": 143, + "exp_year": 153, + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street5", + "number": "number7", + "zip_code": "zip_code9", + "neighborhood": "neighborhood1", + "city": "city5", + "state": "state9", + "country": "country9", + "complement": "complement9", + "line_1": "line_11", + "line_2": "line_23" + }, + "customer": {}, + "metadata": { + "key0": "metadata0" + }, + "type": "type7", + "holder_document": "holder_document3", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits3", + "label": "label3" + }, + "items": [ + { + "id": "id6", + "description": "description6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 170, + "scheme_type": "scheme_type8", + "price_brackets": [ + { + "start_quantity": 39, + "price": 23, + "end_quantity": 47, + "overage_price": 61 + } + ], + "minimum_price": 74, + "percentage": 238.16 + }, + "discounts": [ + { + "id": "id7", + "value": 235.79, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 51, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": { + "id": "id3", + "description": "description3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 9, + "scheme_type": "scheme_type5", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 105, + "percentage": 17.23 + }, + "discounts": [ + { + "id": "id4", + "value": 14.86, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 230, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 14.87, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 231, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 14.88, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 232, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id2", + "value": 126.14, + "increment_type": "increment_type4", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 94, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name3", + "quantity": 19, + "cycles": 39, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {} + ], + "subscription": {}, + "name": "name6", + "quantity": 96, + "cycles": 116, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id7", + "description": "description7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 169, + "scheme_type": "scheme_type9", + "price_brackets": [ + { + "start_quantity": 40, + "price": 22, + "end_quantity": 48, + "overage_price": 62 + }, + { + "start_quantity": 41, + "price": 21, + "end_quantity": 49, + "overage_price": 63 + } + ], + "minimum_price": 73, + "percentage": 238.17 + }, + "discounts": [ + { + "id": "id8", + "value": 235.8, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 52, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": { + "id": "id4", + "description": "description4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 10, + "scheme_type": "scheme_type6", + "price_brackets": [ + {} + ], + "minimum_price": 106, + "percentage": 17.24 + }, + "discounts": [ + { + "id": "id5", + "value": 14.87, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 231, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id3", + "value": 126.15, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 95, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 126.16, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 96, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name4", + "quantity": 20, + "cycles": 40, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id9", + "value": 235.81, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 53, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": { + "id": "id5", + "description": "description5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 11, + "scheme_type": "scheme_type7", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 107, + "percentage": 17.25 + }, + "discounts": [ + { + "id": "id6", + "value": 14.88, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 232, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id7", + "value": 14.89, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 233, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id4", + "value": 126.16, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 96, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 126.17, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 97, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 126.18, + "increment_type": "increment_type8", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 98, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name5", + "quantity": 21, + "cycles": 41, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {}, + {} + ], + "subscription": {}, + "name": "name7", + "quantity": 97, + "cycles": 117, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id8", + "description": "description8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 168, + "scheme_type": "scheme_type0", + "price_brackets": [ + { + "start_quantity": 41, + "price": 21, + "end_quantity": 49, + "overage_price": 63 + }, + { + "start_quantity": 42, + "price": 20, + "end_quantity": 50, + "overage_price": 64 + }, + { + "start_quantity": 43, + "price": 19, + "end_quantity": 51, + "overage_price": 65 + } + ], + "minimum_price": 72, + "percentage": 238.18 + }, + "discounts": [ + { + "id": "id9", + "value": 235.81, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 53, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": { + "id": "id5", + "description": "description5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 11, + "scheme_type": "scheme_type7", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 107, + "percentage": 17.25 + }, + "discounts": [ + { + "id": "id6", + "value": 14.88, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 232, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id7", + "value": 14.89, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 233, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id4", + "value": 126.16, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 96, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 126.17, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 97, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 126.18, + "increment_type": "increment_type8", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 98, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name5", + "quantity": 21, + "cycles": 41, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id0", + "value": 235.82, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 54, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": { + "id": "id6", + "description": "description6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 12, + "scheme_type": "scheme_type8", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 108, + "percentage": 17.26 + }, + "discounts": [ + { + "id": "id7", + "value": 14.89, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 233, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id8", + "value": 14.9, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 234, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id9", + "value": 14.91, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 235, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id5", + "value": 126.17, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 97, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name6", + "quantity": 22, + "cycles": 42, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id1", + "value": 235.83, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 55, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": { + "id": "id7", + "description": "description7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 13, + "scheme_type": "scheme_type9", + "price_brackets": [ + {} + ], + "minimum_price": 109, + "percentage": 17.27 + }, + "discounts": [ + { + "id": "id8", + "value": 14.9, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 234, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id6", + "value": 126.18, + "increment_type": "increment_type8", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 98, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id7", + "value": 126.19, + "increment_type": "increment_type9", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 99, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name7", + "quantity": 23, + "cycles": 43, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {} + ], + "subscription": {}, + "name": "name8", + "quantity": 98, + "cycles": 118, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor9", + "metadata": { + "key0": "metadata6", + "key1": "metadata5" + }, + "setup": { + "id": "id3", + "description": "description3", + "amount": 243, + "status": "status5" + }, + "gateway_affiliation_id": "gateway_affiliation_id5", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 191, + "minimum_price": 49, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {} + ], + "boleto_due_days": 163, + "split": { + "enabled": true, + "rules": [ + { + "type": "type1", + "amount": 123, + "recipient": { + "id": "id1", + "name": "name1", + "email": "email5", + "document": "document5", + "description": "description1", + "type": "type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id9", + "holder_name": "holder_name5", + "holder_type": "holder_type1", + "bank": "bank7", + "branch_number": "branch_number5", + "branch_check_digit": "branch_check_digit5", + "account_number": "account_number9", + "account_check_digit": "account_check_digit5", + "type": "type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id1", + "name": "name1", + "email": "email5", + "document": "document5", + "description": "description1", + "type": "type1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id9", + "holder_name": "holder_name5", + "holder_type": "holder_type1", + "bank": "bank7", + "branch_number": "branch_number5", + "branch_check_digit": "branch_check_digit5", + "account_number": "account_number9", + "account_check_digit": "account_check_digit5", + "type": "type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata0" + }, + "pix_key": "pix_key3" + }, + "gateway_recipients": [ + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + } + ], + "metadata": { + "key0": "metadata8" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type5", + "volume_percentage": 201, + "delay": 89, + "days": [ + 65, + 66, + 67 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval3", + "transfer_day": 111 + }, + "code": "code9", + "payment_mode": "payment_mode5" + }, + "metadata": { + "key0": "metadata0" + }, + "pix_key": "pix_key3" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata2" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type5", + "volume_percentage": 15, + "delay": 19, + "days": [ + 251, + 252, + 253 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval3", + "transfer_day": 181 + }, + "code": "code9", + "payment_mode": "payment_mode5" + }, + "gateway_id": "gateway_id1", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee5" + }, + "id": "id9" + }, + { + "type": "type0", + "amount": 124, + "recipient": { + "id": "id2", + "name": "name2", + "email": "email4", + "document": "document6", + "description": "description2", + "type": "type8", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id2", + "name": "name2", + "email": "email4", + "document": "document6", + "description": "description2", + "type": "type2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + }, + { + "gateway": "gateway7", + "status": "status9", + "pgid": "pgid3", + "created_at": "created_at5", + "updated_at": "updated_at3" + } + ], + "metadata": { + "key0": "metadata9", + "key1": "metadata8", + "key2": "metadata7" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 200, + "delay": 90, + "days": [ + 66 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval2", + "transfer_day": 110 + }, + "code": "code0", + "payment_mode": "payment_mode6" + }, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata1", + "key1": "metadata2", + "key2": "metadata3" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 14, + "delay": 20, + "days": [ + 252 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval2", + "transfer_day": 180 + }, + "code": "code0", + "payment_mode": "payment_mode6" + }, + "gateway_id": "gateway_id0", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee6" + }, + "id": "id0" + }, + { + "type": "type9", + "amount": 125, + "recipient": { + "id": "id3", + "name": "name3", + "email": "email3", + "document": "document7", + "description": "description3", + "type": "type7", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id1", + "holder_name": "holder_name7", + "holder_type": "holder_type3", + "bank": "bank9", + "branch_number": "branch_number7", + "branch_check_digit": "branch_check_digit7", + "account_number": "account_number1", + "account_check_digit": "account_check_digit7", + "type": "type1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id3", + "name": "name3", + "email": "email3", + "document": "document7", + "description": "description3", + "type": "type3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id1", + "holder_name": "holder_name7", + "holder_type": "holder_type3", + "bank": "bank9", + "branch_number": "branch_number7", + "branch_check_digit": "branch_check_digit7", + "account_number": "account_number1", + "account_check_digit": "account_check_digit7", + "type": "type1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata8", + "key1": "metadata7", + "key2": "metadata6" + }, + "pix_key": "pix_key5" + }, + "gateway_recipients": [ + { + "gateway": "gateway7", + "status": "status9", + "pgid": "pgid3", + "created_at": "created_at5", + "updated_at": "updated_at3" + }, + { + "gateway": "gateway8", + "status": "status0", + "pgid": "pgid4", + "created_at": "created_at6", + "updated_at": "updated_at4" + }, + { + "gateway": "gateway9", + "status": "status1", + "pgid": "pgid5", + "created_at": "created_at7", + "updated_at": "updated_at5" + } + ], + "metadata": { + "key0": "metadata0", + "key1": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type7", + "volume_percentage": 199, + "delay": 91, + "days": [ + 67, + 68 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval1", + "transfer_day": 109 + }, + "code": "code1", + "payment_mode": "payment_mode7" + }, + "metadata": { + "key0": "metadata8", + "key1": "metadata7", + "key2": "metadata6" + }, + "pix_key": "pix_key5" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata0", + "key1": "metadata1" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 13, + "delay": 21, + "days": [ + 253, + 254 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval1", + "transfer_day": 179 + }, + "code": "code1", + "payment_mode": "payment_mode7" + }, + "gateway_id": "gateway_id9", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee7" + }, + "id": "id1" + } + ] + }, + "boleto": { + "interest": { + "days": 183, + "type": "type9", + "amount": 1 + }, + "fine": { + "days": 107, + "type": "type9", + "amount": 181 + }, + "max_days_to_pay_past_due": 95 + }, + "manual_billing": true + }, + "status": "status5", + "duration": 233, + "created_at": "created_at1", + "updated_at": "updated_at9", + "cycle": 173 + }, + "payment_method": "payment_method5", + "currency": "currency5", + "installments": 161, + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id9", + "last_four_digits": "last_four_digits5", + "brand": "brand3", + "holder_name": "holder_name5", + "exp_month": 55, + "exp_year": 95, + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street1", + "number": "number9", + "zip_code": "zip_code5", + "neighborhood": "neighborhood7", + "city": "city1", + "state": "state7", + "country": "country5", + "complement": "complement7", + "line_1": "line_15", + "line_2": "line_29" + }, + "customer": {}, + "metadata": { + "key0": "metadata0", + "key1": "metadata9", + "key2": "metadata8" + }, + "type": "type9", + "holder_document": "holder_document3", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits9", + "label": "label9" + }, + "items": [ + {}, + {} + ], + "statement_descriptor": "statement_descriptor5", + "metadata": { + "key0": "metadata4", + "key1": "metadata3" + }, + "setup": { + "id": "id9", + "description": "description9", + "amount": 185, + "status": "status1" + }, + "gateway_affiliation_id": "gateway_affiliation_id1", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 133, + "minimum_price": 247, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + {} + ], + "boleto_due_days": 105, + "split": { + "enabled": true, + "rules": [ + {}, + {} + ] + }, + "boleto": { + "interest": { + "days": 31, + "type": "type5", + "amount": 105 + }, + "fine": { + "days": 49, + "type": "type7", + "amount": 123 + }, + "max_days_to_pay_past_due": 37 + }, + "manual_billing": true + }, + { + "id": "id6", + "code": "code4", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval4", + "interval_count": 250, + "billing_type": "billing_type0", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id4", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id0", + "code": "code8", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval8", + "interval_count": 52, + "billing_type": "billing_type4", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id8", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status0", + "duration": 36, + "created_at": "created_at6", + "updated_at": "updated_at4", + "cycle": 232 + }, + "payment_method": "payment_method0", + "currency": "currency0", + "installments": 220, + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id0", + "name": "name0", + "email": "email6", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document4", + "type": "type0", + "fb_access_token": "fb_access_token4", + "address": { + "id": "id6", + "street": "street6", + "number": "number4", + "complement": "complement2", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city6", + "state": "state2", + "country": "country0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id6", + "name": "name6", + "email": "email0", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document0", + "type": "type6", + "fb_access_token": "fb_access_token0", + "address": { + "id": "id2", + "street": "street2", + "number": "number0", + "complement": "complement8", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city2", + "state": "state8", + "country": "country6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata3", + "key1": "metadata4", + "key2": "metadata5" + }, + "line_1": "line_16", + "line_2": "line_20", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "phones": { + "home_phone": { + "country_code": "country_code8", + "number": "number6", + "area_code": "area_code8" + }, + "mobile_phone": { + "country_code": "country_code8", + "number": "number6", + "area_code": "area_code8" + } + }, + "fb_id": 6, + "code": "code4", + "document_type": "document_type4" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2" + }, + "line_1": "line_10", + "line_2": "line_24", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata7", + "key1": "metadata6", + "key2": "metadata5" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 212, + "code": "code8", + "document_type": "document_type8" + }, + "card": { + "id": "id4", + "last_four_digits": "last_four_digits0", + "brand": "brand8", + "holder_name": "holder_name0", + "exp_month": 142, + "exp_year": 154, + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street6", + "number": "number6", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city4", + "state": "state8", + "country": "country0", + "complement": "complement8", + "line_1": "line_10", + "line_2": "line_24" + }, + "customer": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata0", + "key2": "metadata1" + }, + "type": "type6", + "holder_document": "holder_document2", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits4", + "label": "label4" + }, + "items": [ + { + "id": "id7", + "description": "description7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 169, + "scheme_type": "scheme_type9", + "price_brackets": [ + { + "start_quantity": 40, + "price": 22, + "end_quantity": 48, + "overage_price": 62 + }, + { + "start_quantity": 41, + "price": 21, + "end_quantity": 49, + "overage_price": 63 + } + ], + "minimum_price": 73, + "percentage": 238.17 + }, + "discounts": [ + { + "id": "id8", + "value": 235.8, + "discount_type": "discount_type6", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 52, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": { + "id": "id4", + "description": "description4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 10, + "scheme_type": "scheme_type6", + "price_brackets": [ + {} + ], + "minimum_price": 106, + "percentage": 17.24 + }, + "discounts": [ + { + "id": "id5", + "value": 14.87, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 231, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id3", + "value": 126.15, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 95, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 126.16, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 96, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name4", + "quantity": 20, + "cycles": 40, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + }, + { + "id": "id9", + "value": 235.81, + "discount_type": "discount_type7", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 53, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": { + "id": "id5", + "description": "description5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 11, + "scheme_type": "scheme_type7", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 107, + "percentage": 17.25 + }, + "discounts": [ + { + "id": "id6", + "value": 14.88, + "discount_type": "discount_type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 232, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id7", + "value": 14.89, + "discount_type": "discount_type5", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 233, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description7", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id4", + "value": 126.16, + "increment_type": "increment_type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 96, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 126.17, + "increment_type": "increment_type7", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 97, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id6", + "value": 126.18, + "increment_type": "increment_type8", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 98, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description6", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name5", + "quantity": 21, + "cycles": 41, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + } + ], + "increments": [ + {}, + {}, + {} + ], + "subscription": {}, + "name": "name7", + "quantity": 97, + "cycles": 117, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor0", + "metadata": { + "key0": "metadata7" + }, + "setup": { + "id": "id4", + "description": "description4", + "amount": 244, + "status": "status6" + }, + "gateway_affiliation_id": "gateway_affiliation_id6", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 192, + "minimum_price": 50, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 164, + "split": { + "enabled": false, + "rules": [ + { + "type": "type0", + "amount": 124, + "recipient": { + "id": "id2", + "name": "name2", + "email": "email4", + "document": "document6", + "description": "description2", + "type": "type8", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id2", + "name": "name2", + "email": "email4", + "document": "document6", + "description": "description2", + "type": "type2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + }, + { + "gateway": "gateway7", + "status": "status9", + "pgid": "pgid3", + "created_at": "created_at5", + "updated_at": "updated_at3" + } + ], + "metadata": { + "key0": "metadata9", + "key1": "metadata8", + "key2": "metadata7" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 200, + "delay": 90, + "days": [ + 66 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval2", + "transfer_day": 110 + }, + "code": "code0", + "payment_mode": "payment_mode6" + }, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata1", + "key1": "metadata2", + "key2": "metadata3" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 14, + "delay": 20, + "days": [ + 252 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval2", + "transfer_day": 180 + }, + "code": "code0", + "payment_mode": "payment_mode6" + }, + "gateway_id": "gateway_id0", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee6" + }, + "id": "id0" + } + ] + }, + "boleto": { + "interest": { + "days": 182, + "type": "type0", + "amount": 0 + }, + "fine": { + "days": 108, + "type": "type8", + "amount": 182 + }, + "max_days_to_pay_past_due": 96 + }, + "manual_billing": false + }, + "status": "status6", + "duration": 234, + "created_at": "created_at2", + "updated_at": "updated_at0", + "cycle": 174 + }, + "payment_method": "payment_method6", + "currency": "currency6", + "installments": 162, + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id0", + "last_four_digits": "last_four_digits6", + "brand": "brand4", + "holder_name": "holder_name6", + "exp_month": 56, + "exp_year": 96, + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street2", + "number": "number0", + "zip_code": "zip_code6", + "neighborhood": "neighborhood8", + "city": "city2", + "state": "state8", + "country": "country6", + "complement": "complement8", + "line_1": "line_16", + "line_2": "line_20" + }, + "customer": {}, + "metadata": { + "key0": "metadata9" + }, + "type": "type0", + "holder_document": "holder_document4", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits0", + "label": "label0" + }, + "items": [ + {}, + {}, + {} + ], + "statement_descriptor": "statement_descriptor6", + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "setup": { + "id": "id0", + "description": "description0", + "amount": 186, + "status": "status2" + }, + "gateway_affiliation_id": "gateway_affiliation_id2", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 134, + "minimum_price": 248, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {} + ], + "boleto_due_days": 106, + "split": { + "enabled": false, + "rules": [ + {}, + {}, + {} + ] + }, + "boleto": { + "interest": { + "days": 32, + "type": "type4", + "amount": 106 + }, + "fine": { + "days": 50, + "type": "type8", + "amount": 124 + }, + "max_days_to_pay_past_due": 38 + }, + "manual_billing": false + } + ], + "paging": { + "total": 6, + "previous": "previous2", + "next": "next8" + } } ``` diff --git a/doc/models/list-transactions-files-response.md b/doc/models/list-transactions-files-response.md index 97ccc08..c3ef7f8 100644 --- a/doc/models/list-transactions-files-response.md +++ b/doc/models/list-transactions-files-response.md @@ -18,8 +18,21 @@ Response object for listing of transactions files ```json { - "data": null, - "paging": null + "data": [ + { + "name": "name5", + "date": "2016-03-13T12:52:32.123Z" + }, + { + "name": "name6", + "date": "2016-03-13T12:52:32.123Z" + } + ], + "paging": { + "total": 6, + "previous": "previous2", + "next": "next8" + } } ``` diff --git a/doc/models/list-transactions-response.md b/doc/models/list-transactions-response.md index 7124f56..a902a3e 100644 --- a/doc/models/list-transactions-response.md +++ b/doc/models/list-transactions-response.md @@ -18,8 +18,681 @@ Response object for listing transactions ```json { - "data": null, - "paging": null + "data": [ + { + "gateway_id": "gateway_id5", + "amount": 121, + "status": "status7", + "success": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 97, + "max_attempts": 85, + "splits": [ + { + "type": "type7", + "amount": 53, + "recipient": { + "id": "id9", + "name": "name9", + "email": "email7", + "document": "document3", + "description": "description9", + "type": "type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id9", + "name": "name9", + "email": "email7", + "document": "document3", + "description": "description9", + "type": "type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id7", + "holder_name": "holder_name3", + "holder_type": "holder_type9", + "bank": "bank5", + "branch_number": "branch_number3", + "branch_check_digit": "branch_check_digit3", + "account_number": "account_number7", + "account_check_digit": "account_check_digit3", + "type": "type7", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata2", + "key1": "metadata1" + }, + "pix_key": "pix_key1" + }, + "gateway_recipients": [ + { + "gateway": "gateway3", + "status": "status5", + "pgid": "pgid9", + "created_at": "created_at1", + "updated_at": "updated_at9" + }, + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + } + ], + "metadata": { + "key0": "metadata6", + "key1": "metadata5", + "key2": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type3", + "volume_percentage": 241, + "delay": 19, + "days": [ + 251 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 181 + }, + "code": "code7", + "payment_mode": "payment_mode3" + }, + "metadata": { + "key0": "metadata2", + "key1": "metadata1" + }, + "pix_key": "pix_key1" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata6", + "key1": "metadata5", + "key2": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type7", + "volume_percentage": 85, + "delay": 205, + "days": [ + 181 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval5", + "transfer_day": 251 + }, + "code": "code7", + "payment_mode": "payment_mode3" + }, + "gateway_id": "gateway_id3", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee3" + }, + "id": "id7" + }, + { + "type": "type8", + "amount": 54, + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document4", + "description": "description0", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document4", + "description": "description0", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "pix_key": "pix_key2" + }, + "gateway_recipients": [ + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + }, + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + }, + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + } + ], + "metadata": { + "key0": "metadata7", + "key1": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 242, + "delay": 20, + "days": [ + 252, + 253 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 180 + }, + "code": "code8", + "payment_mode": "payment_mode4" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "pix_key": "pix_key2" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata7", + "key1": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 84, + "delay": 206, + "days": [ + 182, + 183 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 250 + }, + "code": "code8", + "payment_mode": "payment_mode4" + }, + "gateway_id": "gateway_id2", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee4" + }, + "id": "id8" + }, + { + "type": "type9", + "amount": 55, + "recipient": { + "id": "id1", + "name": "name1", + "email": "email5", + "document": "document5", + "description": "description1", + "type": "type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id9", + "holder_name": "holder_name5", + "holder_type": "holder_type1", + "bank": "bank7", + "branch_number": "branch_number5", + "branch_check_digit": "branch_check_digit5", + "account_number": "account_number9", + "account_check_digit": "account_check_digit5", + "type": "type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id1", + "name": "name1", + "email": "email5", + "document": "document5", + "description": "description1", + "type": "type1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id9", + "holder_name": "holder_name5", + "holder_type": "holder_type1", + "bank": "bank7", + "branch_number": "branch_number5", + "branch_check_digit": "branch_check_digit5", + "account_number": "account_number9", + "account_check_digit": "account_check_digit5", + "type": "type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata0" + }, + "pix_key": "pix_key3" + }, + "gateway_recipients": [ + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + } + ], + "metadata": { + "key0": "metadata8" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type5", + "volume_percentage": 243, + "delay": 21, + "days": [ + 253, + 254, + 255 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval3", + "transfer_day": 179 + }, + "code": "code9", + "payment_mode": "payment_mode5" + }, + "metadata": { + "key0": "metadata0" + }, + "pix_key": "pix_key3" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata8" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type5", + "volume_percentage": 83, + "delay": 207, + "days": [ + 183, + 184, + 185 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval3", + "transfer_day": 249 + }, + "code": "code9", + "payment_mode": "payment_mode5" + }, + "gateway_id": "gateway_id1", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee5" + }, + "id": "id9" + } + ], + "next_attempt": "2016-03-13T12:52:32.123Z", + "transaction_type": "transaction", + "id": "id5", + "gateway_response": { + "code": "code5", + "errors": [ + { + "message": "message2" + }, + { + "message": "message3" + }, + { + "message": "message4" + } + ] + }, + "antifraud_response": { + "status": "status5", + "return_code": "return_code3", + "return_message": "return_message1", + "provider_name": "provider_name1", + "score": "score3" + }, + "metadata": { + "key0": "metadata4", + "key1": "metadata3" + }, + "split": [ + {}, + {} + ], + "interest": { + "days": 27, + "type": "type5", + "amount": 101 + }, + "fine": { + "days": 45, + "type": "type7", + "amount": 119 + }, + "max_days_to_pay_past_due": 33 + }, + { + "gateway_id": "gateway_id6", + "amount": 122, + "status": "status8", + "success": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "attempt_count": 98, + "max_attempts": 86, + "splits": [ + { + "type": "type8", + "amount": 54, + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document4", + "description": "description0", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id0", + "name": "name0", + "email": "email6", + "document": "document4", + "description": "description0", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id8", + "holder_name": "holder_name4", + "holder_type": "holder_type0", + "bank": "bank6", + "branch_number": "branch_number4", + "branch_check_digit": "branch_check_digit4", + "account_number": "account_number8", + "account_check_digit": "account_check_digit4", + "type": "type8", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "pix_key": "pix_key2" + }, + "gateway_recipients": [ + { + "gateway": "gateway4", + "status": "status6", + "pgid": "pgid0", + "created_at": "created_at2", + "updated_at": "updated_at0" + }, + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + }, + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + } + ], + "metadata": { + "key0": "metadata7", + "key1": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type4", + "volume_percentage": 242, + "delay": 20, + "days": [ + 252, + 253 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 180 + }, + "code": "code8", + "payment_mode": "payment_mode4" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "pix_key": "pix_key2" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata7", + "key1": "metadata6" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 84, + "delay": 206, + "days": [ + 182, + 183 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval4", + "transfer_day": 250 + }, + "code": "code8", + "payment_mode": "payment_mode4" + }, + "gateway_id": "gateway_id2", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee4" + }, + "id": "id8" + } + ], + "next_attempt": "2016-03-13T12:52:32.123Z", + "transaction_type": "transaction", + "id": "id6", + "gateway_response": { + "code": "code6", + "errors": [ + { + "message": "message3" + } + ] + }, + "antifraud_response": { + "status": "status6", + "return_code": "return_code4", + "return_message": "return_message2", + "provider_name": "provider_name2", + "score": "score4" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "split": [ + {}, + {}, + {} + ], + "interest": { + "days": 28, + "type": "type4", + "amount": 102 + }, + "fine": { + "days": 46, + "type": "type8", + "amount": 120 + }, + "max_days_to_pay_past_due": 34 + } + ], + "paging": { + "total": 6, + "previous": "previous2", + "next": "next8" + } } ``` diff --git a/doc/models/list-transfer-response.md b/doc/models/list-transfer-response.md index 74cafb2..4130127 100644 --- a/doc/models/list-transfer-response.md +++ b/doc/models/list-transfer-response.md @@ -18,8 +18,292 @@ List of paginated transfer objects ```json { - "data": null, - "paging": null + "data": [ + { + "id": "id5", + "amount": 121, + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "bank_account": { + "id": "id9", + "holder_name": "holder_name5", + "holder_type": "holder_type1", + "bank": "bank7", + "branch_number": "branch_number5", + "branch_check_digit": "branch_check_digit5", + "account_number": "account_number9", + "account_check_digit": "account_check_digit5", + "type": "type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id1", + "name": "name1", + "email": "email5", + "document": "document5", + "description": "description1", + "type": "type1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id9", + "holder_name": "holder_name5", + "holder_type": "holder_type1", + "bank": "bank7", + "branch_number": "branch_number5", + "branch_check_digit": "branch_check_digit5", + "account_number": "account_number9", + "account_check_digit": "account_check_digit5", + "type": "type9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id1", + "name": "name1", + "email": "email5", + "document": "document5", + "description": "description1", + "type": "type1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": {}, + "gateway_recipients": [ + { + "gateway": "gateway5", + "status": "status7", + "pgid": "pgid1", + "created_at": "created_at3", + "updated_at": "updated_at1" + }, + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + }, + { + "gateway": "gateway7", + "status": "status9", + "pgid": "pgid3", + "created_at": "created_at5", + "updated_at": "updated_at3" + } + ], + "metadata": { + "key0": "metadata2", + "key1": "metadata3", + "key2": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type5", + "volume_percentage": 173, + "delay": 207, + "days": [ + 183, + 184 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval7", + "transfer_day": 43 + }, + "code": "code9", + "payment_mode": "payment_mode5" + }, + "metadata": { + "key0": "metadata0", + "key1": "metadata1", + "key2": "metadata2" + }, + "pix_key": "pix_key3" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata2", + "key1": "metadata3", + "key2": "metadata4" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type5", + "volume_percentage": 103, + "delay": 137, + "days": [ + 113, + 114 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval7", + "transfer_day": 229 + }, + "code": "code9", + "payment_mode": "payment_mode5" + }, + "metadata": { + "key0": "metadata0", + "key1": "metadata1", + "key2": "metadata2" + }, + "pix_key": "pix_key3" + }, + "metadata": { + "key0": "metadata4", + "key1": "metadata3" + } + }, + { + "id": "id6", + "amount": 122, + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id2", + "name": "name2", + "email": "email6", + "document": "document6", + "description": "description2", + "type": "type2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id0", + "holder_name": "holder_name6", + "holder_type": "holder_type2", + "bank": "bank8", + "branch_number": "branch_number6", + "branch_check_digit": "branch_check_digit6", + "account_number": "account_number0", + "account_check_digit": "account_check_digit6", + "type": "type0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id2", + "name": "name2", + "email": "email6", + "document": "document6", + "description": "description2", + "type": "type2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": {}, + "gateway_recipients": [ + { + "gateway": "gateway6", + "status": "status8", + "pgid": "pgid2", + "created_at": "created_at4", + "updated_at": "updated_at2" + } + ], + "metadata": { + "key0": "metadata3" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 174, + "delay": 208, + "days": [ + 184, + 185, + 186 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval8", + "transfer_day": 44 + }, + "code": "code0", + "payment_mode": "payment_mode6" + }, + "metadata": { + "key0": "metadata1" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata3" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type6", + "volume_percentage": 104, + "delay": 138, + "days": [ + 114, + 115, + 116 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval8", + "transfer_day": 230 + }, + "code": "code0", + "payment_mode": "payment_mode6" + }, + "metadata": { + "key0": "metadata1" + }, + "pix_key": "pix_key4" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + } + } + ], + "paging": { + "total": 6, + "previous": "previous2", + "next": "next8" + } } ``` diff --git a/doc/models/list-transfers.md b/doc/models/list-transfers.md index 84d9c13..4bd8450 100644 --- a/doc/models/list-transfers.md +++ b/doc/models/list-transfers.md @@ -24,18 +24,21 @@ "status": "status7", "created_at": "2016-03-13T12:52:32.123Z", "updated_at": "2016-03-13T12:52:32.123Z", - "metadata": null, - "fee": null, - "funding_date": null, - "funding_estimated_date": null, + "metadata": { + "key0": "metadata4", + "key1": "metadata3" + }, + "fee": 79, + "funding_date": "2016-03-13T12:52:32.123Z", + "funding_estimated_date": "2016-03-13T12:52:32.123Z", "type": "type5", "source": { - "source_id": null, - "type": null + "source_id": "source_id5", + "type": "type1" }, "target": { - "target_id": null, - "type": null + "target_id": "target_id3", + "type": "type7" } }, { @@ -45,25 +48,29 @@ "status": "status8", "created_at": "2016-03-13T12:52:32.123Z", "updated_at": "2016-03-13T12:52:32.123Z", - "metadata": null, - "fee": null, - "funding_date": null, - "funding_estimated_date": null, + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "fee": 80, + "funding_date": "2016-03-13T12:52:32.123Z", + "funding_estimated_date": "2016-03-13T12:52:32.123Z", "type": "type6", "source": { - "source_id": null, - "type": null + "source_id": "source_id6", + "type": "type2" }, "target": { - "target_id": null, - "type": null + "target_id": "target_id4", + "type": "type6" } } ], "paging": { - "total": null, - "previous": null, - "next": null + "total": 6, + "previous": "previous2", + "next": "next8" } } ``` diff --git a/doc/models/list-usages-response.md b/doc/models/list-usages-response.md index 02cc105..e185644 100644 --- a/doc/models/list-usages-response.md +++ b/doc/models/list-usages-response.md @@ -18,8 +18,4033 @@ Response model for listing the usages from a subscription item ```json { - "data": null, - "paging": null + "data": [ + { + "id": "id5", + "quantity": 235, + "description": "description5", + "used_at": "2016-03-13T12:52:32.123Z", + "created_at": "2016-03-13T12:52:32.123Z", + "status": "status7", + "deleted_at": "2016-03-13T12:52:32.123Z", + "subscription_item": { + "id": "id1", + "description": "description1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 43, + "scheme_type": "scheme_type3", + "price_brackets": [ + { + "start_quantity": 166, + "price": 104, + "end_quantity": 174, + "overage_price": 188 + }, + { + "start_quantity": 167, + "price": 105, + "end_quantity": 175, + "overage_price": 189 + } + ], + "minimum_price": 53, + "percentage": 183.11 + }, + "discounts": [ + { + "id": "id2", + "value": 180.74, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 178, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": { + "id": "id8", + "code": "code6", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval6", + "interval_count": 20, + "billing_type": "billing_type2", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id6", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id2", + "code": "code0", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval0", + "interval_count": 78, + "billing_type": "billing_type6", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id0", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status2", + "duration": 62, + "created_at": "created_at8", + "updated_at": "updated_at6", + "cycle": 2 + }, + "payment_method": "payment_method8", + "currency": "currency2", + "installments": 246, + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id2", + "name": "name2", + "email": "email4", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document6", + "type": "type8", + "fb_access_token": "fb_access_token6", + "address": { + "id": "id8", + "street": "street8", + "number": "number6", + "complement": "complement4", + "zip_code": "zip_code2", + "neighborhood": "neighborhood4", + "city": "city8", + "state": "state4", + "country": "country2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id8", + "name": "name8", + "email": "email2", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document2", + "type": "type8", + "fb_access_token": "fb_access_token2", + "address": { + "id": "id4", + "street": "street4", + "number": "number2", + "complement": "complement0", + "zip_code": "zip_code8", + "neighborhood": "neighborhood0", + "city": "city4", + "state": "state0", + "country": "country8", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata5" + }, + "line_1": "line_18", + "line_2": "line_22", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata1" + }, + "phones": { + "home_phone": { + "country_code": "country_code0", + "number": "number8", + "area_code": "area_code0" + }, + "mobile_phone": { + "country_code": "country_code0", + "number": "number8", + "area_code": "area_code0" + } + }, + "fb_id": 32, + "code": "code6", + "document_type": "document_type6" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "line_1": "line_12", + "line_2": "line_26", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 238, + "code": "code0", + "document_type": "document_type0" + }, + "card": { + "id": "id6", + "last_four_digits": "last_four_digits2", + "brand": "brand0", + "holder_name": "holder_name2", + "exp_month": 116, + "exp_year": 180, + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street8", + "number": "number4", + "zip_code": "zip_code2", + "neighborhood": "neighborhood4", + "city": "city2", + "state": "state6", + "country": "country2", + "complement": "complement6", + "line_1": "line_18", + "line_2": "line_26" + }, + "customer": {}, + "metadata": { + "key0": "metadata7", + "key1": "metadata8" + }, + "type": "type4", + "holder_document": "holder_document0", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits6", + "label": "label6" + }, + "items": [ + { + "id": "id9", + "description": "description9", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 143, + "scheme_type": "scheme_type1", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 47, + "percentage": 189.79 + }, + "discounts": [ + { + "id": "id0", + "value": 187.42, + "discount_type": "discount_type8", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 78, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id1", + "value": 187.43, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 79, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id2", + "value": 187.44, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 80, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id8", + "value": 42.7, + "increment_type": "increment_type0", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 58, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description8", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name9", + "quantity": 123, + "cycles": 143, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id0", + "description": "description0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 142, + "scheme_type": "scheme_type2", + "price_brackets": [ + {} + ], + "minimum_price": 46, + "percentage": 189.8 + }, + "discounts": [ + { + "id": "id1", + "value": 187.43, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 79, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id9", + "value": 42.71, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 57, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id0", + "value": 42.72, + "increment_type": "increment_type2", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 56, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name0", + "quantity": 124, + "cycles": 144, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor2", + "metadata": { + "key0": "metadata9", + "key1": "metadata8", + "key2": "metadata7" + }, + "setup": { + "id": "id6", + "description": "description6", + "amount": 14, + "status": "status8" + }, + "gateway_affiliation_id": "gateway_affiliation_id8", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 218, + "minimum_price": 76, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + {} + ], + "boleto_due_days": 190, + "split": { + "enabled": false, + "rules": [ + { + "type": "type8", + "amount": 150, + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document2", + "description": "description4", + "type": "type6", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id4", + "name": "name4", + "email": "email2", + "document": "document8", + "description": "description4", + "type": "type6", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id2", + "holder_name": "holder_name8", + "holder_type": "holder_type4", + "bank": "bank0", + "branch_number": "branch_number8", + "branch_check_digit": "branch_check_digit8", + "account_number": "account_number2", + "account_check_digit": "account_check_digit8", + "type": "type2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata7", + "key1": "metadata6", + "key2": "metadata5" + }, + "pix_key": "pix_key6" + }, + "gateway_recipients": [ + { + "gateway": "gateway8", + "status": "status0", + "pgid": "pgid4", + "created_at": "created_at6", + "updated_at": "updated_at4" + }, + { + "gateway": "gateway9", + "status": "status1", + "pgid": "pgid5", + "created_at": "created_at7", + "updated_at": "updated_at5" + }, + { + "gateway": "gateway0", + "status": "status2", + "pgid": "pgid6", + "created_at": "created_at8", + "updated_at": "updated_at6" + } + ], + "metadata": { + "key0": "metadata1", + "key1": "metadata0" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 174, + "delay": 116, + "days": [ + 92, + 93 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 84 + }, + "code": "code2", + "payment_mode": "payment_mode8" + }, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "pix_key": "pix_key4" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata9", + "key1": "metadata0" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 244, + "delay": 46, + "days": [ + 22, + 23 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval0", + "transfer_day": 154 + }, + "code": "code2", + "payment_mode": "payment_mode8" + }, + "gateway_id": "gateway_id8", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee8" + }, + "id": "id2" + }, + { + "type": "type7", + "amount": 151, + "recipient": { + "id": "id5", + "name": "name5", + "email": "email1", + "document": "document1", + "description": "description5", + "type": "type5", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id3", + "holder_name": "holder_name9", + "holder_type": "holder_type5", + "bank": "bank1", + "branch_number": "branch_number9", + "branch_check_digit": "branch_check_digit9", + "account_number": "account_number3", + "account_check_digit": "account_check_digit9", + "type": "type3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id5", + "name": "name5", + "email": "email1", + "document": "document9", + "description": "description5", + "type": "type5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id3", + "holder_name": "holder_name9", + "holder_type": "holder_type5", + "bank": "bank1", + "branch_number": "branch_number9", + "branch_check_digit": "branch_check_digit9", + "account_number": "account_number3", + "account_check_digit": "account_check_digit9", + "type": "type3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata6" + }, + "pix_key": "pix_key7" + }, + "gateway_recipients": [ + { + "gateway": "gateway9", + "status": "status1", + "pgid": "pgid5", + "created_at": "created_at7", + "updated_at": "updated_at5" + } + ], + "metadata": { + "key0": "metadata2" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type9", + "volume_percentage": 173, + "delay": 117, + "days": [ + 93, + 94, + 95 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval9", + "transfer_day": 83 + }, + "code": "code3", + "payment_mode": "payment_mode9" + }, + "metadata": { + "key0": "metadata0" + }, + "pix_key": "pix_key3" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata8" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type1", + "volume_percentage": 243, + "delay": 47, + "days": [ + 23, + 24, + 25 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval9", + "transfer_day": 153 + }, + "code": "code3", + "payment_mode": "payment_mode9" + }, + "gateway_id": "gateway_id7", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee9" + }, + "id": "id3" + } + ] + }, + "boleto": { + "interest": { + "days": 156, + "type": "type2", + "amount": 230 + }, + "fine": { + "days": 134, + "type": "type6", + "amount": 208 + }, + "max_days_to_pay_past_due": 122 + }, + "manual_billing": false + }, + "status": "status8", + "duration": 4, + "created_at": "created_at4", + "updated_at": "updated_at2", + "cycle": 200 + }, + "payment_method": "payment_method8", + "currency": "currency8", + "installments": 188, + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id2", + "last_four_digits": "last_four_digits8", + "brand": "brand6", + "holder_name": "holder_name8", + "exp_month": 82, + "exp_year": 122, + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street4", + "number": "number2", + "zip_code": "zip_code8", + "neighborhood": "neighborhood0", + "city": "city4", + "state": "state0", + "country": "country8", + "complement": "complement0", + "line_1": "line_12", + "line_2": "line_22" + }, + "customer": {}, + "metadata": { + "key0": "metadata9", + "key1": "metadata8", + "key2": "metadata7" + }, + "type": "type2", + "holder_document": "holder_document6", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits2", + "label": "label2" + }, + "items": [ + {} + ], + "statement_descriptor": "statement_descriptor8", + "metadata": { + "key0": "metadata1" + }, + "setup": { + "id": "id2", + "description": "description2", + "amount": 212, + "status": "status4" + }, + "gateway_affiliation_id": "gateway_affiliation_id4", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 160, + "minimum_price": 18, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 132, + "split": { + "enabled": false, + "rules": [ + {} + ] + }, + "boleto": { + "interest": { + "days": 58, + "type": "type2", + "amount": 132 + }, + "fine": { + "days": 76, + "type": "type0", + "amount": 150 + }, + "max_days_to_pay_past_due": 64 + }, + "manual_billing": false + }, + "subscription_item": {} + }, + { + "id": "id3", + "value": 180.75, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 179, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": { + "id": "id9", + "code": "code7", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval7", + "interval_count": 21, + "billing_type": "billing_type3", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id7", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id3", + "code": "code1", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval1", + "interval_count": 79, + "billing_type": "billing_type7", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id1", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status3", + "duration": 63, + "created_at": "created_at9", + "updated_at": "updated_at7", + "cycle": 3 + }, + "payment_method": "payment_method7", + "currency": "currency3", + "installments": 247, + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id3", + "name": "name3", + "email": "email3", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document7", + "type": "type7", + "fb_access_token": "fb_access_token7", + "address": { + "id": "id9", + "street": "street9", + "number": "number7", + "complement": "complement5", + "zip_code": "zip_code3", + "neighborhood": "neighborhood5", + "city": "city9", + "state": "state5", + "country": "country3", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id9", + "name": "name9", + "email": "email3", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document3", + "type": "type9", + "fb_access_token": "fb_access_token3", + "address": { + "id": "id5", + "street": "street5", + "number": "number3", + "complement": "complement1", + "zip_code": "zip_code9", + "neighborhood": "neighborhood1", + "city": "city5", + "state": "state1", + "country": "country9", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata6", + "key1": "metadata7" + }, + "line_1": "line_19", + "line_2": "line_23", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata0", + "key1": "metadata9" + }, + "phones": { + "home_phone": { + "country_code": "country_code1", + "number": "number9", + "area_code": "area_code1" + }, + "mobile_phone": { + "country_code": "country_code1", + "number": "number9", + "area_code": "area_code1" + } + }, + "fb_id": 33, + "code": "code7", + "document_type": "document_type7" + }, + "metadata": { + "key0": "metadata0" + }, + "line_1": "line_13", + "line_2": "line_27", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata0" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 239, + "code": "code1", + "document_type": "document_type1" + }, + "card": { + "id": "id7", + "last_four_digits": "last_four_digits3", + "brand": "brand1", + "holder_name": "holder_name3", + "exp_month": 115, + "exp_year": 181, + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street9", + "number": "number3", + "zip_code": "zip_code3", + "neighborhood": "neighborhood5", + "city": "city1", + "state": "state5", + "country": "country3", + "complement": "complement5", + "line_1": "line_17", + "line_2": "line_27" + }, + "customer": {}, + "metadata": { + "key0": "metadata6" + }, + "type": "type3", + "holder_document": "holder_document9", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits7", + "label": "label7" + }, + "items": [ + { + "id": "id0", + "description": "description0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 142, + "scheme_type": "scheme_type2", + "price_brackets": [ + {} + ], + "minimum_price": 46, + "percentage": 189.8 + }, + "discounts": [ + { + "id": "id1", + "value": 187.43, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 79, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id9", + "value": 42.71, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 57, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id0", + "value": 42.72, + "increment_type": "increment_type2", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 56, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name0", + "quantity": 124, + "cycles": 144, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id1", + "description": "description1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 141, + "scheme_type": "scheme_type3", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 45, + "percentage": 189.81 + }, + "discounts": [ + { + "id": "id2", + "value": 187.44, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 80, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id3", + "value": 187.45, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 81, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id0", + "value": 42.72, + "increment_type": "increment_type2", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 56, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id1", + "value": 42.73, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 55, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id2", + "value": 42.74, + "increment_type": "increment_type4", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 54, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name1", + "quantity": 125, + "cycles": 145, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id2", + "description": "description2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 140, + "scheme_type": "scheme_type4", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 44, + "percentage": 189.82 + }, + "discounts": [ + { + "id": "id3", + "value": 187.45, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 81, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 187.46, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 82, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 187.47, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 83, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id1", + "value": 42.73, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 55, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name2", + "quantity": 126, + "cycles": 146, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor3", + "metadata": { + "key0": "metadata0", + "key1": "metadata9" + }, + "setup": { + "id": "id7", + "description": "description7", + "amount": 15, + "status": "status9" + }, + "gateway_affiliation_id": "gateway_affiliation_id9", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 219, + "minimum_price": 77, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {} + ], + "boleto_due_days": 191, + "split": { + "enabled": true, + "rules": [ + { + "type": "type7", + "amount": 151, + "recipient": { + "id": "id5", + "name": "name5", + "email": "email1", + "document": "document1", + "description": "description5", + "type": "type5", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id3", + "holder_name": "holder_name9", + "holder_type": "holder_type5", + "bank": "bank1", + "branch_number": "branch_number9", + "branch_check_digit": "branch_check_digit9", + "account_number": "account_number3", + "account_check_digit": "account_check_digit9", + "type": "type3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id5", + "name": "name5", + "email": "email1", + "document": "document9", + "description": "description5", + "type": "type5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id3", + "holder_name": "holder_name9", + "holder_type": "holder_type5", + "bank": "bank1", + "branch_number": "branch_number9", + "branch_check_digit": "branch_check_digit9", + "account_number": "account_number3", + "account_check_digit": "account_check_digit9", + "type": "type3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata6" + }, + "pix_key": "pix_key7" + }, + "gateway_recipients": [ + { + "gateway": "gateway9", + "status": "status1", + "pgid": "pgid5", + "created_at": "created_at7", + "updated_at": "updated_at5" + } + ], + "metadata": { + "key0": "metadata2" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type9", + "volume_percentage": 173, + "delay": 117, + "days": [ + 93, + 94, + 95 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval9", + "transfer_day": 83 + }, + "code": "code3", + "payment_mode": "payment_mode9" + }, + "metadata": { + "key0": "metadata0" + }, + "pix_key": "pix_key3" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata8" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type1", + "volume_percentage": 243, + "delay": 47, + "days": [ + 23, + 24, + 25 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval9", + "transfer_day": 153 + }, + "code": "code3", + "payment_mode": "payment_mode9" + }, + "gateway_id": "gateway_id7", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee9" + }, + "id": "id3" + }, + { + "type": "type6", + "amount": 152, + "recipient": { + "id": "id6", + "name": "name6", + "email": "email0", + "document": "document0", + "description": "description6", + "type": "type4", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id4", + "holder_name": "holder_name0", + "holder_type": "holder_type6", + "bank": "bank2", + "branch_number": "branch_number0", + "branch_check_digit": "branch_check_digit0", + "account_number": "account_number4", + "account_check_digit": "account_check_digit0", + "type": "type4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id6", + "name": "name6", + "email": "email0", + "document": "document0", + "description": "description6", + "type": "type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id4", + "holder_name": "holder_name0", + "holder_type": "holder_type6", + "bank": "bank2", + "branch_number": "branch_number0", + "branch_check_digit": "branch_check_digit0", + "account_number": "account_number4", + "account_check_digit": "account_check_digit0", + "type": "type4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata4" + }, + "pix_key": "pix_key8" + }, + "gateway_recipients": [ + { + "gateway": "gateway0", + "status": "status2", + "pgid": "pgid6", + "created_at": "created_at8", + "updated_at": "updated_at6" + }, + { + "gateway": "gateway1", + "status": "status3", + "pgid": "pgid7", + "created_at": "created_at9", + "updated_at": "updated_at7" + } + ], + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type0", + "volume_percentage": 172, + "delay": 118, + "days": [ + 94 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval8", + "transfer_day": 82 + }, + "code": "code4", + "payment_mode": "payment_mode0" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "pix_key": "pix_key2" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata7", + "key1": "metadata8", + "key2": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type0", + "volume_percentage": 242, + "delay": 48, + "days": [ + 24 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval8", + "transfer_day": 152 + }, + "code": "code4", + "payment_mode": "payment_mode0" + }, + "gateway_id": "gateway_id6", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee0" + }, + "id": "id4" + }, + { + "type": "type5", + "amount": 153, + "recipient": { + "id": "id7", + "name": "name7", + "email": "email9", + "document": "document9", + "description": "description7", + "type": "type3", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id5", + "holder_name": "holder_name1", + "holder_type": "holder_type7", + "bank": "bank3", + "branch_number": "branch_number1", + "branch_check_digit": "branch_check_digit1", + "account_number": "account_number5", + "account_check_digit": "account_check_digit1", + "type": "type5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id7", + "name": "name7", + "email": "email9", + "document": "document1", + "description": "description7", + "type": "type3", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id5", + "holder_name": "holder_name1", + "holder_type": "holder_type7", + "bank": "bank3", + "branch_number": "branch_number1", + "branch_check_digit": "branch_check_digit1", + "account_number": "account_number5", + "account_check_digit": "account_check_digit1", + "type": "type5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata4", + "key1": "metadata3", + "key2": "metadata2" + }, + "pix_key": "pix_key9" + }, + "gateway_recipients": [ + { + "gateway": "gateway1", + "status": "status3", + "pgid": "pgid7", + "created_at": "created_at9", + "updated_at": "updated_at7" + }, + { + "gateway": "gateway2", + "status": "status4", + "pgid": "pgid8", + "created_at": "created_at0", + "updated_at": "updated_at8" + }, + { + "gateway": "gateway3", + "status": "status5", + "pgid": "pgid9", + "created_at": "created_at1", + "updated_at": "updated_at9" + } + ], + "metadata": { + "key0": "metadata4", + "key1": "metadata3" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type1", + "volume_percentage": 171, + "delay": 119, + "days": [ + 95, + 96 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval7", + "transfer_day": 81 + }, + "code": "code5", + "payment_mode": "payment_mode1" + }, + "metadata": { + "key0": "metadata2", + "key1": "metadata1" + }, + "pix_key": "pix_key1" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata6", + "key1": "metadata7" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type9", + "volume_percentage": 241, + "delay": 49, + "days": [ + 25, + 26 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval7", + "transfer_day": 151 + }, + "code": "code5", + "payment_mode": "payment_mode1" + }, + "gateway_id": "gateway_id5", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee1" + }, + "id": "id5" + } + ] + }, + "boleto": { + "interest": { + "days": 155, + "type": "type3", + "amount": 229 + }, + "fine": { + "days": 135, + "type": "type5", + "amount": 209 + }, + "max_days_to_pay_past_due": 123 + }, + "manual_billing": true + }, + "status": "status9", + "duration": 5, + "created_at": "created_at5", + "updated_at": "updated_at3", + "cycle": 201 + }, + "payment_method": "payment_method9", + "currency": "currency9", + "installments": 189, + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id3", + "last_four_digits": "last_four_digits9", + "brand": "brand7", + "holder_name": "holder_name9", + "exp_month": 83, + "exp_year": 123, + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street5", + "number": "number3", + "zip_code": "zip_code9", + "neighborhood": "neighborhood1", + "city": "city5", + "state": "state1", + "country": "country9", + "complement": "complement1", + "line_1": "line_11", + "line_2": "line_23" + }, + "customer": {}, + "metadata": { + "key0": "metadata0", + "key1": "metadata9" + }, + "type": "type3", + "holder_document": "holder_document7", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits3", + "label": "label3" + }, + "items": [ + {}, + {} + ], + "statement_descriptor": "statement_descriptor9", + "metadata": { + "key0": "metadata0", + "key1": "metadata9" + }, + "setup": { + "id": "id3", + "description": "description3", + "amount": 213, + "status": "status5" + }, + "gateway_affiliation_id": "gateway_affiliation_id5", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 161, + "minimum_price": 19, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + {} + ], + "boleto_due_days": 133, + "split": { + "enabled": true, + "rules": [ + {}, + {} + ] + }, + "boleto": { + "interest": { + "days": 59, + "type": "type1", + "amount": 133 + }, + "fine": { + "days": 77, + "type": "type1", + "amount": 151 + }, + "max_days_to_pay_past_due": 65 + }, + "manual_billing": true + }, + "subscription_item": {} + } + ], + "increments": [ + {}, + {}, + {} + ], + "subscription": {}, + "name": "name1", + "quantity": 223, + "cycles": 243, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "code": "code3", + "group": "group3", + "amount": 121 + }, + { + "id": "id6", + "quantity": 236, + "description": "description6", + "used_at": "2016-03-13T12:52:32.123Z", + "created_at": "2016-03-13T12:52:32.123Z", + "status": "status8", + "deleted_at": "2016-03-13T12:52:32.123Z", + "subscription_item": { + "id": "id2", + "description": "description2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 42, + "scheme_type": "scheme_type4", + "price_brackets": [ + { + "start_quantity": 167, + "price": 105, + "end_quantity": 175, + "overage_price": 189 + }, + { + "start_quantity": 168, + "price": 106, + "end_quantity": 176, + "overage_price": 190 + }, + { + "start_quantity": 169, + "price": 107, + "end_quantity": 177, + "overage_price": 191 + } + ], + "minimum_price": 54, + "percentage": 183.12 + }, + "discounts": [ + { + "id": "id3", + "value": 180.75, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 179, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": { + "id": "id9", + "code": "code7", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval7", + "interval_count": 21, + "billing_type": "billing_type3", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id7", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id3", + "code": "code1", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval1", + "interval_count": 79, + "billing_type": "billing_type7", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id1", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status3", + "duration": 63, + "created_at": "created_at9", + "updated_at": "updated_at7", + "cycle": 3 + }, + "payment_method": "payment_method7", + "currency": "currency3", + "installments": 247, + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id3", + "name": "name3", + "email": "email3", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document7", + "type": "type7", + "fb_access_token": "fb_access_token7", + "address": { + "id": "id9", + "street": "street9", + "number": "number7", + "complement": "complement5", + "zip_code": "zip_code3", + "neighborhood": "neighborhood5", + "city": "city9", + "state": "state5", + "country": "country3", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id9", + "name": "name9", + "email": "email3", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document3", + "type": "type9", + "fb_access_token": "fb_access_token3", + "address": { + "id": "id5", + "street": "street5", + "number": "number3", + "complement": "complement1", + "zip_code": "zip_code9", + "neighborhood": "neighborhood1", + "city": "city5", + "state": "state1", + "country": "country9", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata6", + "key1": "metadata7" + }, + "line_1": "line_19", + "line_2": "line_23", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata0", + "key1": "metadata9" + }, + "phones": { + "home_phone": { + "country_code": "country_code1", + "number": "number9", + "area_code": "area_code1" + }, + "mobile_phone": { + "country_code": "country_code1", + "number": "number9", + "area_code": "area_code1" + } + }, + "fb_id": 33, + "code": "code7", + "document_type": "document_type7" + }, + "metadata": { + "key0": "metadata0" + }, + "line_1": "line_13", + "line_2": "line_27", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata0" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 239, + "code": "code1", + "document_type": "document_type1" + }, + "card": { + "id": "id7", + "last_four_digits": "last_four_digits3", + "brand": "brand1", + "holder_name": "holder_name3", + "exp_month": 115, + "exp_year": 181, + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street9", + "number": "number3", + "zip_code": "zip_code3", + "neighborhood": "neighborhood5", + "city": "city1", + "state": "state5", + "country": "country3", + "complement": "complement5", + "line_1": "line_17", + "line_2": "line_27" + }, + "customer": {}, + "metadata": { + "key0": "metadata6" + }, + "type": "type3", + "holder_document": "holder_document9", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits7", + "label": "label7" + }, + "items": [ + { + "id": "id0", + "description": "description0", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 142, + "scheme_type": "scheme_type2", + "price_brackets": [ + {} + ], + "minimum_price": 46, + "percentage": 189.8 + }, + "discounts": [ + { + "id": "id1", + "value": 187.43, + "discount_type": "discount_type9", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 79, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id9", + "value": 42.71, + "increment_type": "increment_type1", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 57, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description9", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id0", + "value": 42.72, + "increment_type": "increment_type2", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 56, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name0", + "quantity": 124, + "cycles": 144, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id1", + "description": "description1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 141, + "scheme_type": "scheme_type3", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 45, + "percentage": 189.81 + }, + "discounts": [ + { + "id": "id2", + "value": 187.44, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 80, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id3", + "value": 187.45, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 81, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id0", + "value": 42.72, + "increment_type": "increment_type2", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 56, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id1", + "value": 42.73, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 55, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id2", + "value": 42.74, + "increment_type": "increment_type4", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 54, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name1", + "quantity": 125, + "cycles": 145, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id2", + "description": "description2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 140, + "scheme_type": "scheme_type4", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 44, + "percentage": 189.82 + }, + "discounts": [ + { + "id": "id3", + "value": 187.45, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 81, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 187.46, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 82, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 187.47, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 83, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id1", + "value": 42.73, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 55, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name2", + "quantity": 126, + "cycles": 146, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor3", + "metadata": { + "key0": "metadata0", + "key1": "metadata9" + }, + "setup": { + "id": "id7", + "description": "description7", + "amount": 15, + "status": "status9" + }, + "gateway_affiliation_id": "gateway_affiliation_id9", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 219, + "minimum_price": 77, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {} + ], + "boleto_due_days": 191, + "split": { + "enabled": true, + "rules": [ + { + "type": "type7", + "amount": 151, + "recipient": { + "id": "id5", + "name": "name5", + "email": "email1", + "document": "document1", + "description": "description5", + "type": "type5", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id3", + "holder_name": "holder_name9", + "holder_type": "holder_type5", + "bank": "bank1", + "branch_number": "branch_number9", + "branch_check_digit": "branch_check_digit9", + "account_number": "account_number3", + "account_check_digit": "account_check_digit9", + "type": "type3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id5", + "name": "name5", + "email": "email1", + "document": "document9", + "description": "description5", + "type": "type5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id3", + "holder_name": "holder_name9", + "holder_type": "holder_type5", + "bank": "bank1", + "branch_number": "branch_number9", + "branch_check_digit": "branch_check_digit9", + "account_number": "account_number3", + "account_check_digit": "account_check_digit9", + "type": "type3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata6" + }, + "pix_key": "pix_key7" + }, + "gateway_recipients": [ + { + "gateway": "gateway9", + "status": "status1", + "pgid": "pgid5", + "created_at": "created_at7", + "updated_at": "updated_at5" + } + ], + "metadata": { + "key0": "metadata2" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type9", + "volume_percentage": 173, + "delay": 117, + "days": [ + 93, + 94, + 95 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval9", + "transfer_day": 83 + }, + "code": "code3", + "payment_mode": "payment_mode9" + }, + "metadata": { + "key0": "metadata0" + }, + "pix_key": "pix_key3" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata8" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type1", + "volume_percentage": 243, + "delay": 47, + "days": [ + 23, + 24, + 25 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval9", + "transfer_day": 153 + }, + "code": "code3", + "payment_mode": "payment_mode9" + }, + "gateway_id": "gateway_id7", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee9" + }, + "id": "id3" + }, + { + "type": "type6", + "amount": 152, + "recipient": { + "id": "id6", + "name": "name6", + "email": "email0", + "document": "document0", + "description": "description6", + "type": "type4", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id4", + "holder_name": "holder_name0", + "holder_type": "holder_type6", + "bank": "bank2", + "branch_number": "branch_number0", + "branch_check_digit": "branch_check_digit0", + "account_number": "account_number4", + "account_check_digit": "account_check_digit0", + "type": "type4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id6", + "name": "name6", + "email": "email0", + "document": "document0", + "description": "description6", + "type": "type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id4", + "holder_name": "holder_name0", + "holder_type": "holder_type6", + "bank": "bank2", + "branch_number": "branch_number0", + "branch_check_digit": "branch_check_digit0", + "account_number": "account_number4", + "account_check_digit": "account_check_digit0", + "type": "type4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata4" + }, + "pix_key": "pix_key8" + }, + "gateway_recipients": [ + { + "gateway": "gateway0", + "status": "status2", + "pgid": "pgid6", + "created_at": "created_at8", + "updated_at": "updated_at6" + }, + { + "gateway": "gateway1", + "status": "status3", + "pgid": "pgid7", + "created_at": "created_at9", + "updated_at": "updated_at7" + } + ], + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type0", + "volume_percentage": 172, + "delay": 118, + "days": [ + 94 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval8", + "transfer_day": 82 + }, + "code": "code4", + "payment_mode": "payment_mode0" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "pix_key": "pix_key2" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata7", + "key1": "metadata8", + "key2": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type0", + "volume_percentage": 242, + "delay": 48, + "days": [ + 24 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval8", + "transfer_day": 152 + }, + "code": "code4", + "payment_mode": "payment_mode0" + }, + "gateway_id": "gateway_id6", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee0" + }, + "id": "id4" + }, + { + "type": "type5", + "amount": 153, + "recipient": { + "id": "id7", + "name": "name7", + "email": "email9", + "document": "document9", + "description": "description7", + "type": "type3", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id5", + "holder_name": "holder_name1", + "holder_type": "holder_type7", + "bank": "bank3", + "branch_number": "branch_number1", + "branch_check_digit": "branch_check_digit1", + "account_number": "account_number5", + "account_check_digit": "account_check_digit1", + "type": "type5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id7", + "name": "name7", + "email": "email9", + "document": "document1", + "description": "description7", + "type": "type3", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id5", + "holder_name": "holder_name1", + "holder_type": "holder_type7", + "bank": "bank3", + "branch_number": "branch_number1", + "branch_check_digit": "branch_check_digit1", + "account_number": "account_number5", + "account_check_digit": "account_check_digit1", + "type": "type5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata4", + "key1": "metadata3", + "key2": "metadata2" + }, + "pix_key": "pix_key9" + }, + "gateway_recipients": [ + { + "gateway": "gateway1", + "status": "status3", + "pgid": "pgid7", + "created_at": "created_at9", + "updated_at": "updated_at7" + }, + { + "gateway": "gateway2", + "status": "status4", + "pgid": "pgid8", + "created_at": "created_at0", + "updated_at": "updated_at8" + }, + { + "gateway": "gateway3", + "status": "status5", + "pgid": "pgid9", + "created_at": "created_at1", + "updated_at": "updated_at9" + } + ], + "metadata": { + "key0": "metadata4", + "key1": "metadata3" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type1", + "volume_percentage": 171, + "delay": 119, + "days": [ + 95, + 96 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval7", + "transfer_day": 81 + }, + "code": "code5", + "payment_mode": "payment_mode1" + }, + "metadata": { + "key0": "metadata2", + "key1": "metadata1" + }, + "pix_key": "pix_key1" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata6", + "key1": "metadata7" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type9", + "volume_percentage": 241, + "delay": 49, + "days": [ + 25, + 26 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval7", + "transfer_day": 151 + }, + "code": "code5", + "payment_mode": "payment_mode1" + }, + "gateway_id": "gateway_id5", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee1" + }, + "id": "id5" + } + ] + }, + "boleto": { + "interest": { + "days": 155, + "type": "type3", + "amount": 229 + }, + "fine": { + "days": 135, + "type": "type5", + "amount": 209 + }, + "max_days_to_pay_past_due": 123 + }, + "manual_billing": true + }, + "status": "status9", + "duration": 5, + "created_at": "created_at5", + "updated_at": "updated_at3", + "cycle": 201 + }, + "payment_method": "payment_method9", + "currency": "currency9", + "installments": 189, + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id3", + "last_four_digits": "last_four_digits9", + "brand": "brand7", + "holder_name": "holder_name9", + "exp_month": 83, + "exp_year": 123, + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street5", + "number": "number3", + "zip_code": "zip_code9", + "neighborhood": "neighborhood1", + "city": "city5", + "state": "state1", + "country": "country9", + "complement": "complement1", + "line_1": "line_11", + "line_2": "line_23" + }, + "customer": {}, + "metadata": { + "key0": "metadata0", + "key1": "metadata9" + }, + "type": "type3", + "holder_document": "holder_document7", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits3", + "label": "label3" + }, + "items": [ + {}, + {} + ], + "statement_descriptor": "statement_descriptor9", + "metadata": { + "key0": "metadata0", + "key1": "metadata9" + }, + "setup": { + "id": "id3", + "description": "description3", + "amount": 213, + "status": "status5" + }, + "gateway_affiliation_id": "gateway_affiliation_id5", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 161, + "minimum_price": 19, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + {} + ], + "boleto_due_days": 133, + "split": { + "enabled": true, + "rules": [ + {}, + {} + ] + }, + "boleto": { + "interest": { + "days": 59, + "type": "type1", + "amount": 133 + }, + "fine": { + "days": 77, + "type": "type1", + "amount": 151 + }, + "max_days_to_pay_past_due": 65 + }, + "manual_billing": true + }, + "subscription_item": {} + }, + { + "id": "id4", + "value": 180.76, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 180, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": { + "id": "id0", + "code": "code8", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval8", + "interval_count": 22, + "billing_type": "billing_type4", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id8", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id4", + "code": "code2", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval2", + "interval_count": 80, + "billing_type": "billing_type8", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id2", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status4", + "duration": 64, + "created_at": "created_at0", + "updated_at": "updated_at8", + "cycle": 4 + }, + "payment_method": "payment_method6", + "currency": "currency4", + "installments": 248, + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id4", + "name": "name4", + "email": "email2", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document8", + "type": "type6", + "fb_access_token": "fb_access_token8", + "address": { + "id": "id0", + "street": "street0", + "number": "number8", + "complement": "complement6", + "zip_code": "zip_code4", + "neighborhood": "neighborhood6", + "city": "city0", + "state": "state6", + "country": "country4", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id0", + "name": "name0", + "email": "email4", + "delinquent": false, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document4", + "type": "type0", + "fb_access_token": "fb_access_token4", + "address": { + "id": "id6", + "street": "street6", + "number": "number4", + "complement": "complement2", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city6", + "state": "state2", + "country": "country0", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata7", + "key1": "metadata8", + "key2": "metadata9" + }, + "line_1": "line_10", + "line_2": "line_24", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata9", + "key1": "metadata8", + "key2": "metadata7" + }, + "phones": { + "home_phone": { + "country_code": "country_code2", + "number": "number0", + "area_code": "area_code2" + }, + "mobile_phone": { + "country_code": "country_code2", + "number": "number0", + "area_code": "area_code2" + } + }, + "fb_id": 34, + "code": "code8", + "document_type": "document_type8" + }, + "metadata": { + "key0": "metadata9", + "key1": "metadata8" + }, + "line_1": "line_14", + "line_2": "line_28", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 240, + "code": "code2", + "document_type": "document_type2" + }, + "card": { + "id": "id8", + "last_four_digits": "last_four_digits4", + "brand": "brand2", + "holder_name": "holder_name4", + "exp_month": 114, + "exp_year": 182, + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street0", + "number": "number2", + "zip_code": "zip_code4", + "neighborhood": "neighborhood6", + "city": "city0", + "state": "state4", + "country": "country4", + "complement": "complement4", + "line_1": "line_16", + "line_2": "line_28" + }, + "customer": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata6", + "key2": "metadata7" + }, + "type": "type2", + "holder_document": "holder_document8", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits8", + "label": "label8" + }, + "items": [ + { + "id": "id1", + "description": "description1", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 141, + "scheme_type": "scheme_type3", + "price_brackets": [ + {}, + {} + ], + "minimum_price": 45, + "percentage": 189.81 + }, + "discounts": [ + { + "id": "id2", + "value": 187.44, + "discount_type": "discount_type0", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 80, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id3", + "value": 187.45, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 81, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id0", + "value": 42.72, + "increment_type": "increment_type2", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 56, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description0", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id1", + "value": 42.73, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 55, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id2", + "value": 42.74, + "increment_type": "increment_type4", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 54, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name1", + "quantity": 125, + "cycles": 145, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor4", + "metadata": { + "key0": "metadata1" + }, + "setup": { + "id": "id8", + "description": "description8", + "amount": 16, + "status": "status0" + }, + "gateway_affiliation_id": "gateway_affiliation_id0", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 220, + "minimum_price": 78, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 192, + "split": { + "enabled": false, + "rules": [ + { + "type": "type6", + "amount": 152, + "recipient": { + "id": "id6", + "name": "name6", + "email": "email0", + "document": "document0", + "description": "description6", + "type": "type4", + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id4", + "holder_name": "holder_name0", + "holder_type": "holder_type6", + "bank": "bank2", + "branch_number": "branch_number0", + "branch_check_digit": "branch_check_digit0", + "account_number": "account_number4", + "account_check_digit": "account_check_digit0", + "type": "type4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id6", + "name": "name6", + "email": "email0", + "document": "document0", + "description": "description6", + "type": "type4", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id4", + "holder_name": "holder_name0", + "holder_type": "holder_type6", + "bank": "bank2", + "branch_number": "branch_number0", + "branch_check_digit": "branch_check_digit0", + "account_number": "account_number4", + "account_check_digit": "account_check_digit0", + "type": "type4", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata5", + "key1": "metadata4" + }, + "pix_key": "pix_key8" + }, + "gateway_recipients": [ + { + "gateway": "gateway0", + "status": "status2", + "pgid": "pgid6", + "created_at": "created_at8", + "updated_at": "updated_at6" + }, + { + "gateway": "gateway1", + "status": "status3", + "pgid": "pgid7", + "created_at": "created_at9", + "updated_at": "updated_at7" + } + ], + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type0", + "volume_percentage": 172, + "delay": 118, + "days": [ + 94 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval8", + "transfer_day": 82 + }, + "code": "code4", + "payment_mode": "payment_mode0" + }, + "metadata": { + "key0": "metadata1", + "key1": "metadata0", + "key2": "metadata9" + }, + "pix_key": "pix_key2" + }, + "gateway_recipients": [ + {}, + {} + ], + "metadata": { + "key0": "metadata7", + "key1": "metadata8", + "key2": "metadata9" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type0", + "volume_percentage": 242, + "delay": 48, + "days": [ + 24 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval8", + "transfer_day": 152 + }, + "code": "code4", + "payment_mode": "payment_mode0" + }, + "gateway_id": "gateway_id6", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee0" + }, + "id": "id4" + } + ] + }, + "boleto": { + "interest": { + "days": 154, + "type": "type4", + "amount": 228 + }, + "fine": { + "days": 136, + "type": "type4", + "amount": 210 + }, + "max_days_to_pay_past_due": 124 + }, + "manual_billing": false + }, + "status": "status0", + "duration": 6, + "created_at": "created_at6", + "updated_at": "updated_at4", + "cycle": 202 + }, + "payment_method": "payment_method0", + "currency": "currency0", + "installments": 190, + "status": "status2", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id4", + "last_four_digits": "last_four_digits0", + "brand": "brand8", + "holder_name": "holder_name0", + "exp_month": 84, + "exp_year": 124, + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street6", + "number": "number4", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city6", + "state": "state2", + "country": "country0", + "complement": "complement2", + "line_1": "line_10", + "line_2": "line_24" + }, + "customer": {}, + "metadata": { + "key0": "metadata1" + }, + "type": "type4", + "holder_document": "holder_document8", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits4", + "label": "label4" + }, + "items": [ + {}, + {}, + {} + ], + "statement_descriptor": "statement_descriptor0", + "metadata": { + "key0": "metadata9", + "key1": "metadata8", + "key2": "metadata7" + }, + "setup": { + "id": "id4", + "description": "description4", + "amount": 214, + "status": "status6" + }, + "gateway_affiliation_id": "gateway_affiliation_id6", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 162, + "minimum_price": 20, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {} + ], + "increments": [ + {}, + {} + ], + "boleto_due_days": 134, + "split": { + "enabled": false, + "rules": [ + {}, + {}, + {} + ] + }, + "boleto": { + "interest": { + "days": 60, + "type": "type0", + "amount": 134 + }, + "fine": { + "days": 78, + "type": "type2", + "amount": 152 + }, + "max_days_to_pay_past_due": 66 + }, + "manual_billing": false + }, + "subscription_item": {} + }, + { + "id": "id5", + "value": 180.77, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 181, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": { + "id": "id1", + "code": "code9", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval9", + "interval_count": 23, + "billing_type": "billing_type5", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id9", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": { + "id": "id5", + "code": "code3", + "start_at": "2016-03-13T12:52:32.123Z", + "interval": "interval3", + "interval_count": 81, + "billing_type": "billing_type9", + "current_cycle": { + "start_at": "2016-03-13T12:52:32.123Z", + "end_at": "2016-03-13T12:52:32.123Z", + "id": "id3", + "billing_at": "2016-03-13T12:52:32.123Z", + "subscription": {}, + "status": "status5", + "duration": 65, + "created_at": "created_at1", + "updated_at": "updated_at9", + "cycle": 5 + }, + "payment_method": "payment_method5", + "currency": "currency5", + "installments": 249, + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id5", + "name": "name5", + "email": "email1", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document9", + "type": "type5", + "fb_access_token": "fb_access_token9", + "address": { + "id": "id1", + "street": "street1", + "number": "number9", + "complement": "complement7", + "zip_code": "zip_code5", + "neighborhood": "neighborhood7", + "city": "city1", + "state": "state7", + "country": "country5", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": { + "id": "id1", + "name": "name1", + "email": "email5", + "delinquent": true, + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "document": "document5", + "type": "type1", + "fb_access_token": "fb_access_token5", + "address": { + "id": "id7", + "street": "street7", + "number": "number5", + "complement": "complement3", + "zip_code": "zip_code1", + "neighborhood": "neighborhood3", + "city": "city7", + "state": "state3", + "country": "country1", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "metadata": { + "key0": "metadata8" + }, + "line_1": "line_11", + "line_2": "line_25", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata8" + }, + "phones": { + "home_phone": { + "country_code": "country_code3", + "number": "number1", + "area_code": "area_code3" + }, + "mobile_phone": { + "country_code": "country_code3", + "number": "number1", + "area_code": "area_code3" + } + }, + "fb_id": 35, + "code": "code9", + "document_type": "document_type9" + }, + "metadata": { + "key0": "metadata8", + "key1": "metadata7", + "key2": "metadata6" + }, + "line_1": "line_15", + "line_2": "line_29", + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "metadata": { + "key0": "metadata2", + "key1": "metadata1" + }, + "phones": { + "home_phone": {}, + "mobile_phone": {} + }, + "fb_id": 241, + "code": "code3", + "document_type": "document_type3" + }, + "card": { + "id": "id9", + "last_four_digits": "last_four_digits5", + "brand": "brand3", + "holder_name": "holder_name5", + "exp_month": 113, + "exp_year": 183, + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street1", + "number": "number1", + "zip_code": "zip_code5", + "neighborhood": "neighborhood7", + "city": "city9", + "state": "state3", + "country": "country5", + "complement": "complement3", + "line_1": "line_15", + "line_2": "line_29" + }, + "customer": {}, + "metadata": { + "key0": "metadata4", + "key1": "metadata5" + }, + "type": "type1", + "holder_document": "holder_document7", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits9", + "label": "label9" + }, + "items": [ + { + "id": "id2", + "description": "description2", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 140, + "scheme_type": "scheme_type4", + "price_brackets": [ + {}, + {}, + {} + ], + "minimum_price": 44, + "percentage": 189.82 + }, + "discounts": [ + { + "id": "id3", + "value": 187.45, + "discount_type": "discount_type1", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 81, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id4", + "value": 187.46, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 82, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id5", + "value": 187.47, + "discount_type": "discount_type3", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 83, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description5", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id1", + "value": 42.73, + "increment_type": "increment_type3", + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 55, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description1", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name2", + "quantity": 126, + "cycles": 146, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + { + "id": "id3", + "description": "description3", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "pricing_scheme": { + "price": 139, + "scheme_type": "scheme_type5", + "price_brackets": [ + {} + ], + "minimum_price": 43, + "percentage": 189.83 + }, + "discounts": [ + { + "id": "id4", + "value": 187.46, + "discount_type": "discount_type2", + "status": "status6", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 82, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description4", + "subscription": {}, + "subscription_item": {} + } + ], + "increments": [ + { + "id": "id2", + "value": 42.74, + "increment_type": "increment_type4", + "status": "status4", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 54, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description2", + "subscription": {}, + "subscription_item": {} + }, + { + "id": "id3", + "value": 42.75, + "increment_type": "increment_type5", + "status": "status5", + "created_at": "2016-03-13T12:52:32.123Z", + "cycles": 53, + "deleted_at": "2016-03-13T12:52:32.123Z", + "description": "description3", + "subscription": {}, + "subscription_item": {} + } + ], + "subscription": {}, + "name": "name3", + "quantity": 127, + "cycles": 147, + "deleted_at": "2016-03-13T12:52:32.123Z" + } + ], + "statement_descriptor": "statement_descriptor5", + "metadata": { + "key0": "metadata2", + "key1": "metadata1", + "key2": "metadata0" + }, + "setup": { + "id": "id9", + "description": "description9", + "amount": 17, + "status": "status1" + }, + "gateway_affiliation_id": "gateway_affiliation_id1", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 221, + "minimum_price": 79, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {}, + {} + ], + "increments": [ + {} + ], + "boleto_due_days": 193, + "split": { + "enabled": true, + "rules": [ + { + "type": "type5", + "amount": 153, + "recipient": { + "id": "id7", + "name": "name7", + "email": "email9", + "document": "document9", + "description": "description7", + "type": "type3", + "status": "status1", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id5", + "holder_name": "holder_name1", + "holder_type": "holder_type7", + "bank": "bank3", + "branch_number": "branch_number1", + "branch_check_digit": "branch_check_digit1", + "account_number": "account_number5", + "account_check_digit": "account_check_digit1", + "type": "type5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id7", + "name": "name7", + "email": "email9", + "document": "document1", + "description": "description7", + "type": "type3", + "status": "status9", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id5", + "holder_name": "holder_name1", + "holder_type": "holder_type7", + "bank": "bank3", + "branch_number": "branch_number1", + "branch_check_digit": "branch_check_digit1", + "account_number": "account_number5", + "account_check_digit": "account_check_digit1", + "type": "type5", + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata4", + "key1": "metadata3", + "key2": "metadata2" + }, + "pix_key": "pix_key9" + }, + "gateway_recipients": [ + { + "gateway": "gateway1", + "status": "status3", + "pgid": "pgid7", + "created_at": "created_at9", + "updated_at": "updated_at7" + }, + { + "gateway": "gateway2", + "status": "status4", + "pgid": "pgid8", + "created_at": "created_at0", + "updated_at": "updated_at8" + }, + { + "gateway": "gateway3", + "status": "status5", + "pgid": "pgid9", + "created_at": "created_at1", + "updated_at": "updated_at9" + } + ], + "metadata": { + "key0": "metadata4", + "key1": "metadata3" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type1", + "volume_percentage": 171, + "delay": 119, + "days": [ + 95, + 96 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval7", + "transfer_day": 81 + }, + "code": "code5", + "payment_mode": "payment_mode1" + }, + "metadata": { + "key0": "metadata2", + "key1": "metadata1" + }, + "pix_key": "pix_key1" + }, + "gateway_recipients": [ + {}, + {}, + {} + ], + "metadata": { + "key0": "metadata6", + "key1": "metadata7" + }, + "automatic_anticipation_settings": { + "enabled": true, + "type": "type9", + "volume_percentage": 241, + "delay": 49, + "days": [ + 25, + 26 + ] + }, + "transfer_settings": { + "transfer_enabled": true, + "transfer_interval": "transfer_interval7", + "transfer_day": 151 + }, + "code": "code5", + "payment_mode": "payment_mode1" + }, + "gateway_id": "gateway_id5", + "options": { + "liable": true, + "charge_processing_fee": true, + "charge_remainder_fee": "charge_remainder_fee1" + }, + "id": "id5" + }, + { + "type": "type4", + "amount": 154, + "recipient": { + "id": "id8", + "name": "name8", + "email": "email8", + "document": "document8", + "description": "description8", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": { + "id": "id8", + "name": "name8", + "email": "email8", + "document": "document2", + "description": "description8", + "type": "type2", + "status": "status0", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "default_bank_account": { + "id": "id6", + "holder_name": "holder_name2", + "holder_type": "holder_type8", + "bank": "bank4", + "branch_number": "branch_number2", + "branch_check_digit": "branch_check_digit2", + "account_number": "account_number6", + "account_check_digit": "account_check_digit2", + "type": "type6", + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "deleted_at": "2016-03-13T12:52:32.123Z", + "recipient": {}, + "metadata": { + "key0": "metadata3" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + { + "gateway": "gateway2", + "status": "status4", + "pgid": "pgid8", + "created_at": "created_at0", + "updated_at": "updated_at8" + } + ], + "metadata": { + "key0": "metadata5" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type2", + "volume_percentage": 170, + "delay": 120, + "days": [ + 96, + 97, + 98 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 80 + }, + "code": "code6", + "payment_mode": "payment_mode2" + }, + "metadata": { + "key0": "metadata3" + }, + "pix_key": "pix_key0" + }, + "gateway_recipients": [ + {} + ], + "metadata": { + "key0": "metadata5" + }, + "automatic_anticipation_settings": { + "enabled": false, + "type": "type8", + "volume_percentage": 240, + "delay": 50, + "days": [ + 26, + 27, + 28 + ] + }, + "transfer_settings": { + "transfer_enabled": false, + "transfer_interval": "transfer_interval6", + "transfer_day": 150 + }, + "code": "code6", + "payment_mode": "payment_mode2" + }, + "gateway_id": "gateway_id4", + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": "charge_remainder_fee2" + }, + "id": "id6" + } + ] + }, + "boleto": { + "interest": { + "days": 153, + "type": "type5", + "amount": 227 + }, + "fine": { + "days": 137, + "type": "type3", + "amount": 211 + }, + "max_days_to_pay_past_due": 125 + }, + "manual_billing": true + }, + "status": "status1", + "duration": 7, + "created_at": "created_at7", + "updated_at": "updated_at5", + "cycle": 203 + }, + "payment_method": "payment_method1", + "currency": "currency1", + "installments": 191, + "status": "status3", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "customer": {}, + "card": { + "id": "id5", + "last_four_digits": "last_four_digits1", + "brand": "brand9", + "holder_name": "holder_name1", + "exp_month": 85, + "exp_year": 125, + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "billing_address": { + "street": "street7", + "number": "number5", + "zip_code": "zip_code1", + "neighborhood": "neighborhood3", + "city": "city7", + "state": "state3", + "country": "country1", + "complement": "complement3", + "line_1": "line_19", + "line_2": "line_25" + }, + "customer": {}, + "metadata": { + "key0": "metadata2", + "key1": "metadata1", + "key2": "metadata0" + }, + "type": "type5", + "holder_document": "holder_document9", + "deleted_at": "2016-03-13T12:52:32.123Z", + "first_six_digits": "first_six_digits5", + "label": "label5" + }, + "items": [ + {} + ], + "statement_descriptor": "statement_descriptor1", + "metadata": { + "key0": "metadata8" + }, + "setup": { + "id": "id5", + "description": "description5", + "amount": 215, + "status": "status7" + }, + "gateway_affiliation_id": "gateway_affiliation_id7", + "next_billing_at": "2016-03-13T12:52:32.123Z", + "billing_day": 163, + "minimum_price": 21, + "canceled_at": "2016-03-13T12:52:32.123Z", + "discounts": [ + {}, + {} + ], + "increments": [ + {}, + {}, + {} + ], + "boleto_due_days": 135, + "split": { + "enabled": true, + "rules": [ + {} + ] + }, + "boleto": { + "interest": { + "days": 61, + "type": "type9", + "amount": 135 + }, + "fine": { + "days": 79, + "type": "type3", + "amount": 153 + }, + "max_days_to_pay_past_due": 67 + }, + "manual_billing": true + }, + "subscription_item": {} + } + ], + "increments": [ + {} + ], + "subscription": {}, + "name": "name2", + "quantity": 224, + "cycles": 244, + "deleted_at": "2016-03-13T12:52:32.123Z" + }, + "code": "code4", + "group": "group4", + "amount": 122 + } + ], + "paging": { + "total": 6, + "previous": "previous2", + "next": "next8" + } } ``` diff --git a/doc/models/list-withdrawals.md b/doc/models/list-withdrawals.md index ae26fde..c46b3fa 100644 --- a/doc/models/list-withdrawals.md +++ b/doc/models/list-withdrawals.md @@ -18,40 +18,59 @@ { "data": [ { - "id": null, - "gateway_id": null, - "amount": null, - "status": null, - "created_at": null, - "updated_at": null, - "metadata": null, - "fee": null, - "funding_date": null, - "funding_estimated_date": null, - "type": null, - "source": null, - "target": null + "id": "id5", + "gateway_id": "gateway_id5", + "amount": 121, + "status": "status7", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "metadata": [ + "metadata4", + "metadata3" + ], + "fee": 79, + "funding_date": "2016-03-13T12:52:32.123Z", + "funding_estimated_date": "2016-03-13T12:52:32.123Z", + "type": "type5", + "source": { + "source_id": "source_id5", + "type": "type1" + }, + "target": { + "target_id": "target_id3", + "type": "type7" + } }, { - "id": null, - "gateway_id": null, - "amount": null, - "status": null, - "created_at": null, - "updated_at": null, - "metadata": null, - "fee": null, - "funding_date": null, - "funding_estimated_date": null, - "type": null, - "source": null, - "target": null + "id": "id6", + "gateway_id": "gateway_id6", + "amount": 122, + "status": "status8", + "created_at": "2016-03-13T12:52:32.123Z", + "updated_at": "2016-03-13T12:52:32.123Z", + "metadata": [ + "metadata3", + "metadata2", + "metadata1" + ], + "fee": 80, + "funding_date": "2016-03-13T12:52:32.123Z", + "funding_estimated_date": "2016-03-13T12:52:32.123Z", + "type": "type6", + "source": { + "source_id": "source_id6", + "type": "type2" + }, + "target": { + "target_id": "target_id4", + "type": "type6" + } } ], "paging": { - "total": null, - "previous": null, - "next": null + "total": 6, + "previous": "previous2", + "next": "next8" } } ``` diff --git a/doc/models/paging-response.md b/doc/models/paging-response.md index 42ccc41..257a3e1 100644 --- a/doc/models/paging-response.md +++ b/doc/models/paging-response.md @@ -19,9 +19,9 @@ Object used for returning lists of objects with pagination ```json { - "total": null, - "previous": null, - "next": null + "total": 10, + "previous": "previous8", + "next": "next2" } ``` diff --git a/doc/models/pix-additional-information.md b/doc/models/pix-additional-information.md index b5a6e4b..28549de 100644 --- a/doc/models/pix-additional-information.md +++ b/doc/models/pix-additional-information.md @@ -18,8 +18,8 @@ Pix Additional Information ```json { - "Name": null, - "Value": null + "Name": "Name0", + "Value": "Value2" } ``` diff --git a/doc/models/update-automatic-anticipation-settings-request.md b/doc/models/update-automatic-anticipation-settings-request.md index 2037207..36dfeab 100644 --- a/doc/models/update-automatic-anticipation-settings-request.md +++ b/doc/models/update-automatic-anticipation-settings-request.md @@ -19,11 +19,11 @@ ```json { - "enabled": null, - "type": null, - "volume_percentage": null, - "delay": null, - "days": null + "enabled": false, + "type": "type0", + "volume_percentage": 62, + "delay": 228, + "days": 120 } ``` diff --git a/doc/models/update-card-request.md b/doc/models/update-card-request.md index ff4e2b7..1a3ef46 100644 --- a/doc/models/update-card-request.md +++ b/doc/models/update-card-request.md @@ -14,7 +14,7 @@ Request for updating a card | `holderName` | `string` | Required | Holder name | getHolderName(): string | setHolderName(string holderName): void | | `expMonth` | `int` | Required | Expiration month | getExpMonth(): int | setExpMonth(int expMonth): void | | `expYear` | `int` | Required | Expiration year | getExpYear(): int | setExpYear(int expYear): void | -| `billingAddressId` | `string` | Required | Id of the address to be used as billing address | getBillingAddressId(): string | setBillingAddressId(string billingAddressId): void | +| `billingAddressId` | `?string` | Optional | Id of the address to be used as billing address | getBillingAddressId(): ?string | setBillingAddressId(?string billingAddressId): void | | `billingAddress` | [`CreateAddressRequest`](../../doc/models/create-address-request.md) | Required | Billing address | getBillingAddress(): CreateAddressRequest | setBillingAddress(CreateAddressRequest billingAddress): void | | `metadata` | `array` | Required | Metadata | getMetadata(): array | setMetadata(array metadata): void | | `label` | `string` | Required | - | getLabel(): string | setLabel(string label): void | diff --git a/doc/models/update-charge-card-request.md b/doc/models/update-charge-card-request.md index c0eec75..eec8a41 100644 --- a/doc/models/update-charge-card-request.md +++ b/doc/models/update-charge-card-request.md @@ -20,27 +20,12 @@ Request for updating card data ```json { - "update_subscription": false, - "card_id": "card_id4", + "update_subscription": null, + "card_id": null, "card": { - "number": null, - "holder_name": null, - "exp_month": null, - "exp_year": null, - "cvv": null, - "billing_address": null, - "brand": null, - "billing_address_id": null, - "metadata": null, - "type": null, - "options": null, - "holder_document": null, - "private_label": null, - "label": null, - "id": null, - "token": null + "type": "credit" }, - "recurrence": false + "recurrence": null } ``` diff --git a/doc/models/update-charge-due-date-request.md b/doc/models/update-charge-due-date-request.md index 4dc0cd1..69c38c9 100644 --- a/doc/models/update-charge-due-date-request.md +++ b/doc/models/update-charge-due-date-request.md @@ -17,7 +17,7 @@ Request for updating a charge due date ```json { - "due_at": null + "due_at": "2016-03-13T12:52:32.123Z" } ``` diff --git a/doc/models/update-charge-payment-method-request.md b/doc/models/update-charge-payment-method-request.md index 7b1e798..55a8c09 100644 --- a/doc/models/update-charge-payment-method-request.md +++ b/doc/models/update-charge-payment-method-request.md @@ -25,88 +25,24 @@ Request for updating the payment method of a charge ```json { - "update_subscription": false, - "payment_method": "payment_method0", + "update_subscription": null, + "payment_method": null, "credit_card": { - "installments": null, - "statement_descriptor": null, - "card": null, - "card_id": null, - "card_token": null, - "recurrence": null, - "capture": null, - "extended_limit_enabled": null, - "extended_limit_code": null, - "merchant_category_code": null, - "authentication": null, - "contactless": null, - "auto_recovery": null, - "operation_type": null, - "recurrency_cycle": null - }, - "debit_card": { - "statement_descriptor": null, - "card": null, - "card_id": null, - "card_token": null, - "recurrence": null, - "authentication": null, - "token": null - }, - "boleto": { - "retries": 226, - "bank": "bank8", - "instructions": "instructions2", - "due_at": null, - "billing_address": { - "street": "street8", - "number": "number4", - "zip_code": "zip_code2", - "neighborhood": "neighborhood4", - "city": "city2", - "state": "state6", - "country": "country2", - "complement": "complement6", - "metadata": { - "key0": "metadata5" - }, - "line_1": "line_18", - "line_2": "line_26" - }, - "billing_address_id": null, - "nosso_numero": null, - "document_number": "document_number6", - "statement_descriptor": "statement_descriptor0", - "interest": null, - "fine": null, - "max_days_to_pay_past_due": null + "installments": 1, + "capture": true, + "recurrency_cycle": "\"first\" or \"subsequent\"" }, + "debit_card": null, + "boleto": null, "voucher": { - "statement_descriptor": null, - "card_id": null, - "card_token": null, - "Card": null, - "recurrency_cycle": null - }, - "cash": { - "description": "description0", - "confirm": false - }, - "bank_transfer": { - "bank": "bank0", - "retries": 236 + "recurrency_cycle": "\"first\" or \"subsequent\"" }, + "cash": null, + "bank_transfer": null, "private_label": { - "installments": null, - "statement_descriptor": null, - "card": null, - "card_id": null, - "card_token": null, - "recurrence": null, - "capture": null, - "extended_limit_enabled": null, - "extended_limit_code": null, - "recurrency_cycle": null + "installments": 1, + "capture": true, + "recurrency_cycle": "\"first\" or \"subsequent\"" } } ``` diff --git a/doc/models/update-current-cycle-end-date-request.md b/doc/models/update-current-cycle-end-date-request.md index 94c2f83..2044d9b 100644 --- a/doc/models/update-current-cycle-end-date-request.md +++ b/doc/models/update-current-cycle-end-date-request.md @@ -17,7 +17,7 @@ Request to update the end date of the current subscription cycle ```json { - "end_at": null + "end_at": "2016-03-13T12:52:32.123Z" } ``` diff --git a/doc/models/update-customer-request.md b/doc/models/update-customer-request.md index 2b1a656..51f1a94 100644 --- a/doc/models/update-customer-request.md +++ b/doc/models/update-customer-request.md @@ -26,16 +26,47 @@ Request for updating a customer ```json { - "name": null, - "email": null, - "document": null, - "type": null, - "address": null, - "metadata": null, - "phones": null, - "code": null, - "gender": null, - "document_type": null + "name": "name0", + "email": "email6", + "document": "document6", + "type": "type0", + "address": { + "street": "street6", + "number": "number4", + "zip_code": "zip_code0", + "neighborhood": "neighborhood2", + "city": "city6", + "state": "state2", + "country": "country0", + "complement": "complement2", + "metadata": { + "key0": "metadata3", + "key1": "metadata2", + "key2": "metadata1" + }, + "line_1": "line_10", + "line_2": "line_24" + }, + "metadata": { + "key0": "metadata3", + "key1": "metadata4", + "key2": "metadata5" + }, + "phones": { + "home_phone": { + "country_code": "country_code8", + "number": "number0", + "area_code": "area_code2" + }, + "mobile_phone": { + "country_code": "country_code8", + "number": "number4", + "area_code": "area_code8" + } + }, + "code": "code8", + "gender": "gender6", + "document_type": "document_type8" } ``` diff --git a/doc/models/update-plan-item-request.md b/doc/models/update-plan-item-request.md index 6f8ddb6..f57c201 100644 --- a/doc/models/update-plan-item-request.md +++ b/doc/models/update-plan-item-request.md @@ -31,28 +31,28 @@ Request for updating a plan item { "start_quantity": 119, "price": 57, - "end_quantity": null, - "overage_price": null + "end_quantity": 127, + "overage_price": 141 }, { "start_quantity": 120, "price": 58, - "end_quantity": null, - "overage_price": null + "end_quantity": 128, + "overage_price": 142 }, { "start_quantity": 121, "price": 59, - "end_quantity": null, - "overage_price": null + "end_quantity": 129, + "overage_price": 143 } ], - "price": null, - "minimum_price": null, - "percentage": null + "price": 166, + "minimum_price": 6, + "percentage": 251.76 }, - "quantity": null, - "cycles": null + "quantity": 68, + "cycles": 168 } ``` diff --git a/doc/models/update-plan-request.md b/doc/models/update-plan-request.md index 2103ed2..1727293 100644 --- a/doc/models/update-plan-request.md +++ b/doc/models/update-plan-request.md @@ -59,8 +59,8 @@ Request for updating a plan "key1": "metadata4", "key2": "metadata5" }, - "minimum_price": null, - "trial_period_days": null + "minimum_price": 176, + "trial_period_days": 54 } ``` diff --git a/doc/models/update-price-bracket-request.md b/doc/models/update-price-bracket-request.md index 541ece6..73aaac4 100644 --- a/doc/models/update-price-bracket-request.md +++ b/doc/models/update-price-bracket-request.md @@ -22,8 +22,8 @@ Request for updating a price bracket { "start_quantity": 46, "price": 16, - "end_quantity": null, - "overage_price": null + "end_quantity": 54, + "overage_price": 68 } ``` diff --git a/doc/models/update-pricing-scheme-request.md b/doc/models/update-pricing-scheme-request.md index 154bcac..5b67268 100644 --- a/doc/models/update-pricing-scheme-request.md +++ b/doc/models/update-pricing-scheme-request.md @@ -26,25 +26,25 @@ Request for updating a pricing scheme { "start_quantity": 193, "price": 125, - "end_quantity": null, - "overage_price": null + "end_quantity": 201, + "overage_price": 215 }, { "start_quantity": 194, "price": 124, - "end_quantity": null, - "overage_price": null + "end_quantity": 202, + "overage_price": 216 }, { "start_quantity": 195, "price": 123, - "end_quantity": null, - "overage_price": null + "end_quantity": 203, + "overage_price": 217 } ], - "price": null, - "minimum_price": null, - "percentage": null + "price": 16, + "minimum_price": 176, + "percentage": 4.18 } ``` diff --git a/doc/models/update-subscription-card-request.md b/doc/models/update-subscription-card-request.md index 5cea7a5..efe2b9e 100644 --- a/doc/models/update-subscription-card-request.md +++ b/doc/models/update-subscription-card-request.md @@ -19,24 +19,9 @@ Request for updating the card from a subscription ```json { "card": { - "number": null, - "holder_name": null, - "exp_month": null, - "exp_year": null, - "cvv": null, - "billing_address": null, - "brand": null, - "billing_address_id": null, - "metadata": null, - "type": null, - "options": null, - "holder_document": null, - "private_label": null, - "label": null, - "id": null, - "token": null + "type": "credit" }, - "card_id": "card_id4" + "card_id": null } ``` diff --git a/doc/models/update-subscription-item-request.md b/doc/models/update-subscription-item-request.md index 16ed4d3..c2a68dd 100644 --- a/doc/models/update-subscription-item-request.md +++ b/doc/models/update-subscription-item-request.md @@ -31,30 +31,30 @@ Request for updating a subscription item { "start_quantity": 119, "price": 57, - "end_quantity": null, - "overage_price": null + "end_quantity": 127, + "overage_price": 141 }, { "start_quantity": 120, "price": 58, - "end_quantity": null, - "overage_price": null + "end_quantity": 128, + "overage_price": 142 }, { "start_quantity": 121, "price": 59, - "end_quantity": null, - "overage_price": null + "end_quantity": 129, + "overage_price": 143 } ], - "price": null, - "minimum_price": null, - "percentage": null + "price": 166, + "minimum_price": 6, + "percentage": 251.76 }, "name": "name0", - "cycles": null, - "quantity": null, - "minimum_price": null + "cycles": 168, + "quantity": 68, + "minimum_price": 176 } ``` diff --git a/doc/models/update-subscription-minimum-price-request.md b/doc/models/update-subscription-minimum-price-request.md index 80e8ef5..10eabc1 100644 --- a/doc/models/update-subscription-minimum-price-request.md +++ b/doc/models/update-subscription-minimum-price-request.md @@ -17,7 +17,7 @@ Atualização do valor mínimo da assinatura ```json { - "minimum_price": null + "minimum_price": 176 } ``` diff --git a/doc/models/update-subscription-payment-method-request.md b/doc/models/update-subscription-payment-method-request.md index 9ed0b95..6cd6e6e 100644 --- a/doc/models/update-subscription-payment-method-request.md +++ b/doc/models/update-subscription-payment-method-request.md @@ -21,28 +21,11 @@ Request for updating a subscription's payment method ```json { - "payment_method": "payment_method0", - "card_id": "card_id4", + "payment_method": null, + "card_id": null, "card": { - "number": null, - "holder_name": null, - "exp_month": null, - "exp_year": null, - "cvv": null, - "billing_address": null, - "brand": null, - "billing_address_id": null, - "metadata": null, - "type": null, - "options": null, - "holder_document": null, - "private_label": null, - "label": null, - "id": null, - "token": null - }, - "card_token": null, - "boleto": null + "type": "credit" + } } ``` diff --git a/doc/models/update-subscription-split-request.md b/doc/models/update-subscription-split-request.md index afb1394..e5417d8 100644 --- a/doc/models/update-subscription-split-request.md +++ b/doc/models/update-subscription-split-request.md @@ -22,8 +22,12 @@ "type": "type6", "amount": 210, "recipient_id": "recipient_id6", - "options": null, - "split_rule_id": null + "options": { + "liable": false, + "charge_processing_fee": false, + "charge_remainder_fee": false + }, + "split_rule_id": "split_rule_id6" } ] } diff --git a/src/Models/Builders/CreateAccessTokenRequestBuilder.php b/src/Models/Builders/CreateAccessTokenRequestBuilder.php new file mode 100644 index 0000000..75c39e5 --- /dev/null +++ b/src/Models/Builders/CreateAccessTokenRequestBuilder.php @@ -0,0 +1,57 @@ +instance = $instance; + } + + /** + * Initializes a new create access token request Builder object. + */ + public static function init(): self + { + return new self(new CreateAccessTokenRequest()); + } + + /** + * Sets expires in field. + */ + public function expiresIn(?int $value): self + { + $this->instance->setExpiresIn($value); + return $this; + } + + /** + * Initializes a new create access token request object. + */ + public function build(): CreateAccessTokenRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateAddressRequestBuilder.php b/src/Models/Builders/CreateAddressRequestBuilder.php new file mode 100644 index 0000000..ed812b0 --- /dev/null +++ b/src/Models/Builders/CreateAddressRequestBuilder.php @@ -0,0 +1,71 @@ +instance = $instance; + } + + /** + * Initializes a new create address request Builder object. + */ + public static function init( + string $street, + string $number, + string $zipCode, + string $neighborhood, + string $city, + string $state, + string $country, + string $complement, + array $metadata, + string $line1, + string $line2 + ): self { + return new self(new CreateAddressRequest( + $street, + $number, + $zipCode, + $neighborhood, + $city, + $state, + $country, + $complement, + $metadata, + $line1, + $line2 + )); + } + + /** + * Initializes a new create address request object. + */ + public function build(): CreateAddressRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateAnticipationRequestBuilder.php b/src/Models/Builders/CreateAnticipationRequestBuilder.php new file mode 100644 index 0000000..d1d860d --- /dev/null +++ b/src/Models/Builders/CreateAnticipationRequestBuilder.php @@ -0,0 +1,48 @@ +instance = $instance; + } + + /** + * Initializes a new create anticipation request Builder object. + */ + public static function init(int $amount, string $timeframe, \DateTime $paymentDate): self + { + return new self(new CreateAnticipationRequest($amount, $timeframe, $paymentDate)); + } + + /** + * Initializes a new create anticipation request object. + */ + public function build(): CreateAnticipationRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateAntifraudRequestBuilder.php b/src/Models/Builders/CreateAntifraudRequestBuilder.php new file mode 100644 index 0000000..d182be3 --- /dev/null +++ b/src/Models/Builders/CreateAntifraudRequestBuilder.php @@ -0,0 +1,49 @@ +instance = $instance; + } + + /** + * Initializes a new create antifraud request Builder object. + */ + public static function init(string $type, CreateClearSaleRequest $clearsale): self + { + return new self(new CreateAntifraudRequest($type, $clearsale)); + } + + /** + * Initializes a new create antifraud request object. + */ + public function build(): CreateAntifraudRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateApplePayHeaderRequestBuilder.php b/src/Models/Builders/CreateApplePayHeaderRequestBuilder.php new file mode 100644 index 0000000..3b149b8 --- /dev/null +++ b/src/Models/Builders/CreateApplePayHeaderRequestBuilder.php @@ -0,0 +1,66 @@ +instance = $instance; + } + + /** + * Initializes a new create apple pay header request Builder object. + */ + public static function init(string $ephemeralPublicKey): self + { + return new self(new CreateApplePayHeaderRequest($ephemeralPublicKey)); + } + + /** + * Sets public key hash field. + */ + public function publicKeyHash(?string $value): self + { + $this->instance->setPublicKeyHash($value); + return $this; + } + + /** + * Sets transaction id field. + */ + public function transactionId(?string $value): self + { + $this->instance->setTransactionId($value); + return $this; + } + + /** + * Initializes a new create apple pay header request object. + */ + public function build(): CreateApplePayHeaderRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateApplePayRequestBuilder.php b/src/Models/Builders/CreateApplePayRequestBuilder.php new file mode 100644 index 0000000..f28d062 --- /dev/null +++ b/src/Models/Builders/CreateApplePayRequestBuilder.php @@ -0,0 +1,54 @@ +instance = $instance; + } + + /** + * Initializes a new create apple pay request Builder object. + */ + public static function init( + string $version, + string $data, + CreateApplePayHeaderRequest $header, + string $signature, + string $merchantIdentifier + ): self { + return new self(new CreateApplePayRequest($version, $data, $header, $signature, $merchantIdentifier)); + } + + /** + * Initializes a new create apple pay request object. + */ + public function build(): CreateApplePayRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateAutomaticAnticipationSettingsRequestBuilder.php b/src/Models/Builders/CreateAutomaticAnticipationSettingsRequestBuilder.php new file mode 100644 index 0000000..2c27c6d --- /dev/null +++ b/src/Models/Builders/CreateAutomaticAnticipationSettingsRequestBuilder.php @@ -0,0 +1,50 @@ +instance = $instance; + } + + /** + * Initializes a new create automatic anticipation settings request Builder object. + */ + public static function init(bool $enabled, string $type, int $volumePercentage, int $delay, array $days): self + { + return new self( + new CreateAutomaticAnticipationSettingsRequest($enabled, $type, $volumePercentage, $delay, $days) + ); + } + + /** + * Initializes a new create automatic anticipation settings request object. + */ + public function build(): CreateAutomaticAnticipationSettingsRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateBankAccountRequestBuilder.php b/src/Models/Builders/CreateBankAccountRequestBuilder.php new file mode 100644 index 0000000..22dfa7f --- /dev/null +++ b/src/Models/Builders/CreateBankAccountRequestBuilder.php @@ -0,0 +1,103 @@ +instance = $instance; + } + + /** + * Initializes a new create bank account request Builder object. + */ + public static function init( + string $holderName, + string $holderType, + string $holderDocument, + string $bank, + string $branchNumber, + string $accountNumber, + string $accountCheckDigit, + string $type, + array $metadata + ): self { + return new self(new CreateBankAccountRequest( + $holderName, + $holderType, + $holderDocument, + $bank, + $branchNumber, + $accountNumber, + $accountCheckDigit, + $type, + $metadata + )); + } + + /** + * Sets branch check digit field. + */ + public function branchCheckDigit(?string $value): self + { + $this->instance->setBranchCheckDigit($value); + return $this; + } + + /** + * Unsets branch check digit field. + */ + public function unsetBranchCheckDigit(): self + { + $this->instance->unsetBranchCheckDigit(); + return $this; + } + + /** + * Sets pix key field. + */ + public function pixKey(?string $value): self + { + $this->instance->setPixKey($value); + return $this; + } + + /** + * Unsets pix key field. + */ + public function unsetPixKey(): self + { + $this->instance->unsetPixKey(); + return $this; + } + + /** + * Initializes a new create bank account request object. + */ + public function build(): CreateBankAccountRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateBankTransferPaymentRequestBuilder.php b/src/Models/Builders/CreateBankTransferPaymentRequestBuilder.php new file mode 100644 index 0000000..d3ba941 --- /dev/null +++ b/src/Models/Builders/CreateBankTransferPaymentRequestBuilder.php @@ -0,0 +1,48 @@ +instance = $instance; + } + + /** + * Initializes a new create bank transfer payment request Builder object. + */ + public static function init(string $bank, int $retries): self + { + return new self(new CreateBankTransferPaymentRequest($bank, $retries)); + } + + /** + * Initializes a new create bank transfer payment request object. + */ + public function build(): CreateBankTransferPaymentRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateBoletoPaymentRequestBuilder.php b/src/Models/Builders/CreateBoletoPaymentRequestBuilder.php new file mode 100644 index 0000000..c088bdd --- /dev/null +++ b/src/Models/Builders/CreateBoletoPaymentRequestBuilder.php @@ -0,0 +1,172 @@ +instance = $instance; + } + + /** + * Initializes a new create boleto payment request Builder object. + */ + public static function init( + int $retries, + string $bank, + string $instructions, + CreateAddressRequest $billingAddress, + string $documentNumber, + string $statementDescriptor + ): self { + return new self(new CreateBoletoPaymentRequest( + $retries, + $bank, + $instructions, + $billingAddress, + $documentNumber, + $statementDescriptor + )); + } + + /** + * Sets due at field. + */ + public function dueAt(?\DateTime $value): self + { + $this->instance->setDueAt($value); + return $this; + } + + /** + * Unsets due at field. + */ + public function unsetDueAt(): self + { + $this->instance->unsetDueAt(); + return $this; + } + + /** + * Sets billing address id field. + */ + public function billingAddressId(?string $value): self + { + $this->instance->setBillingAddressId($value); + return $this; + } + + /** + * Unsets billing address id field. + */ + public function unsetBillingAddressId(): self + { + $this->instance->unsetBillingAddressId(); + return $this; + } + + /** + * Sets nosso numero field. + */ + public function nossoNumero(?string $value): self + { + $this->instance->setNossoNumero($value); + return $this; + } + + /** + * Unsets nosso numero field. + */ + public function unsetNossoNumero(): self + { + $this->instance->unsetNossoNumero(); + return $this; + } + + /** + * Sets interest field. + */ + public function interest(?CreateInterestRequest $value): self + { + $this->instance->setInterest($value); + return $this; + } + + /** + * Unsets interest field. + */ + public function unsetInterest(): self + { + $this->instance->unsetInterest(); + return $this; + } + + /** + * Sets fine field. + */ + public function fine(?CreateFineRequest $value): self + { + $this->instance->setFine($value); + return $this; + } + + /** + * Unsets fine field. + */ + public function unsetFine(): self + { + $this->instance->unsetFine(); + return $this; + } + + /** + * Sets max days to pay past due field. + */ + public function maxDaysToPayPastDue(?int $value): self + { + $this->instance->setMaxDaysToPayPastDue($value); + return $this; + } + + /** + * Unsets max days to pay past due field. + */ + public function unsetMaxDaysToPayPastDue(): self + { + $this->instance->unsetMaxDaysToPayPastDue(); + return $this; + } + + /** + * Initializes a new create boleto payment request object. + */ + public function build(): CreateBoletoPaymentRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateCancelChargeRequestBuilder.php b/src/Models/Builders/CreateCancelChargeRequestBuilder.php new file mode 100644 index 0000000..20ae10b --- /dev/null +++ b/src/Models/Builders/CreateCancelChargeRequestBuilder.php @@ -0,0 +1,75 @@ +instance = $instance; + } + + /** + * Initializes a new create cancel charge request Builder object. + */ + public static function init(string $operationReference): self + { + return new self(new CreateCancelChargeRequest($operationReference)); + } + + /** + * Sets amount field. + */ + public function amount(?int $value): self + { + $this->instance->setAmount($value); + return $this; + } + + /** + * Sets split rules field. + */ + public function splitRules(?array $value): self + { + $this->instance->setSplitRules($value); + return $this; + } + + /** + * Sets split field. + */ + public function split(?array $value): self + { + $this->instance->setSplit($value); + return $this; + } + + /** + * Initializes a new create cancel charge request object. + */ + public function build(): CreateCancelChargeRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateCancelChargeSplitRulesRequestBuilder.php b/src/Models/Builders/CreateCancelChargeSplitRulesRequestBuilder.php new file mode 100644 index 0000000..754d2e3 --- /dev/null +++ b/src/Models/Builders/CreateCancelChargeSplitRulesRequestBuilder.php @@ -0,0 +1,48 @@ +instance = $instance; + } + + /** + * Initializes a new create cancel charge split rules request Builder object. + */ + public static function init(string $id, int $amount, string $type): self + { + return new self(new CreateCancelChargeSplitRulesRequest($id, $amount, $type)); + } + + /** + * Initializes a new create cancel charge split rules request object. + */ + public function build(): CreateCancelChargeSplitRulesRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateCancelSubscriptionRequestBuilder.php b/src/Models/Builders/CreateCancelSubscriptionRequestBuilder.php new file mode 100644 index 0000000..f098e95 --- /dev/null +++ b/src/Models/Builders/CreateCancelSubscriptionRequestBuilder.php @@ -0,0 +1,48 @@ +instance = $instance; + } + + /** + * Initializes a new create cancel subscription request Builder object. + */ + public static function init(bool $cancelPendingInvoices): self + { + return new self(new CreateCancelSubscriptionRequest($cancelPendingInvoices)); + } + + /** + * Initializes a new create cancel subscription request object. + */ + public function build(): CreateCancelSubscriptionRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateCaptureChargeRequestBuilder.php b/src/Models/Builders/CreateCaptureChargeRequestBuilder.php new file mode 100644 index 0000000..1a7f4da --- /dev/null +++ b/src/Models/Builders/CreateCaptureChargeRequestBuilder.php @@ -0,0 +1,66 @@ +instance = $instance; + } + + /** + * Initializes a new create capture charge request Builder object. + */ + public static function init(string $code, string $operationReference): self + { + return new self(new CreateCaptureChargeRequest($code, $operationReference)); + } + + /** + * Sets amount field. + */ + public function amount(?int $value): self + { + $this->instance->setAmount($value); + return $this; + } + + /** + * Sets split field. + */ + public function split(?array $value): self + { + $this->instance->setSplit($value); + return $this; + } + + /** + * Initializes a new create capture charge request object. + */ + public function build(): CreateCaptureChargeRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateCardOptionsRequestBuilder.php b/src/Models/Builders/CreateCardOptionsRequestBuilder.php new file mode 100644 index 0000000..e03048a --- /dev/null +++ b/src/Models/Builders/CreateCardOptionsRequestBuilder.php @@ -0,0 +1,48 @@ +instance = $instance; + } + + /** + * Initializes a new create card options request Builder object. + */ + public static function init(bool $verifyCard): self + { + return new self(new CreateCardOptionsRequest($verifyCard)); + } + + /** + * Initializes a new create card options request object. + */ + public function build(): CreateCardOptionsRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateCardPaymentContactlessPOIRequestBuilder.php b/src/Models/Builders/CreateCardPaymentContactlessPOIRequestBuilder.php new file mode 100644 index 0000000..294e21f --- /dev/null +++ b/src/Models/Builders/CreateCardPaymentContactlessPOIRequestBuilder.php @@ -0,0 +1,61 @@ +instance = $instance; + } + + /** + * Initializes a new create card payment contactless poirequest Builder object. + */ + public static function init( + string $systemName, + string $model, + string $provider, + string $serialNumber, + string $versionNumber + ): self { + return new self( + new CreateCardPaymentContactlessPOIRequest( + $systemName, + $model, + $provider, + $serialNumber, + $versionNumber + ) + ); + } + + /** + * Initializes a new create card payment contactless poirequest object. + */ + public function build(): CreateCardPaymentContactlessPOIRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateCardPaymentContactlessRequestBuilder.php b/src/Models/Builders/CreateCardPaymentContactlessRequestBuilder.php new file mode 100644 index 0000000..d3c9dd8 --- /dev/null +++ b/src/Models/Builders/CreateCardPaymentContactlessRequestBuilder.php @@ -0,0 +1,78 @@ +instance = $instance; + } + + /** + * Initializes a new create card payment contactless request Builder object. + */ + public static function init(string $type): self + { + return new self(new CreateCardPaymentContactlessRequest($type)); + } + + /** + * Sets apple pay field. + */ + public function applePay(?CreateApplePayRequest $value): self + { + $this->instance->setApplePay($value); + return $this; + } + + /** + * Sets google pay field. + */ + public function googlePay(?CreateGooglePayRequest $value): self + { + $this->instance->setGooglePay($value); + return $this; + } + + /** + * Sets emv field. + */ + public function emv(?CreateEmvDecryptRequest $value): self + { + $this->instance->setEmv($value); + return $this; + } + + /** + * Initializes a new create card payment contactless request object. + */ + public function build(): CreateCardPaymentContactlessRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateCardRequestBuilder.php b/src/Models/Builders/CreateCardRequestBuilder.php new file mode 100644 index 0000000..d64749a --- /dev/null +++ b/src/Models/Builders/CreateCardRequestBuilder.php @@ -0,0 +1,194 @@ +instance = $instance; + } + + /** + * Initializes a new create card request Builder object. + */ + public static function init(): self + { + return new self(new CreateCardRequest()); + } + + /** + * Sets number field. + */ + public function number(?string $value): self + { + $this->instance->setNumber($value); + return $this; + } + + /** + * Sets holder name field. + */ + public function holderName(?string $value): self + { + $this->instance->setHolderName($value); + return $this; + } + + /** + * Sets exp month field. + */ + public function expMonth(?int $value): self + { + $this->instance->setExpMonth($value); + return $this; + } + + /** + * Sets exp year field. + */ + public function expYear(?int $value): self + { + $this->instance->setExpYear($value); + return $this; + } + + /** + * Sets cvv field. + */ + public function cvv(?string $value): self + { + $this->instance->setCvv($value); + return $this; + } + + /** + * Sets billing address field. + */ + public function billingAddress(?CreateAddressRequest $value): self + { + $this->instance->setBillingAddress($value); + return $this; + } + + /** + * Sets brand field. + */ + public function brand(?string $value): self + { + $this->instance->setBrand($value); + return $this; + } + + /** + * Sets billing address id field. + */ + public function billingAddressId(?string $value): self + { + $this->instance->setBillingAddressId($value); + return $this; + } + + /** + * Sets metadata field. + */ + public function metadata(?array $value): self + { + $this->instance->setMetadata($value); + return $this; + } + + /** + * Sets type field. + */ + public function type(?string $value): self + { + $this->instance->setType($value); + return $this; + } + + /** + * Sets options field. + */ + public function options(?CreateCardOptionsRequest $value): self + { + $this->instance->setOptions($value); + return $this; + } + + /** + * Sets holder document field. + */ + public function holderDocument(?string $value): self + { + $this->instance->setHolderDocument($value); + return $this; + } + + /** + * Sets private label field. + */ + public function privateLabel(?bool $value): self + { + $this->instance->setPrivateLabel($value); + return $this; + } + + /** + * Sets label field. + */ + public function label(?string $value): self + { + $this->instance->setLabel($value); + return $this; + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Sets token field. + */ + public function token(?string $value): self + { + $this->instance->setToken($value); + return $this; + } + + /** + * Initializes a new create card request object. + */ + public function build(): CreateCardRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateCardTokenRequestBuilder.php b/src/Models/Builders/CreateCardTokenRequestBuilder.php new file mode 100644 index 0000000..535e7af --- /dev/null +++ b/src/Models/Builders/CreateCardTokenRequestBuilder.php @@ -0,0 +1,57 @@ +instance = $instance; + } + + /** + * Initializes a new create card token request Builder object. + */ + public static function init( + string $number, + string $holderName, + int $expMonth, + int $expYear, + string $cvv, + string $brand, + string $label + ): self { + return new self( + new CreateCardTokenRequest($number, $holderName, $expMonth, $expYear, $cvv, $brand, $label) + ); + } + + /** + * Initializes a new create card token request object. + */ + public function build(): CreateCardTokenRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateCashPaymentRequestBuilder.php b/src/Models/Builders/CreateCashPaymentRequestBuilder.php new file mode 100644 index 0000000..b351679 --- /dev/null +++ b/src/Models/Builders/CreateCashPaymentRequestBuilder.php @@ -0,0 +1,48 @@ +instance = $instance; + } + + /** + * Initializes a new create cash payment request Builder object. + */ + public static function init(string $description, bool $confirm): self + { + return new self(new CreateCashPaymentRequest($description, $confirm)); + } + + /** + * Initializes a new create cash payment request object. + */ + public function build(): CreateCashPaymentRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateChargeRequestBuilder.php b/src/Models/Builders/CreateChargeRequestBuilder.php new file mode 100644 index 0000000..f2a8b45 --- /dev/null +++ b/src/Models/Builders/CreateChargeRequestBuilder.php @@ -0,0 +1,79 @@ +instance = $instance; + } + + /** + * Initializes a new create charge request Builder object. + */ + public static function init( + string $code, + int $amount, + string $customerId, + CreateCustomerRequest $customer, + CreatePaymentRequest $payment, + array $metadata, + CreateAntifraudRequest $antifraud, + string $orderId + ): self { + return new self( + new CreateChargeRequest( + $code, + $amount, + $customerId, + $customer, + $payment, + $metadata, + $antifraud, + $orderId + ) + ); + } + + /** + * Sets due at field. + */ + public function dueAt(?\DateTime $value): self + { + $this->instance->setDueAt($value); + return $this; + } + + /** + * Initializes a new create charge request object. + */ + public function build(): CreateChargeRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateCheckoutBankTransferRequestBuilder.php b/src/Models/Builders/CreateCheckoutBankTransferRequestBuilder.php new file mode 100644 index 0000000..0d49e5d --- /dev/null +++ b/src/Models/Builders/CreateCheckoutBankTransferRequestBuilder.php @@ -0,0 +1,48 @@ +instance = $instance; + } + + /** + * Initializes a new create checkout bank transfer request Builder object. + */ + public static function init(array $bank, int $retries): self + { + return new self(new CreateCheckoutBankTransferRequest($bank, $retries)); + } + + /** + * Initializes a new create checkout bank transfer request object. + */ + public function build(): CreateCheckoutBankTransferRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateCheckoutBoletoPaymentRequestBuilder.php b/src/Models/Builders/CreateCheckoutBoletoPaymentRequestBuilder.php new file mode 100644 index 0000000..1f56577 --- /dev/null +++ b/src/Models/Builders/CreateCheckoutBoletoPaymentRequestBuilder.php @@ -0,0 +1,48 @@ +instance = $instance; + } + + /** + * Initializes a new create checkout boleto payment request Builder object. + */ + public static function init(string $bank, string $instructions, \DateTime $dueAt): self + { + return new self(new CreateCheckoutBoletoPaymentRequest($bank, $instructions, $dueAt)); + } + + /** + * Initializes a new create checkout boleto payment request object. + */ + public function build(): CreateCheckoutBoletoPaymentRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateCheckoutCardInstallmentOptionRequestBuilder.php b/src/Models/Builders/CreateCheckoutCardInstallmentOptionRequestBuilder.php new file mode 100644 index 0000000..64cb871 --- /dev/null +++ b/src/Models/Builders/CreateCheckoutCardInstallmentOptionRequestBuilder.php @@ -0,0 +1,48 @@ +instance = $instance; + } + + /** + * Initializes a new create checkout card installment option request Builder object. + */ + public static function init(int $number, int $total): self + { + return new self(new CreateCheckoutCardInstallmentOptionRequest($number, $total)); + } + + /** + * Initializes a new create checkout card installment option request object. + */ + public function build(): CreateCheckoutCardInstallmentOptionRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateCheckoutCreditCardPaymentRequestBuilder.php b/src/Models/Builders/CreateCheckoutCreditCardPaymentRequestBuilder.php new file mode 100644 index 0000000..008f22f --- /dev/null +++ b/src/Models/Builders/CreateCheckoutCreditCardPaymentRequestBuilder.php @@ -0,0 +1,85 @@ +instance = $instance; + } + + /** + * Initializes a new create checkout credit card payment request Builder object. + */ + public static function init(): self + { + return new self(new CreateCheckoutCreditCardPaymentRequest()); + } + + /** + * Sets statement descriptor field. + */ + public function statementDescriptor(?string $value): self + { + $this->instance->setStatementDescriptor($value); + return $this; + } + + /** + * Sets installments field. + */ + public function installments(?array $value): self + { + $this->instance->setInstallments($value); + return $this; + } + + /** + * Sets authentication field. + */ + public function authentication(?CreatePaymentAuthenticationRequest $value): self + { + $this->instance->setAuthentication($value); + return $this; + } + + /** + * Sets capture field. + */ + public function capture(?bool $value): self + { + $this->instance->setCapture($value); + return $this; + } + + /** + * Initializes a new create checkout credit card payment request object. + */ + public function build(): CreateCheckoutCreditCardPaymentRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateCheckoutDebitCardPaymentRequestBuilder.php b/src/Models/Builders/CreateCheckoutDebitCardPaymentRequestBuilder.php new file mode 100644 index 0000000..b960986 --- /dev/null +++ b/src/Models/Builders/CreateCheckoutDebitCardPaymentRequestBuilder.php @@ -0,0 +1,58 @@ +instance = $instance; + } + + /** + * Initializes a new create checkout debit card payment request Builder object. + */ + public static function init(CreatePaymentAuthenticationRequest $authentication): self + { + return new self(new CreateCheckoutDebitCardPaymentRequest($authentication)); + } + + /** + * Sets statement descriptor field. + */ + public function statementDescriptor(?string $value): self + { + $this->instance->setStatementDescriptor($value); + return $this; + } + + /** + * Initializes a new create checkout debit card payment request object. + */ + public function build(): CreateCheckoutDebitCardPaymentRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateCheckoutPaymentRequestBuilder.php b/src/Models/Builders/CreateCheckoutPaymentRequestBuilder.php new file mode 100644 index 0000000..77ac5e6 --- /dev/null +++ b/src/Models/Builders/CreateCheckoutPaymentRequestBuilder.php @@ -0,0 +1,150 @@ +instance = $instance; + } + + /** + * Initializes a new create checkout payment request Builder object. + */ + public static function init( + array $acceptedPaymentMethods, + array $acceptedMultiPaymentMethods, + string $successUrl, + bool $skipCheckoutSuccessPage, + bool $billingAddressEditable, + CreateAddressRequest $billingAddress, + array $acceptedBrands + ): self { + return new self(new CreateCheckoutPaymentRequest( + $acceptedPaymentMethods, + $acceptedMultiPaymentMethods, + $successUrl, + $skipCheckoutSuccessPage, + $billingAddressEditable, + $billingAddress, + $acceptedBrands + )); + } + + /** + * Sets default payment method field. + */ + public function defaultPaymentMethod(?string $value): self + { + $this->instance->setDefaultPaymentMethod($value); + return $this; + } + + /** + * Sets gateway affiliation id field. + */ + public function gatewayAffiliationId(?string $value): self + { + $this->instance->setGatewayAffiliationId($value); + return $this; + } + + /** + * Sets credit card field. + */ + public function creditCard(?CreateCheckoutCreditCardPaymentRequest $value): self + { + $this->instance->setCreditCard($value); + return $this; + } + + /** + * Sets debit card field. + */ + public function debitCard(?CreateCheckoutDebitCardPaymentRequest $value): self + { + $this->instance->setDebitCard($value); + return $this; + } + + /** + * Sets boleto field. + */ + public function boleto(?CreateCheckoutBoletoPaymentRequest $value): self + { + $this->instance->setBoleto($value); + return $this; + } + + /** + * Sets customer editable field. + */ + public function customerEditable(?bool $value): self + { + $this->instance->setCustomerEditable($value); + return $this; + } + + /** + * Sets expires in field. + */ + public function expiresIn(?int $value): self + { + $this->instance->setExpiresIn($value); + return $this; + } + + /** + * Sets bank transfer field. + */ + public function bankTransfer(?CreateCheckoutBankTransferRequest $value): self + { + $this->instance->setBankTransfer($value); + return $this; + } + + /** + * Sets pix field. + */ + public function pix(?CreateCheckoutPixPaymentRequest $value): self + { + $this->instance->setPix($value); + return $this; + } + + /** + * Initializes a new create checkout payment request object. + */ + public function build(): CreateCheckoutPaymentRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateCheckoutPixPaymentRequestBuilder.php b/src/Models/Builders/CreateCheckoutPixPaymentRequestBuilder.php new file mode 100644 index 0000000..5506fcf --- /dev/null +++ b/src/Models/Builders/CreateCheckoutPixPaymentRequestBuilder.php @@ -0,0 +1,75 @@ +instance = $instance; + } + + /** + * Initializes a new create checkout pix payment request Builder object. + */ + public static function init(): self + { + return new self(new CreateCheckoutPixPaymentRequest()); + } + + /** + * Sets expires at field. + */ + public function expiresAt(?\DateTime $value): self + { + $this->instance->setExpiresAt($value); + return $this; + } + + /** + * Sets expires in field. + */ + public function expiresIn(?int $value): self + { + $this->instance->setExpiresIn($value); + return $this; + } + + /** + * Sets additional information field. + */ + public function additionalInformation(?array $value): self + { + $this->instance->setAdditionalInformation($value); + return $this; + } + + /** + * Initializes a new create checkout pix payment request object. + */ + public function build(): CreateCheckoutPixPaymentRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateClearSaleRequestBuilder.php b/src/Models/Builders/CreateClearSaleRequestBuilder.php new file mode 100644 index 0000000..cd12324 --- /dev/null +++ b/src/Models/Builders/CreateClearSaleRequestBuilder.php @@ -0,0 +1,48 @@ +instance = $instance; + } + + /** + * Initializes a new create clear sale request Builder object. + */ + public static function init(int $customSla): self + { + return new self(new CreateClearSaleRequest($customSla)); + } + + /** + * Initializes a new create clear sale request object. + */ + public function build(): CreateClearSaleRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateConfirmPaymentRequestBuilder.php b/src/Models/Builders/CreateConfirmPaymentRequestBuilder.php new file mode 100644 index 0000000..da64dc5 --- /dev/null +++ b/src/Models/Builders/CreateConfirmPaymentRequestBuilder.php @@ -0,0 +1,57 @@ +instance = $instance; + } + + /** + * Initializes a new create confirm payment request Builder object. + */ + public static function init(string $description, string $code): self + { + return new self(new CreateConfirmPaymentRequest($description, $code)); + } + + /** + * Sets amount field. + */ + public function amount(?int $value): self + { + $this->instance->setAmount($value); + return $this; + } + + /** + * Initializes a new create confirm payment request object. + */ + public function build(): CreateConfirmPaymentRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateCreditCardPaymentRequestBuilder.php b/src/Models/Builders/CreateCreditCardPaymentRequestBuilder.php new file mode 100644 index 0000000..be1a2b0 --- /dev/null +++ b/src/Models/Builders/CreateCreditCardPaymentRequestBuilder.php @@ -0,0 +1,186 @@ +instance = $instance; + } + + /** + * Initializes a new create credit card payment request Builder object. + */ + public static function init(): self + { + return new self(new CreateCreditCardPaymentRequest()); + } + + /** + * Sets installments field. + */ + public function installments(?int $value): self + { + $this->instance->setInstallments($value); + return $this; + } + + /** + * Sets statement descriptor field. + */ + public function statementDescriptor(?string $value): self + { + $this->instance->setStatementDescriptor($value); + return $this; + } + + /** + * Sets card field. + */ + public function card(?CreateCardRequest $value): self + { + $this->instance->setCard($value); + return $this; + } + + /** + * Sets card id field. + */ + public function cardId(?string $value): self + { + $this->instance->setCardId($value); + return $this; + } + + /** + * Sets card token field. + */ + public function cardToken(?string $value): self + { + $this->instance->setCardToken($value); + return $this; + } + + /** + * Sets recurrence field. + */ + public function recurrence(?bool $value): self + { + $this->instance->setRecurrence($value); + return $this; + } + + /** + * Sets capture field. + */ + public function capture(?bool $value): self + { + $this->instance->setCapture($value); + return $this; + } + + /** + * Sets extended limit enabled field. + */ + public function extendedLimitEnabled(?bool $value): self + { + $this->instance->setExtendedLimitEnabled($value); + return $this; + } + + /** + * Sets extended limit code field. + */ + public function extendedLimitCode(?string $value): self + { + $this->instance->setExtendedLimitCode($value); + return $this; + } + + /** + * Sets merchant category code field. + */ + public function merchantCategoryCode(?int $value): self + { + $this->instance->setMerchantCategoryCode($value); + return $this; + } + + /** + * Sets authentication field. + */ + public function authentication(?CreatePaymentAuthenticationRequest $value): self + { + $this->instance->setAuthentication($value); + return $this; + } + + /** + * Sets contactless field. + */ + public function contactless(?CreateCardPaymentContactlessRequest $value): self + { + $this->instance->setContactless($value); + return $this; + } + + /** + * Sets auto recovery field. + */ + public function autoRecovery(?bool $value): self + { + $this->instance->setAutoRecovery($value); + return $this; + } + + /** + * Sets operation type field. + */ + public function operationType(?string $value): self + { + $this->instance->setOperationType($value); + return $this; + } + + /** + * Sets recurrency cycle field. + */ + public function recurrencyCycle(?string $value): self + { + $this->instance->setRecurrencyCycle($value); + return $this; + } + + /** + * Initializes a new create credit card payment request object. + */ + public function build(): CreateCreditCardPaymentRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateCustomerRequestBuilder.php b/src/Models/Builders/CreateCustomerRequestBuilder.php new file mode 100644 index 0000000..cc51b08 --- /dev/null +++ b/src/Models/Builders/CreateCustomerRequestBuilder.php @@ -0,0 +1,78 @@ +instance = $instance; + } + + /** + * Initializes a new create customer request Builder object. + */ + public static function init( + string $name, + string $email, + string $document, + string $type, + CreateAddressRequest $address, + array $metadata, + CreatePhonesRequest $phones, + string $code + ): self { + return new self( + new CreateCustomerRequest($name, $email, $document, $type, $address, $metadata, $phones, $code) + ); + } + + /** + * Sets gender field. + */ + public function gender(?string $value): self + { + $this->instance->setGender($value); + return $this; + } + + /** + * Sets document type field. + */ + public function documentType(?string $value): self + { + $this->instance->setDocumentType($value); + return $this; + } + + /** + * Initializes a new create customer request object. + */ + public function build(): CreateCustomerRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateDebitCardPaymentRequestBuilder.php b/src/Models/Builders/CreateDebitCardPaymentRequestBuilder.php new file mode 100644 index 0000000..f2402c2 --- /dev/null +++ b/src/Models/Builders/CreateDebitCardPaymentRequestBuilder.php @@ -0,0 +1,114 @@ +instance = $instance; + } + + /** + * Initializes a new create debit card payment request Builder object. + */ + public static function init(): self + { + return new self(new CreateDebitCardPaymentRequest()); + } + + /** + * Sets statement descriptor field. + */ + public function statementDescriptor(?string $value): self + { + $this->instance->setStatementDescriptor($value); + return $this; + } + + /** + * Sets card field. + */ + public function card(?CreateCardRequest $value): self + { + $this->instance->setCard($value); + return $this; + } + + /** + * Sets card id field. + */ + public function cardId(?string $value): self + { + $this->instance->setCardId($value); + return $this; + } + + /** + * Sets card token field. + */ + public function cardToken(?string $value): self + { + $this->instance->setCardToken($value); + return $this; + } + + /** + * Sets recurrence field. + */ + public function recurrence(?bool $value): self + { + $this->instance->setRecurrence($value); + return $this; + } + + /** + * Sets authentication field. + */ + public function authentication(?CreatePaymentAuthenticationRequest $value): self + { + $this->instance->setAuthentication($value); + return $this; + } + + /** + * Sets token field. + */ + public function token(?CreateCardPaymentContactlessRequest $value): self + { + $this->instance->setToken($value); + return $this; + } + + /** + * Initializes a new create debit card payment request object. + */ + public function build(): CreateDebitCardPaymentRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateDeviceRequestBuilder.php b/src/Models/Builders/CreateDeviceRequestBuilder.php new file mode 100644 index 0000000..892323b --- /dev/null +++ b/src/Models/Builders/CreateDeviceRequestBuilder.php @@ -0,0 +1,57 @@ +instance = $instance; + } + + /** + * Initializes a new create device request Builder object. + */ + public static function init(): self + { + return new self(new CreateDeviceRequest()); + } + + /** + * Sets platform field. + */ + public function platform(?string $value): self + { + $this->instance->setPlatform($value); + return $this; + } + + /** + * Initializes a new create device request object. + */ + public function build(): CreateDeviceRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateDiscountRequestBuilder.php b/src/Models/Builders/CreateDiscountRequestBuilder.php new file mode 100644 index 0000000..0a2883f --- /dev/null +++ b/src/Models/Builders/CreateDiscountRequestBuilder.php @@ -0,0 +1,66 @@ +instance = $instance; + } + + /** + * Initializes a new create discount request Builder object. + */ + public static function init(float $value, string $discountType, string $itemId): self + { + return new self(new CreateDiscountRequest($value, $discountType, $itemId)); + } + + /** + * Sets cycles field. + */ + public function cycles(?int $value): self + { + $this->instance->setCycles($value); + return $this; + } + + /** + * Sets description field. + */ + public function description(?string $value): self + { + $this->instance->setDescription($value); + return $this; + } + + /** + * Initializes a new create discount request object. + */ + public function build(): CreateDiscountRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateEmvDataDecryptRequestBuilder.php b/src/Models/Builders/CreateEmvDataDecryptRequestBuilder.php new file mode 100644 index 0000000..e090cf3 --- /dev/null +++ b/src/Models/Builders/CreateEmvDataDecryptRequestBuilder.php @@ -0,0 +1,58 @@ +instance = $instance; + } + + /** + * Initializes a new create emv data decrypt request Builder object. + */ + public static function init(string $cipher, array $tags): self + { + return new self(new CreateEmvDataDecryptRequest($cipher, $tags)); + } + + /** + * Sets dukpt field. + */ + public function dukpt(?CreateEmvDataDukptDecryptRequest $value): self + { + $this->instance->setDukpt($value); + return $this; + } + + /** + * Initializes a new create emv data decrypt request object. + */ + public function build(): CreateEmvDataDecryptRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateEmvDataDukptDecryptRequestBuilder.php b/src/Models/Builders/CreateEmvDataDukptDecryptRequestBuilder.php new file mode 100644 index 0000000..ec7b579 --- /dev/null +++ b/src/Models/Builders/CreateEmvDataDukptDecryptRequestBuilder.php @@ -0,0 +1,48 @@ +instance = $instance; + } + + /** + * Initializes a new create emv data dukpt decrypt request Builder object. + */ + public static function init(string $ksn): self + { + return new self(new CreateEmvDataDukptDecryptRequest($ksn)); + } + + /** + * Initializes a new create emv data dukpt decrypt request object. + */ + public function build(): CreateEmvDataDukptDecryptRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateEmvDataTlvDecryptRequestBuilder.php b/src/Models/Builders/CreateEmvDataTlvDecryptRequestBuilder.php new file mode 100644 index 0000000..6a9e720 --- /dev/null +++ b/src/Models/Builders/CreateEmvDataTlvDecryptRequestBuilder.php @@ -0,0 +1,48 @@ +instance = $instance; + } + + /** + * Initializes a new create emv data tlv decrypt request Builder object. + */ + public static function init(string $tag, string $lenght, string $value): self + { + return new self(new CreateEmvDataTlvDecryptRequest($tag, $lenght, $value)); + } + + /** + * Initializes a new create emv data tlv decrypt request object. + */ + public function build(): CreateEmvDataTlvDecryptRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateEmvDecryptRequestBuilder.php b/src/Models/Builders/CreateEmvDecryptRequestBuilder.php new file mode 100644 index 0000000..7315884 --- /dev/null +++ b/src/Models/Builders/CreateEmvDecryptRequestBuilder.php @@ -0,0 +1,59 @@ +instance = $instance; + } + + /** + * Initializes a new create emv decrypt request Builder object. + */ + public static function init(string $iccData, string $cardSequenceNumber, CreateEmvDataDecryptRequest $data): self + { + return new self(new CreateEmvDecryptRequest($iccData, $cardSequenceNumber, $data)); + } + + /** + * Sets poi field. + */ + public function poi(?CreateCardPaymentContactlessPOIRequest $value): self + { + $this->instance->setPoi($value); + return $this; + } + + /** + * Initializes a new create emv decrypt request object. + */ + public function build(): CreateEmvDecryptRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateFineRequestBuilder.php b/src/Models/Builders/CreateFineRequestBuilder.php new file mode 100644 index 0000000..b5abec4 --- /dev/null +++ b/src/Models/Builders/CreateFineRequestBuilder.php @@ -0,0 +1,48 @@ +instance = $instance; + } + + /** + * Initializes a new create fine request Builder object. + */ + public static function init(int $days, string $type, int $amount): self + { + return new self(new CreateFineRequest($days, $type, $amount)); + } + + /** + * Initializes a new create fine request object. + */ + public function build(): CreateFineRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateGooglePayHeaderRequestBuilder.php b/src/Models/Builders/CreateGooglePayHeaderRequestBuilder.php new file mode 100644 index 0000000..ac10905 --- /dev/null +++ b/src/Models/Builders/CreateGooglePayHeaderRequestBuilder.php @@ -0,0 +1,48 @@ +instance = $instance; + } + + /** + * Initializes a new create google pay header request Builder object. + */ + public static function init(string $ephemeralPublicKey): self + { + return new self(new CreateGooglePayHeaderRequest($ephemeralPublicKey)); + } + + /** + * Initializes a new create google pay header request object. + */ + public function build(): CreateGooglePayHeaderRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateGooglePayRequestBuilder.php b/src/Models/Builders/CreateGooglePayRequestBuilder.php new file mode 100644 index 0000000..69f394c --- /dev/null +++ b/src/Models/Builders/CreateGooglePayRequestBuilder.php @@ -0,0 +1,54 @@ +instance = $instance; + } + + /** + * Initializes a new create google pay request Builder object. + */ + public static function init( + string $version, + string $data, + CreateGooglePayHeaderRequest $header, + string $signature, + string $merchantIdentifier + ): self { + return new self(new CreateGooglePayRequest($version, $data, $header, $signature, $merchantIdentifier)); + } + + /** + * Initializes a new create google pay request object. + */ + public function build(): CreateGooglePayRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateIncrementRequestBuilder.php b/src/Models/Builders/CreateIncrementRequestBuilder.php new file mode 100644 index 0000000..3da7c19 --- /dev/null +++ b/src/Models/Builders/CreateIncrementRequestBuilder.php @@ -0,0 +1,66 @@ +instance = $instance; + } + + /** + * Initializes a new create increment request Builder object. + */ + public static function init(float $value, string $incrementType, string $itemId): self + { + return new self(new CreateIncrementRequest($value, $incrementType, $itemId)); + } + + /** + * Sets cycles field. + */ + public function cycles(?int $value): self + { + $this->instance->setCycles($value); + return $this; + } + + /** + * Sets description field. + */ + public function description(?string $value): self + { + $this->instance->setDescription($value); + return $this; + } + + /** + * Initializes a new create increment request object. + */ + public function build(): CreateIncrementRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateInterestRequestBuilder.php b/src/Models/Builders/CreateInterestRequestBuilder.php new file mode 100644 index 0000000..00e47ab --- /dev/null +++ b/src/Models/Builders/CreateInterestRequestBuilder.php @@ -0,0 +1,48 @@ +instance = $instance; + } + + /** + * Initializes a new create interest request Builder object. + */ + public static function init(int $days, string $type, int $amount): self + { + return new self(new CreateInterestRequest($days, $type, $amount)); + } + + /** + * Initializes a new create interest request object. + */ + public function build(): CreateInterestRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateInvoiceRequestBuilder.php b/src/Models/Builders/CreateInvoiceRequestBuilder.php new file mode 100644 index 0000000..d6367f8 --- /dev/null +++ b/src/Models/Builders/CreateInvoiceRequestBuilder.php @@ -0,0 +1,48 @@ +instance = $instance; + } + + /** + * Initializes a new create invoice request Builder object. + */ + public static function init(array $metadata): self + { + return new self(new CreateInvoiceRequest($metadata)); + } + + /** + * Initializes a new create invoice request object. + */ + public function build(): CreateInvoiceRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateLocationRequestBuilder.php b/src/Models/Builders/CreateLocationRequestBuilder.php new file mode 100644 index 0000000..448a281 --- /dev/null +++ b/src/Models/Builders/CreateLocationRequestBuilder.php @@ -0,0 +1,48 @@ +instance = $instance; + } + + /** + * Initializes a new create location request Builder object. + */ + public static function init(string $latitude, string $longitude): self + { + return new self(new CreateLocationRequest($latitude, $longitude)); + } + + /** + * Initializes a new create location request object. + */ + public function build(): CreateLocationRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateOrderItemRequestBuilder.php b/src/Models/Builders/CreateOrderItemRequestBuilder.php new file mode 100644 index 0000000..013a01d --- /dev/null +++ b/src/Models/Builders/CreateOrderItemRequestBuilder.php @@ -0,0 +1,57 @@ +instance = $instance; + } + + /** + * Initializes a new create order item request Builder object. + */ + public static function init(int $amount, string $description, int $quantity, string $category): self + { + return new self(new CreateOrderItemRequest($amount, $description, $quantity, $category)); + } + + /** + * Sets code field. + */ + public function code(?string $value): self + { + $this->instance->setCode($value); + return $this; + } + + /** + * Initializes a new create order item request object. + */ + public function build(): CreateOrderItemRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateOrderRequestBuilder.php b/src/Models/Builders/CreateOrderRequestBuilder.php new file mode 100644 index 0000000..8e8837e --- /dev/null +++ b/src/Models/Builders/CreateOrderRequestBuilder.php @@ -0,0 +1,159 @@ +instance = $instance; + } + + /** + * Initializes a new create order request Builder object. + */ + public static function init( + array $items, + CreateCustomerRequest $customer, + array $payments, + string $code, + array $metadata, + bool $closed + ): self { + return new self(new CreateOrderRequest($items, $customer, $payments, $code, $metadata, $closed)); + } + + /** + * Sets customer id field. + */ + public function customerId(?string $value): self + { + $this->instance->setCustomerId($value); + return $this; + } + + /** + * Unsets customer id field. + */ + public function unsetCustomerId(): self + { + $this->instance->unsetCustomerId(); + return $this; + } + + /** + * Sets shipping field. + */ + public function shipping(?CreateShippingRequest $value): self + { + $this->instance->setShipping($value); + return $this; + } + + /** + * Sets antifraud enabled field. + */ + public function antifraudEnabled(?bool $value): self + { + $this->instance->setAntifraudEnabled($value); + return $this; + } + + /** + * Sets ip field. + */ + public function ip(?string $value): self + { + $this->instance->setIp($value); + return $this; + } + + /** + * Sets session id field. + */ + public function sessionId(?string $value): self + { + $this->instance->setSessionId($value); + return $this; + } + + /** + * Sets location field. + */ + public function location(?CreateLocationRequest $value): self + { + $this->instance->setLocation($value); + return $this; + } + + /** + * Sets device field. + */ + public function device(?CreateDeviceRequest $value): self + { + $this->instance->setDevice($value); + return $this; + } + + /** + * Sets currency field. + */ + public function currency(?string $value): self + { + $this->instance->setCurrency($value); + return $this; + } + + /** + * Sets antifraud field. + */ + public function antifraud(?CreateAntifraudRequest $value): self + { + $this->instance->setAntifraud($value); + return $this; + } + + /** + * Sets submerchant field. + */ + public function submerchant(?CreateSubMerchantRequest $value): self + { + $this->instance->setSubmerchant($value); + return $this; + } + + /** + * Initializes a new create order request object. + */ + public function build(): CreateOrderRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreatePaymentAuthenticationRequestBuilder.php b/src/Models/Builders/CreatePaymentAuthenticationRequestBuilder.php new file mode 100644 index 0000000..6d90889 --- /dev/null +++ b/src/Models/Builders/CreatePaymentAuthenticationRequestBuilder.php @@ -0,0 +1,49 @@ +instance = $instance; + } + + /** + * Initializes a new create payment authentication request Builder object. + */ + public static function init(string $type, CreateThreeDSecureRequest $threedSecure): self + { + return new self(new CreatePaymentAuthenticationRequest($type, $threedSecure)); + } + + /** + * Initializes a new create payment authentication request object. + */ + public function build(): CreatePaymentAuthenticationRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreatePaymentRequestBuilder.php b/src/Models/Builders/CreatePaymentRequestBuilder.php new file mode 100644 index 0000000..ce06ade --- /dev/null +++ b/src/Models/Builders/CreatePaymentRequestBuilder.php @@ -0,0 +1,202 @@ +instance = $instance; + } + + /** + * Initializes a new create payment request Builder object. + */ + public static function init(string $paymentMethod): self + { + return new self(new CreatePaymentRequest($paymentMethod)); + } + + /** + * Sets credit card field. + */ + public function creditCard(?CreateCreditCardPaymentRequest $value): self + { + $this->instance->setCreditCard($value); + return $this; + } + + /** + * Sets debit card field. + */ + public function debitCard(?CreateDebitCardPaymentRequest $value): self + { + $this->instance->setDebitCard($value); + return $this; + } + + /** + * Sets boleto field. + */ + public function boleto(?CreateBoletoPaymentRequest $value): self + { + $this->instance->setBoleto($value); + return $this; + } + + /** + * Sets currency field. + */ + public function currency(?string $value): self + { + $this->instance->setCurrency($value); + return $this; + } + + /** + * Sets voucher field. + */ + public function voucher(?CreateVoucherPaymentRequest $value): self + { + $this->instance->setVoucher($value); + return $this; + } + + /** + * Sets split field. + */ + public function split(?array $value): self + { + $this->instance->setSplit($value); + return $this; + } + + /** + * Sets bank transfer field. + */ + public function bankTransfer(?CreateBankTransferPaymentRequest $value): self + { + $this->instance->setBankTransfer($value); + return $this; + } + + /** + * Sets gateway affiliation id field. + */ + public function gatewayAffiliationId(?string $value): self + { + $this->instance->setGatewayAffiliationId($value); + return $this; + } + + /** + * Sets amount field. + */ + public function amount(?int $value): self + { + $this->instance->setAmount($value); + return $this; + } + + /** + * Sets checkout field. + */ + public function checkout(?CreateCheckoutPaymentRequest $value): self + { + $this->instance->setCheckout($value); + return $this; + } + + /** + * Sets customer id field. + */ + public function customerId(?string $value): self + { + $this->instance->setCustomerId($value); + return $this; + } + + /** + * Sets customer field. + */ + public function customer(?CreateCustomerRequest $value): self + { + $this->instance->setCustomer($value); + return $this; + } + + /** + * Sets metadata field. + */ + public function metadata(?array $value): self + { + $this->instance->setMetadata($value); + return $this; + } + + /** + * Sets cash field. + */ + public function cash(?CreateCashPaymentRequest $value): self + { + $this->instance->setCash($value); + return $this; + } + + /** + * Sets private label field. + */ + public function privateLabel(?CreatePrivateLabelPaymentRequest $value): self + { + $this->instance->setPrivateLabel($value); + return $this; + } + + /** + * Sets pix field. + */ + public function pix(?CreatePixPaymentRequest $value): self + { + $this->instance->setPix($value); + return $this; + } + + /** + * Initializes a new create payment request object. + */ + public function build(): CreatePaymentRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreatePeriodRequestBuilder.php b/src/Models/Builders/CreatePeriodRequestBuilder.php new file mode 100644 index 0000000..138eea6 --- /dev/null +++ b/src/Models/Builders/CreatePeriodRequestBuilder.php @@ -0,0 +1,57 @@ +instance = $instance; + } + + /** + * Initializes a new create period request Builder object. + */ + public static function init(): self + { + return new self(new CreatePeriodRequest()); + } + + /** + * Sets end at field. + */ + public function endAt(?\DateTime $value): self + { + $this->instance->setEndAt($value); + return $this; + } + + /** + * Initializes a new create period request object. + */ + public function build(): CreatePeriodRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreatePhoneRequestBuilder.php b/src/Models/Builders/CreatePhoneRequestBuilder.php new file mode 100644 index 0000000..839547b --- /dev/null +++ b/src/Models/Builders/CreatePhoneRequestBuilder.php @@ -0,0 +1,75 @@ +instance = $instance; + } + + /** + * Initializes a new create phone request Builder object. + */ + public static function init(): self + { + return new self(new CreatePhoneRequest()); + } + + /** + * Sets country code field. + */ + public function countryCode(?string $value): self + { + $this->instance->setCountryCode($value); + return $this; + } + + /** + * Sets number field. + */ + public function number(?string $value): self + { + $this->instance->setNumber($value); + return $this; + } + + /** + * Sets area code field. + */ + public function areaCode(?string $value): self + { + $this->instance->setAreaCode($value); + return $this; + } + + /** + * Initializes a new create phone request object. + */ + public function build(): CreatePhoneRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreatePhonesRequestBuilder.php b/src/Models/Builders/CreatePhonesRequestBuilder.php new file mode 100644 index 0000000..ac58931 --- /dev/null +++ b/src/Models/Builders/CreatePhonesRequestBuilder.php @@ -0,0 +1,67 @@ +instance = $instance; + } + + /** + * Initializes a new create phones request Builder object. + */ + public static function init(): self + { + return new self(new CreatePhonesRequest()); + } + + /** + * Sets home phone field. + */ + public function homePhone(?CreatePhoneRequest $value): self + { + $this->instance->setHomePhone($value); + return $this; + } + + /** + * Sets mobile phone field. + */ + public function mobilePhone(?CreatePhoneRequest $value): self + { + $this->instance->setMobilePhone($value); + return $this; + } + + /** + * Initializes a new create phones request object. + */ + public function build(): CreatePhonesRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreatePixPaymentRequestBuilder.php b/src/Models/Builders/CreatePixPaymentRequestBuilder.php new file mode 100644 index 0000000..85070e3 --- /dev/null +++ b/src/Models/Builders/CreatePixPaymentRequestBuilder.php @@ -0,0 +1,75 @@ +instance = $instance; + } + + /** + * Initializes a new create pix payment request Builder object. + */ + public static function init(): self + { + return new self(new CreatePixPaymentRequest()); + } + + /** + * Sets expires at field. + */ + public function expiresAt(?\DateTime $value): self + { + $this->instance->setExpiresAt($value); + return $this; + } + + /** + * Sets expires in field. + */ + public function expiresIn(?int $value): self + { + $this->instance->setExpiresIn($value); + return $this; + } + + /** + * Sets additional information field. + */ + public function additionalInformation(?array $value): self + { + $this->instance->setAdditionalInformation($value); + return $this; + } + + /** + * Initializes a new create pix payment request object. + */ + public function build(): CreatePixPaymentRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreatePlanItemRequestBuilder.php b/src/Models/Builders/CreatePlanItemRequestBuilder.php new file mode 100644 index 0000000..c9b4f28 --- /dev/null +++ b/src/Models/Builders/CreatePlanItemRequestBuilder.php @@ -0,0 +1,71 @@ +instance = $instance; + } + + /** + * Initializes a new create plan item request Builder object. + */ + public static function init( + string $name, + CreatePricingSchemeRequest $pricingScheme, + string $id, + string $description + ): self { + return new self(new CreatePlanItemRequest($name, $pricingScheme, $id, $description)); + } + + /** + * Sets cycles field. + */ + public function cycles(?int $value): self + { + $this->instance->setCycles($value); + return $this; + } + + /** + * Sets quantity field. + */ + public function quantity(?int $value): self + { + $this->instance->setQuantity($value); + return $this; + } + + /** + * Initializes a new create plan item request object. + */ + public function build(): CreatePlanItemRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreatePlanRequestBuilder.php b/src/Models/Builders/CreatePlanRequestBuilder.php new file mode 100644 index 0000000..a37b3b7 --- /dev/null +++ b/src/Models/Builders/CreatePlanRequestBuilder.php @@ -0,0 +1,114 @@ +instance = $instance; + } + + /** + * Initializes a new create plan request Builder object. + */ + public static function init( + string $name, + string $description, + string $statementDescriptor, + array $items, + bool $shippable, + array $paymentMethods, + array $installments, + string $currency, + string $interval, + int $intervalCount, + array $billingDays, + string $billingType, + CreatePricingSchemeRequest $pricingScheme, + array $metadata + ): self { + return new self(new CreatePlanRequest( + $name, + $description, + $statementDescriptor, + $items, + $shippable, + $paymentMethods, + $installments, + $currency, + $interval, + $intervalCount, + $billingDays, + $billingType, + $pricingScheme, + $metadata + )); + } + + /** + * Sets minimum price field. + */ + public function minimumPrice(?int $value): self + { + $this->instance->setMinimumPrice($value); + return $this; + } + + /** + * Sets cycles field. + */ + public function cycles(?int $value): self + { + $this->instance->setCycles($value); + return $this; + } + + /** + * Sets quantity field. + */ + public function quantity(?int $value): self + { + $this->instance->setQuantity($value); + return $this; + } + + /** + * Sets trial period days field. + */ + public function trialPeriodDays(?int $value): self + { + $this->instance->setTrialPeriodDays($value); + return $this; + } + + /** + * Initializes a new create plan request object. + */ + public function build(): CreatePlanRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreatePriceBracketRequestBuilder.php b/src/Models/Builders/CreatePriceBracketRequestBuilder.php new file mode 100644 index 0000000..5f46662 --- /dev/null +++ b/src/Models/Builders/CreatePriceBracketRequestBuilder.php @@ -0,0 +1,66 @@ +instance = $instance; + } + + /** + * Initializes a new create price bracket request Builder object. + */ + public static function init(int $startQuantity, int $price): self + { + return new self(new CreatePriceBracketRequest($startQuantity, $price)); + } + + /** + * Sets end quantity field. + */ + public function endQuantity(?int $value): self + { + $this->instance->setEndQuantity($value); + return $this; + } + + /** + * Sets overage price field. + */ + public function overagePrice(?int $value): self + { + $this->instance->setOveragePrice($value); + return $this; + } + + /** + * Initializes a new create price bracket request object. + */ + public function build(): CreatePriceBracketRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreatePricingSchemeRequestBuilder.php b/src/Models/Builders/CreatePricingSchemeRequestBuilder.php new file mode 100644 index 0000000..3df8e03 --- /dev/null +++ b/src/Models/Builders/CreatePricingSchemeRequestBuilder.php @@ -0,0 +1,84 @@ +instance = $instance; + } + + /** + * Initializes a new create pricing scheme request Builder object. + */ + public static function init(string $schemeType): self + { + return new self(new CreatePricingSchemeRequest($schemeType)); + } + + /** + * Sets price brackets field. + */ + public function priceBrackets(?array $value): self + { + $this->instance->setPriceBrackets($value); + return $this; + } + + /** + * Sets price field. + */ + public function price(?int $value): self + { + $this->instance->setPrice($value); + return $this; + } + + /** + * Sets minimum price field. + */ + public function minimumPrice(?int $value): self + { + $this->instance->setMinimumPrice($value); + return $this; + } + + /** + * Sets percentage field. + */ + public function percentage(?float $value): self + { + $this->instance->setPercentage($value); + return $this; + } + + /** + * Initializes a new create pricing scheme request object. + */ + public function build(): CreatePricingSchemeRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreatePrivateLabelPaymentRequestBuilder.php b/src/Models/Builders/CreatePrivateLabelPaymentRequestBuilder.php new file mode 100644 index 0000000..ceaaa95 --- /dev/null +++ b/src/Models/Builders/CreatePrivateLabelPaymentRequestBuilder.php @@ -0,0 +1,139 @@ +instance = $instance; + } + + /** + * Initializes a new create private label payment request Builder object. + */ + public static function init(): self + { + return new self(new CreatePrivateLabelPaymentRequest()); + } + + /** + * Sets installments field. + */ + public function installments(?int $value): self + { + $this->instance->setInstallments($value); + return $this; + } + + /** + * Sets statement descriptor field. + */ + public function statementDescriptor(?string $value): self + { + $this->instance->setStatementDescriptor($value); + return $this; + } + + /** + * Sets card field. + */ + public function card(?CreateCardRequest $value): self + { + $this->instance->setCard($value); + return $this; + } + + /** + * Sets card id field. + */ + public function cardId(?string $value): self + { + $this->instance->setCardId($value); + return $this; + } + + /** + * Sets card token field. + */ + public function cardToken(?string $value): self + { + $this->instance->setCardToken($value); + return $this; + } + + /** + * Sets recurrence field. + */ + public function recurrence(?bool $value): self + { + $this->instance->setRecurrence($value); + return $this; + } + + /** + * Sets capture field. + */ + public function capture(?bool $value): self + { + $this->instance->setCapture($value); + return $this; + } + + /** + * Sets extended limit enabled field. + */ + public function extendedLimitEnabled(?bool $value): self + { + $this->instance->setExtendedLimitEnabled($value); + return $this; + } + + /** + * Sets extended limit code field. + */ + public function extendedLimitCode(?string $value): self + { + $this->instance->setExtendedLimitCode($value); + return $this; + } + + /** + * Sets recurrency cycle field. + */ + public function recurrencyCycle(?string $value): self + { + $this->instance->setRecurrencyCycle($value); + return $this; + } + + /** + * Initializes a new create private label payment request object. + */ + public function build(): CreatePrivateLabelPaymentRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateRecipientRequestBuilder.php b/src/Models/Builders/CreateRecipientRequestBuilder.php new file mode 100644 index 0000000..ae7494d --- /dev/null +++ b/src/Models/Builders/CreateRecipientRequestBuilder.php @@ -0,0 +1,78 @@ +instance = $instance; + } + + /** + * Initializes a new create recipient request Builder object. + */ + public static function init( + string $name, + string $email, + string $description, + string $document, + string $type, + CreateBankAccountRequest $defaultBankAccount, + array $metadata, + string $code, + string $paymentMode + ): self { + return new self(new CreateRecipientRequest( + $name, + $email, + $description, + $document, + $type, + $defaultBankAccount, + $metadata, + $code, + $paymentMode + )); + } + + /** + * Sets transfer settings field. + */ + public function transferSettings(?CreateTransferSettingsRequest $value): self + { + $this->instance->setTransferSettings($value); + return $this; + } + + /** + * Initializes a new create recipient request object. + */ + public function build(): CreateRecipientRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateSetupRequestBuilder.php b/src/Models/Builders/CreateSetupRequestBuilder.php new file mode 100644 index 0000000..0539947 --- /dev/null +++ b/src/Models/Builders/CreateSetupRequestBuilder.php @@ -0,0 +1,49 @@ +instance = $instance; + } + + /** + * Initializes a new create setup request Builder object. + */ + public static function init(int $amount, string $description, CreatePaymentRequest $payment): self + { + return new self(new CreateSetupRequest($amount, $description, $payment)); + } + + /** + * Initializes a new create setup request object. + */ + public function build(): CreateSetupRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateShippingRequestBuilder.php b/src/Models/Builders/CreateShippingRequestBuilder.php new file mode 100644 index 0000000..8afca40 --- /dev/null +++ b/src/Models/Builders/CreateShippingRequestBuilder.php @@ -0,0 +1,82 @@ +instance = $instance; + } + + /** + * Initializes a new create shipping request Builder object. + */ + public static function init( + int $amount, + string $description, + string $recipientName, + string $recipientPhone, + string $addressId, + CreateAddressRequest $address, + string $type + ): self { + return new self(new CreateShippingRequest( + $amount, + $description, + $recipientName, + $recipientPhone, + $addressId, + $address, + $type + )); + } + + /** + * Sets max delivery date field. + */ + public function maxDeliveryDate(?\DateTime $value): self + { + $this->instance->setMaxDeliveryDate($value); + return $this; + } + + /** + * Sets estimated delivery date field. + */ + public function estimatedDeliveryDate(?\DateTime $value): self + { + $this->instance->setEstimatedDeliveryDate($value); + return $this; + } + + /** + * Initializes a new create shipping request object. + */ + public function build(): CreateShippingRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateSplitOptionsRequestBuilder.php b/src/Models/Builders/CreateSplitOptionsRequestBuilder.php new file mode 100644 index 0000000..adc82db --- /dev/null +++ b/src/Models/Builders/CreateSplitOptionsRequestBuilder.php @@ -0,0 +1,75 @@ +instance = $instance; + } + + /** + * Initializes a new create split options request Builder object. + */ + public static function init(): self + { + return new self(new CreateSplitOptionsRequest()); + } + + /** + * Sets liable field. + */ + public function liable(?bool $value): self + { + $this->instance->setLiable($value); + return $this; + } + + /** + * Sets charge processing fee field. + */ + public function chargeProcessingFee(?bool $value): self + { + $this->instance->setChargeProcessingFee($value); + return $this; + } + + /** + * Sets charge remainder fee field. + */ + public function chargeRemainderFee(?bool $value): self + { + $this->instance->setChargeRemainderFee($value); + return $this; + } + + /** + * Initializes a new create split options request object. + */ + public function build(): CreateSplitOptionsRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateSplitRequestBuilder.php b/src/Models/Builders/CreateSplitRequestBuilder.php new file mode 100644 index 0000000..1abfb0e --- /dev/null +++ b/src/Models/Builders/CreateSplitRequestBuilder.php @@ -0,0 +1,67 @@ +instance = $instance; + } + + /** + * Initializes a new create split request Builder object. + */ + public static function init(string $type, int $amount, string $recipientId): self + { + return new self(new CreateSplitRequest($type, $amount, $recipientId)); + } + + /** + * Sets options field. + */ + public function options(?CreateSplitOptionsRequest $value): self + { + $this->instance->setOptions($value); + return $this; + } + + /** + * Sets split rule id field. + */ + public function splitRuleId(?string $value): self + { + $this->instance->setSplitRuleId($value); + return $this; + } + + /** + * Initializes a new create split request object. + */ + public function build(): CreateSplitRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateSubMerchantRequestBuilder.php b/src/Models/Builders/CreateSubMerchantRequestBuilder.php new file mode 100644 index 0000000..3de1e76 --- /dev/null +++ b/src/Models/Builders/CreateSubMerchantRequestBuilder.php @@ -0,0 +1,67 @@ +instance = $instance; + } + + /** + * Initializes a new create sub merchant request Builder object. + */ + public static function init( + string $paymentFacilitatorCode, + string $code, + string $name, + string $merchantCategoryCode, + string $document, + string $type, + CreatePhoneRequest $phone, + CreateAddressRequest $address + ): self { + return new self(new CreateSubMerchantRequest( + $paymentFacilitatorCode, + $code, + $name, + $merchantCategoryCode, + $document, + $type, + $phone, + $address + )); + } + + /** + * Initializes a new create sub merchant request object. + */ + public function build(): CreateSubMerchantRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateSubscriptionBoletoRequestBuilder.php b/src/Models/Builders/CreateSubscriptionBoletoRequestBuilder.php new file mode 100644 index 0000000..b775991 --- /dev/null +++ b/src/Models/Builders/CreateSubscriptionBoletoRequestBuilder.php @@ -0,0 +1,86 @@ +instance = $instance; + } + + /** + * Initializes a new create subscription boleto request Builder object. + */ + public static function init(): self + { + return new self(new CreateSubscriptionBoletoRequest()); + } + + /** + * Sets interest field. + */ + public function interest(?CreateInterestRequest $value): self + { + $this->instance->setInterest($value); + return $this; + } + + /** + * Sets fine field. + */ + public function fine(?CreateFineRequest $value): self + { + $this->instance->setFine($value); + return $this; + } + + /** + * Sets max days to pay past due field. + */ + public function maxDaysToPayPastDue(?int $value): self + { + $this->instance->setMaxDaysToPayPastDue($value); + return $this; + } + + /** + * Unsets max days to pay past due field. + */ + public function unsetMaxDaysToPayPastDue(): self + { + $this->instance->unsetMaxDaysToPayPastDue(); + return $this; + } + + /** + * Initializes a new create subscription boleto request object. + */ + public function build(): CreateSubscriptionBoletoRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateSubscriptionItemRequestBuilder.php b/src/Models/Builders/CreateSubscriptionItemRequestBuilder.php new file mode 100644 index 0000000..4f4b801 --- /dev/null +++ b/src/Models/Builders/CreateSubscriptionItemRequestBuilder.php @@ -0,0 +1,84 @@ +instance = $instance; + } + + /** + * Initializes a new create subscription item request Builder object. + */ + public static function init( + string $description, + CreatePricingSchemeRequest $pricingScheme, + string $id, + string $planItemId, + array $discounts, + string $name + ): self { + return new self( + new CreateSubscriptionItemRequest($description, $pricingScheme, $id, $planItemId, $discounts, $name) + ); + } + + /** + * Sets cycles field. + */ + public function cycles(?int $value): self + { + $this->instance->setCycles($value); + return $this; + } + + /** + * Sets quantity field. + */ + public function quantity(?int $value): self + { + $this->instance->setQuantity($value); + return $this; + } + + /** + * Sets minimum price field. + */ + public function minimumPrice(?int $value): self + { + $this->instance->setMinimumPrice($value); + return $this; + } + + /** + * Initializes a new create subscription item request object. + */ + public function build(): CreateSubscriptionItemRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateSubscriptionRequestBuilder.php b/src/Models/Builders/CreateSubscriptionRequestBuilder.php new file mode 100644 index 0000000..81a27a2 --- /dev/null +++ b/src/Models/Builders/CreateSubscriptionRequestBuilder.php @@ -0,0 +1,243 @@ +instance = $instance; + } + + /** + * Initializes a new create subscription request Builder object. + */ + public static function init( + CreateCustomerRequest $customer, + CreateCardRequest $card, + string $code, + string $paymentMethod, + string $billingType, + string $statementDescriptor, + string $description, + string $currency, + string $interval, + int $intervalCount, + CreatePricingSchemeRequest $pricingScheme, + array $items, + CreateShippingRequest $shipping, + array $discounts, + array $metadata, + array $increments + ): self { + return new self(new CreateSubscriptionRequest( + $customer, + $card, + $code, + $paymentMethod, + $billingType, + $statementDescriptor, + $description, + $currency, + $interval, + $intervalCount, + $pricingScheme, + $items, + $shipping, + $discounts, + $metadata, + $increments + )); + } + + /** + * Sets setup field. + */ + public function setup(?CreateSetupRequest $value): self + { + $this->instance->setSetup($value); + return $this; + } + + /** + * Sets plan id field. + */ + public function planId(?string $value): self + { + $this->instance->setPlanId($value); + return $this; + } + + /** + * Sets customer id field. + */ + public function customerId(?string $value): self + { + $this->instance->setCustomerId($value); + return $this; + } + + /** + * Sets card id field. + */ + public function cardId(?string $value): self + { + $this->instance->setCardId($value); + return $this; + } + + /** + * Sets billing day field. + */ + public function billingDay(?int $value): self + { + $this->instance->setBillingDay($value); + return $this; + } + + /** + * Sets installments field. + */ + public function installments(?int $value): self + { + $this->instance->setInstallments($value); + return $this; + } + + /** + * Sets start at field. + */ + public function startAt(?\DateTime $value): self + { + $this->instance->setStartAt($value); + return $this; + } + + /** + * Sets minimum price field. + */ + public function minimumPrice(?int $value): self + { + $this->instance->setMinimumPrice($value); + return $this; + } + + /** + * Sets cycles field. + */ + public function cycles(?int $value): self + { + $this->instance->setCycles($value); + return $this; + } + + /** + * Sets card token field. + */ + public function cardToken(?string $value): self + { + $this->instance->setCardToken($value); + return $this; + } + + /** + * Sets gateway affiliation id field. + */ + public function gatewayAffiliationId(?string $value): self + { + $this->instance->setGatewayAffiliationId($value); + return $this; + } + + /** + * Sets quantity field. + */ + public function quantity(?int $value): self + { + $this->instance->setQuantity($value); + return $this; + } + + /** + * Sets boleto due days field. + */ + public function boletoDueDays(?int $value): self + { + $this->instance->setBoletoDueDays($value); + return $this; + } + + /** + * Sets period field. + */ + public function period(?CreatePeriodRequest $value): self + { + $this->instance->setPeriod($value); + return $this; + } + + /** + * Sets submerchant field. + */ + public function submerchant(?CreateSubMerchantRequest $value): self + { + $this->instance->setSubmerchant($value); + return $this; + } + + /** + * Sets split field. + */ + public function split(?CreateSubscriptionSplitRequest $value): self + { + $this->instance->setSplit($value); + return $this; + } + + /** + * Sets boleto field. + */ + public function boleto(?CreateSubscriptionBoletoRequest $value): self + { + $this->instance->setBoleto($value); + return $this; + } + + /** + * Initializes a new create subscription request object. + */ + public function build(): CreateSubscriptionRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateSubscriptionSplitRequestBuilder.php b/src/Models/Builders/CreateSubscriptionSplitRequestBuilder.php new file mode 100644 index 0000000..49f015b --- /dev/null +++ b/src/Models/Builders/CreateSubscriptionSplitRequestBuilder.php @@ -0,0 +1,48 @@ +instance = $instance; + } + + /** + * Initializes a new create subscription split request Builder object. + */ + public static function init(bool $enabled, array $rules): self + { + return new self(new CreateSubscriptionSplitRequest($enabled, $rules)); + } + + /** + * Initializes a new create subscription split request object. + */ + public function build(): CreateSubscriptionSplitRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateThreeDSecureRequestBuilder.php b/src/Models/Builders/CreateThreeDSecureRequestBuilder.php new file mode 100644 index 0000000..00a1895 --- /dev/null +++ b/src/Models/Builders/CreateThreeDSecureRequestBuilder.php @@ -0,0 +1,102 @@ +instance = $instance; + } + + /** + * Initializes a new create three dsecure request Builder object. + */ + public static function init(string $mpi): self + { + return new self(new CreateThreeDSecureRequest($mpi)); + } + + /** + * Sets cavv field. + */ + public function cavv(?string $value): self + { + $this->instance->setCavv($value); + return $this; + } + + /** + * Sets eci field. + */ + public function eci(?string $value): self + { + $this->instance->setEci($value); + return $this; + } + + /** + * Sets transaction id field. + */ + public function transactionId(?string $value): self + { + $this->instance->setTransactionId($value); + return $this; + } + + /** + * Sets success url field. + */ + public function successUrl(?string $value): self + { + $this->instance->setSuccessUrl($value); + return $this; + } + + /** + * Sets ds transaction id field. + */ + public function dsTransactionId(?string $value): self + { + $this->instance->setDsTransactionId($value); + return $this; + } + + /** + * Sets version field. + */ + public function version(?string $value): self + { + $this->instance->setVersion($value); + return $this; + } + + /** + * Initializes a new create three dsecure request object. + */ + public function build(): CreateThreeDSecureRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateTokenRequestBuilder.php b/src/Models/Builders/CreateTokenRequestBuilder.php new file mode 100644 index 0000000..f8d612e --- /dev/null +++ b/src/Models/Builders/CreateTokenRequestBuilder.php @@ -0,0 +1,49 @@ +instance = $instance; + } + + /** + * Initializes a new create token request Builder object. + */ + public static function init(string $type, CreateCardTokenRequest $card): self + { + return new self(new CreateTokenRequest($type, $card)); + } + + /** + * Initializes a new create token request object. + */ + public function build(): CreateTokenRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateTransactionReportFileRequestBuilder.php b/src/Models/Builders/CreateTransactionReportFileRequestBuilder.php new file mode 100644 index 0000000..c1fb63a --- /dev/null +++ b/src/Models/Builders/CreateTransactionReportFileRequestBuilder.php @@ -0,0 +1,66 @@ +instance = $instance; + } + + /** + * Initializes a new create transaction report file request Builder object. + */ + public static function init(string $name): self + { + return new self(new CreateTransactionReportFileRequest($name)); + } + + /** + * Sets start at field. + */ + public function startAt(?\DateTime $value): self + { + $this->instance->setStartAt($value); + return $this; + } + + /** + * Sets end at field. + */ + public function endAt(?string $value): self + { + $this->instance->setEndAt($value); + return $this; + } + + /** + * Initializes a new create transaction report file request object. + */ + public function build(): CreateTransactionReportFileRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateTransferBuilder.php b/src/Models/Builders/CreateTransferBuilder.php new file mode 100644 index 0000000..e4fba8f --- /dev/null +++ b/src/Models/Builders/CreateTransferBuilder.php @@ -0,0 +1,57 @@ +instance = $instance; + } + + /** + * Initializes a new create transfer Builder object. + */ + public static function init(int $amount, string $sourceId, string $targetId): self + { + return new self(new CreateTransfer($amount, $sourceId, $targetId)); + } + + /** + * Sets metadata field. + */ + public function metadata(?array $value): self + { + $this->instance->setMetadata($value); + return $this; + } + + /** + * Initializes a new create transfer object. + */ + public function build(): CreateTransfer + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateTransferRequestBuilder.php b/src/Models/Builders/CreateTransferRequestBuilder.php new file mode 100644 index 0000000..1a1647c --- /dev/null +++ b/src/Models/Builders/CreateTransferRequestBuilder.php @@ -0,0 +1,48 @@ +instance = $instance; + } + + /** + * Initializes a new create transfer request Builder object. + */ + public static function init(int $amount, array $metadata): self + { + return new self(new CreateTransferRequest($amount, $metadata)); + } + + /** + * Initializes a new create transfer request object. + */ + public function build(): CreateTransferRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateTransferSettingsRequestBuilder.php b/src/Models/Builders/CreateTransferSettingsRequestBuilder.php new file mode 100644 index 0000000..0cabd0d --- /dev/null +++ b/src/Models/Builders/CreateTransferSettingsRequestBuilder.php @@ -0,0 +1,48 @@ +instance = $instance; + } + + /** + * Initializes a new create transfer settings request Builder object. + */ + public static function init(bool $transferEnabled, string $transferInterval, int $transferDay): self + { + return new self(new CreateTransferSettingsRequest($transferEnabled, $transferInterval, $transferDay)); + } + + /** + * Initializes a new create transfer settings request object. + */ + public function build(): CreateTransferSettingsRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateUsageRequestBuilder.php b/src/Models/Builders/CreateUsageRequestBuilder.php new file mode 100644 index 0000000..baf275c --- /dev/null +++ b/src/Models/Builders/CreateUsageRequestBuilder.php @@ -0,0 +1,75 @@ +instance = $instance; + } + + /** + * Initializes a new create usage request Builder object. + */ + public static function init(int $quantity, string $description, \DateTime $usedAt): self + { + return new self(new CreateUsageRequest($quantity, $description, $usedAt)); + } + + /** + * Sets code field. + */ + public function code(?string $value): self + { + $this->instance->setCode($value); + return $this; + } + + /** + * Sets group field. + */ + public function group(?string $value): self + { + $this->instance->setGroup($value); + return $this; + } + + /** + * Sets amount field. + */ + public function amount(?int $value): self + { + $this->instance->setAmount($value); + return $this; + } + + /** + * Initializes a new create usage request object. + */ + public function build(): CreateUsageRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateVoucherPaymentRequestBuilder.php b/src/Models/Builders/CreateVoucherPaymentRequestBuilder.php new file mode 100644 index 0000000..37d8afd --- /dev/null +++ b/src/Models/Builders/CreateVoucherPaymentRequestBuilder.php @@ -0,0 +1,94 @@ +instance = $instance; + } + + /** + * Initializes a new create voucher payment request Builder object. + */ + public static function init(): self + { + return new self(new CreateVoucherPaymentRequest()); + } + + /** + * Sets statement descriptor field. + */ + public function statementDescriptor(?string $value): self + { + $this->instance->setStatementDescriptor($value); + return $this; + } + + /** + * Sets card id field. + */ + public function cardId(?string $value): self + { + $this->instance->setCardId($value); + return $this; + } + + /** + * Sets card token field. + */ + public function cardToken(?string $value): self + { + $this->instance->setCardToken($value); + return $this; + } + + /** + * Sets card field. + */ + public function card(?CreateCardRequest $value): self + { + $this->instance->setCard($value); + return $this; + } + + /** + * Sets recurrency cycle field. + */ + public function recurrencyCycle(?string $value): self + { + $this->instance->setRecurrencyCycle($value); + return $this; + } + + /** + * Initializes a new create voucher payment request object. + */ + public function build(): CreateVoucherPaymentRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/CreateWithdrawRequestBuilder.php b/src/Models/Builders/CreateWithdrawRequestBuilder.php new file mode 100644 index 0000000..1d6f14c --- /dev/null +++ b/src/Models/Builders/CreateWithdrawRequestBuilder.php @@ -0,0 +1,57 @@ +instance = $instance; + } + + /** + * Initializes a new create withdraw request Builder object. + */ + public static function init(int $amount): self + { + return new self(new CreateWithdrawRequest($amount)); + } + + /** + * Sets metadata field. + */ + public function metadata(?array $value): self + { + $this->instance->setMetadata($value); + return $this; + } + + /** + * Initializes a new create withdraw request object. + */ + public function build(): CreateWithdrawRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetAccessTokenResponseBuilder.php b/src/Models/Builders/GetAccessTokenResponseBuilder.php new file mode 100644 index 0000000..91c13e7 --- /dev/null +++ b/src/Models/Builders/GetAccessTokenResponseBuilder.php @@ -0,0 +1,139 @@ +instance = $instance; + } + + /** + * Initializes a new get access token response Builder object. + */ + public static function init(): self + { + return new self(new GetAccessTokenResponse()); + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets code field. + */ + public function code(?string $value): self + { + $this->instance->setCode($value); + return $this; + } + + /** + * Unsets code field. + */ + public function unsetCode(): self + { + $this->instance->unsetCode(); + return $this; + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Sets created at field. + */ + public function createdAt(?\DateTime $value): self + { + $this->instance->setCreatedAt($value); + return $this; + } + + /** + * Unsets created at field. + */ + public function unsetCreatedAt(): self + { + $this->instance->unsetCreatedAt(); + return $this; + } + + /** + * Sets customer field. + */ + public function customer(?GetCustomerResponse $value): self + { + $this->instance->setCustomer($value); + return $this; + } + + /** + * Unsets customer field. + */ + public function unsetCustomer(): self + { + $this->instance->unsetCustomer(); + return $this; + } + + /** + * Initializes a new get access token response object. + */ + public function build(): GetAccessTokenResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetAddressResponseBuilder.php b/src/Models/Builders/GetAddressResponseBuilder.php new file mode 100644 index 0000000..e87d7aa --- /dev/null +++ b/src/Models/Builders/GetAddressResponseBuilder.php @@ -0,0 +1,355 @@ +instance = $instance; + } + + /** + * Initializes a new get address response Builder object. + */ + public static function init(): self + { + return new self(new GetAddressResponse()); + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets street field. + */ + public function street(?string $value): self + { + $this->instance->setStreet($value); + return $this; + } + + /** + * Unsets street field. + */ + public function unsetStreet(): self + { + $this->instance->unsetStreet(); + return $this; + } + + /** + * Sets number field. + */ + public function number(?string $value): self + { + $this->instance->setNumber($value); + return $this; + } + + /** + * Unsets number field. + */ + public function unsetNumber(): self + { + $this->instance->unsetNumber(); + return $this; + } + + /** + * Sets complement field. + */ + public function complement(?string $value): self + { + $this->instance->setComplement($value); + return $this; + } + + /** + * Unsets complement field. + */ + public function unsetComplement(): self + { + $this->instance->unsetComplement(); + return $this; + } + + /** + * Sets zip code field. + */ + public function zipCode(?string $value): self + { + $this->instance->setZipCode($value); + return $this; + } + + /** + * Unsets zip code field. + */ + public function unsetZipCode(): self + { + $this->instance->unsetZipCode(); + return $this; + } + + /** + * Sets neighborhood field. + */ + public function neighborhood(?string $value): self + { + $this->instance->setNeighborhood($value); + return $this; + } + + /** + * Unsets neighborhood field. + */ + public function unsetNeighborhood(): self + { + $this->instance->unsetNeighborhood(); + return $this; + } + + /** + * Sets city field. + */ + public function city(?string $value): self + { + $this->instance->setCity($value); + return $this; + } + + /** + * Unsets city field. + */ + public function unsetCity(): self + { + $this->instance->unsetCity(); + return $this; + } + + /** + * Sets state field. + */ + public function state(?string $value): self + { + $this->instance->setState($value); + return $this; + } + + /** + * Unsets state field. + */ + public function unsetState(): self + { + $this->instance->unsetState(); + return $this; + } + + /** + * Sets country field. + */ + public function country(?string $value): self + { + $this->instance->setCountry($value); + return $this; + } + + /** + * Unsets country field. + */ + public function unsetCountry(): self + { + $this->instance->unsetCountry(); + return $this; + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Sets created at field. + */ + public function createdAt(?\DateTime $value): self + { + $this->instance->setCreatedAt($value); + return $this; + } + + /** + * Unsets created at field. + */ + public function unsetCreatedAt(): self + { + $this->instance->unsetCreatedAt(); + return $this; + } + + /** + * Sets updated at field. + */ + public function updatedAt(?\DateTime $value): self + { + $this->instance->setUpdatedAt($value); + return $this; + } + + /** + * Unsets updated at field. + */ + public function unsetUpdatedAt(): self + { + $this->instance->unsetUpdatedAt(); + return $this; + } + + /** + * Sets customer field. + */ + public function customer(?GetCustomerResponse $value): self + { + $this->instance->setCustomer($value); + return $this; + } + + /** + * Unsets customer field. + */ + public function unsetCustomer(): self + { + $this->instance->unsetCustomer(); + return $this; + } + + /** + * Sets metadata field. + */ + public function metadata(?array $value): self + { + $this->instance->setMetadata($value); + return $this; + } + + /** + * Unsets metadata field. + */ + public function unsetMetadata(): self + { + $this->instance->unsetMetadata(); + return $this; + } + + /** + * Sets line 1 field. + */ + public function line1(?string $value): self + { + $this->instance->setLine1($value); + return $this; + } + + /** + * Unsets line 1 field. + */ + public function unsetLine1(): self + { + $this->instance->unsetLine1(); + return $this; + } + + /** + * Sets line 2 field. + */ + public function line2(?string $value): self + { + $this->instance->setLine2($value); + return $this; + } + + /** + * Unsets line 2 field. + */ + public function unsetLine2(): self + { + $this->instance->unsetLine2(); + return $this; + } + + /** + * Sets deleted at field. + */ + public function deletedAt(?\DateTime $value): self + { + $this->instance->setDeletedAt($value); + return $this; + } + + /** + * Unsets deleted at field. + */ + public function unsetDeletedAt(): self + { + $this->instance->unsetDeletedAt(); + return $this; + } + + /** + * Initializes a new get address response object. + */ + public function build(): GetAddressResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetAnticipationLimitResponseBuilder.php b/src/Models/Builders/GetAnticipationLimitResponseBuilder.php new file mode 100644 index 0000000..8fa2e40 --- /dev/null +++ b/src/Models/Builders/GetAnticipationLimitResponseBuilder.php @@ -0,0 +1,84 @@ +instance = $instance; + } + + /** + * Initializes a new get anticipation limit response Builder object. + */ + public static function init(): self + { + return new self(new GetAnticipationLimitResponse()); + } + + /** + * Sets amount field. + */ + public function amount(?int $value): self + { + $this->instance->setAmount($value); + return $this; + } + + /** + * Unsets amount field. + */ + public function unsetAmount(): self + { + $this->instance->unsetAmount(); + return $this; + } + + /** + * Sets anticipation fee field. + */ + public function anticipationFee(?int $value): self + { + $this->instance->setAnticipationFee($value); + return $this; + } + + /** + * Unsets anticipation fee field. + */ + public function unsetAnticipationFee(): self + { + $this->instance->unsetAnticipationFee(); + return $this; + } + + /** + * Initializes a new get anticipation limit response object. + */ + public function build(): GetAnticipationLimitResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetAnticipationLimitsResponseBuilder.php b/src/Models/Builders/GetAnticipationLimitsResponseBuilder.php new file mode 100644 index 0000000..cbbeddb --- /dev/null +++ b/src/Models/Builders/GetAnticipationLimitsResponseBuilder.php @@ -0,0 +1,85 @@ +instance = $instance; + } + + /** + * Initializes a new get anticipation limits response Builder object. + */ + public static function init(): self + { + return new self(new GetAnticipationLimitsResponse()); + } + + /** + * Sets max field. + */ + public function max(?GetAnticipationLimitResponse $value): self + { + $this->instance->setMax($value); + return $this; + } + + /** + * Unsets max field. + */ + public function unsetMax(): self + { + $this->instance->unsetMax(); + return $this; + } + + /** + * Sets min field. + */ + public function min(?GetAnticipationLimitResponse $value): self + { + $this->instance->setMin($value); + return $this; + } + + /** + * Unsets min field. + */ + public function unsetMin(): self + { + $this->instance->unsetMin(); + return $this; + } + + /** + * Initializes a new get anticipation limits response object. + */ + public function build(): GetAnticipationLimitsResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetAnticipationResponseBuilder.php b/src/Models/Builders/GetAnticipationResponseBuilder.php new file mode 100644 index 0000000..a5f69c4 --- /dev/null +++ b/src/Models/Builders/GetAnticipationResponseBuilder.php @@ -0,0 +1,229 @@ +instance = $instance; + } + + /** + * Initializes a new get anticipation response Builder object. + */ + public static function init(): self + { + return new self(new GetAnticipationResponse()); + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets requested amount field. + */ + public function requestedAmount(?int $value): self + { + $this->instance->setRequestedAmount($value); + return $this; + } + + /** + * Unsets requested amount field. + */ + public function unsetRequestedAmount(): self + { + $this->instance->unsetRequestedAmount(); + return $this; + } + + /** + * Sets approved amount field. + */ + public function approvedAmount(?int $value): self + { + $this->instance->setApprovedAmount($value); + return $this; + } + + /** + * Unsets approved amount field. + */ + public function unsetApprovedAmount(): self + { + $this->instance->unsetApprovedAmount(); + return $this; + } + + /** + * Sets recipient field. + */ + public function recipient(?GetRecipientResponse $value): self + { + $this->instance->setRecipient($value); + return $this; + } + + /** + * Unsets recipient field. + */ + public function unsetRecipient(): self + { + $this->instance->unsetRecipient(); + return $this; + } + + /** + * Sets pgid field. + */ + public function pgid(?string $value): self + { + $this->instance->setPgid($value); + return $this; + } + + /** + * Unsets pgid field. + */ + public function unsetPgid(): self + { + $this->instance->unsetPgid(); + return $this; + } + + /** + * Sets created at field. + */ + public function createdAt(?\DateTime $value): self + { + $this->instance->setCreatedAt($value); + return $this; + } + + /** + * Unsets created at field. + */ + public function unsetCreatedAt(): self + { + $this->instance->unsetCreatedAt(); + return $this; + } + + /** + * Sets updated at field. + */ + public function updatedAt(?\DateTime $value): self + { + $this->instance->setUpdatedAt($value); + return $this; + } + + /** + * Unsets updated at field. + */ + public function unsetUpdatedAt(): self + { + $this->instance->unsetUpdatedAt(); + return $this; + } + + /** + * Sets payment date field. + */ + public function paymentDate(?\DateTime $value): self + { + $this->instance->setPaymentDate($value); + return $this; + } + + /** + * Unsets payment date field. + */ + public function unsetPaymentDate(): self + { + $this->instance->unsetPaymentDate(); + return $this; + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Sets timeframe field. + */ + public function timeframe(?string $value): self + { + $this->instance->setTimeframe($value); + return $this; + } + + /** + * Unsets timeframe field. + */ + public function unsetTimeframe(): self + { + $this->instance->unsetTimeframe(); + return $this; + } + + /** + * Initializes a new get anticipation response object. + */ + public function build(): GetAnticipationResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetAntifraudResponseBuilder.php b/src/Models/Builders/GetAntifraudResponseBuilder.php new file mode 100644 index 0000000..d65e786 --- /dev/null +++ b/src/Models/Builders/GetAntifraudResponseBuilder.php @@ -0,0 +1,138 @@ +instance = $instance; + } + + /** + * Initializes a new get antifraud response Builder object. + */ + public static function init(): self + { + return new self(new GetAntifraudResponse()); + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Sets return code field. + */ + public function returnCode(?string $value): self + { + $this->instance->setReturnCode($value); + return $this; + } + + /** + * Unsets return code field. + */ + public function unsetReturnCode(): self + { + $this->instance->unsetReturnCode(); + return $this; + } + + /** + * Sets return message field. + */ + public function returnMessage(?string $value): self + { + $this->instance->setReturnMessage($value); + return $this; + } + + /** + * Unsets return message field. + */ + public function unsetReturnMessage(): self + { + $this->instance->unsetReturnMessage(); + return $this; + } + + /** + * Sets provider name field. + */ + public function providerName(?string $value): self + { + $this->instance->setProviderName($value); + return $this; + } + + /** + * Unsets provider name field. + */ + public function unsetProviderName(): self + { + $this->instance->unsetProviderName(); + return $this; + } + + /** + * Sets score field. + */ + public function score(?string $value): self + { + $this->instance->setScore($value); + return $this; + } + + /** + * Unsets score field. + */ + public function unsetScore(): self + { + $this->instance->unsetScore(); + return $this; + } + + /** + * Initializes a new get antifraud response object. + */ + public function build(): GetAntifraudResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetAutomaticAnticipationResponseBuilder.php b/src/Models/Builders/GetAutomaticAnticipationResponseBuilder.php new file mode 100644 index 0000000..04d0e38 --- /dev/null +++ b/src/Models/Builders/GetAutomaticAnticipationResponseBuilder.php @@ -0,0 +1,138 @@ +instance = $instance; + } + + /** + * Initializes a new get automatic anticipation response Builder object. + */ + public static function init(): self + { + return new self(new GetAutomaticAnticipationResponse()); + } + + /** + * Sets enabled field. + */ + public function enabled(?bool $value): self + { + $this->instance->setEnabled($value); + return $this; + } + + /** + * Unsets enabled field. + */ + public function unsetEnabled(): self + { + $this->instance->unsetEnabled(); + return $this; + } + + /** + * Sets type field. + */ + public function type(?string $value): self + { + $this->instance->setType($value); + return $this; + } + + /** + * Unsets type field. + */ + public function unsetType(): self + { + $this->instance->unsetType(); + return $this; + } + + /** + * Sets volume percentage field. + */ + public function volumePercentage(?int $value): self + { + $this->instance->setVolumePercentage($value); + return $this; + } + + /** + * Unsets volume percentage field. + */ + public function unsetVolumePercentage(): self + { + $this->instance->unsetVolumePercentage(); + return $this; + } + + /** + * Sets delay field. + */ + public function delay(?int $value): self + { + $this->instance->setDelay($value); + return $this; + } + + /** + * Unsets delay field. + */ + public function unsetDelay(): self + { + $this->instance->unsetDelay(); + return $this; + } + + /** + * Sets days field. + */ + public function days(?array $value): self + { + $this->instance->setDays($value); + return $this; + } + + /** + * Unsets days field. + */ + public function unsetDays(): self + { + $this->instance->unsetDays(); + return $this; + } + + /** + * Initializes a new get automatic anticipation response object. + */ + public function build(): GetAutomaticAnticipationResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetBalanceResponseBuilder.php b/src/Models/Builders/GetBalanceResponseBuilder.php new file mode 100644 index 0000000..0d5f95d --- /dev/null +++ b/src/Models/Builders/GetBalanceResponseBuilder.php @@ -0,0 +1,139 @@ +instance = $instance; + } + + /** + * Initializes a new get balance response Builder object. + */ + public static function init(): self + { + return new self(new GetBalanceResponse()); + } + + /** + * Sets currency field. + */ + public function currency(?string $value): self + { + $this->instance->setCurrency($value); + return $this; + } + + /** + * Unsets currency field. + */ + public function unsetCurrency(): self + { + $this->instance->unsetCurrency(); + return $this; + } + + /** + * Sets available amount field. + */ + public function availableAmount(?int $value): self + { + $this->instance->setAvailableAmount($value); + return $this; + } + + /** + * Unsets available amount field. + */ + public function unsetAvailableAmount(): self + { + $this->instance->unsetAvailableAmount(); + return $this; + } + + /** + * Sets recipient field. + */ + public function recipient(?GetRecipientResponse $value): self + { + $this->instance->setRecipient($value); + return $this; + } + + /** + * Unsets recipient field. + */ + public function unsetRecipient(): self + { + $this->instance->unsetRecipient(); + return $this; + } + + /** + * Sets transferred amount field. + */ + public function transferredAmount(?int $value): self + { + $this->instance->setTransferredAmount($value); + return $this; + } + + /** + * Unsets transferred amount field. + */ + public function unsetTransferredAmount(): self + { + $this->instance->unsetTransferredAmount(); + return $this; + } + + /** + * Sets waiting funds amount field. + */ + public function waitingFundsAmount(?int $value): self + { + $this->instance->setWaitingFundsAmount($value); + return $this; + } + + /** + * Unsets waiting funds amount field. + */ + public function unsetWaitingFundsAmount(): self + { + $this->instance->unsetWaitingFundsAmount(); + return $this; + } + + /** + * Initializes a new get balance response object. + */ + public function build(): GetBalanceResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetBankAccountResponseBuilder.php b/src/Models/Builders/GetBankAccountResponseBuilder.php new file mode 100644 index 0000000..8cc3326 --- /dev/null +++ b/src/Models/Builders/GetBankAccountResponseBuilder.php @@ -0,0 +1,337 @@ +instance = $instance; + } + + /** + * Initializes a new get bank account response Builder object. + */ + public static function init(): self + { + return new self(new GetBankAccountResponse()); + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets holder name field. + */ + public function holderName(?string $value): self + { + $this->instance->setHolderName($value); + return $this; + } + + /** + * Unsets holder name field. + */ + public function unsetHolderName(): self + { + $this->instance->unsetHolderName(); + return $this; + } + + /** + * Sets holder type field. + */ + public function holderType(?string $value): self + { + $this->instance->setHolderType($value); + return $this; + } + + /** + * Unsets holder type field. + */ + public function unsetHolderType(): self + { + $this->instance->unsetHolderType(); + return $this; + } + + /** + * Sets bank field. + */ + public function bank(?string $value): self + { + $this->instance->setBank($value); + return $this; + } + + /** + * Unsets bank field. + */ + public function unsetBank(): self + { + $this->instance->unsetBank(); + return $this; + } + + /** + * Sets branch number field. + */ + public function branchNumber(?string $value): self + { + $this->instance->setBranchNumber($value); + return $this; + } + + /** + * Unsets branch number field. + */ + public function unsetBranchNumber(): self + { + $this->instance->unsetBranchNumber(); + return $this; + } + + /** + * Sets branch check digit field. + */ + public function branchCheckDigit(?string $value): self + { + $this->instance->setBranchCheckDigit($value); + return $this; + } + + /** + * Unsets branch check digit field. + */ + public function unsetBranchCheckDigit(): self + { + $this->instance->unsetBranchCheckDigit(); + return $this; + } + + /** + * Sets account number field. + */ + public function accountNumber(?string $value): self + { + $this->instance->setAccountNumber($value); + return $this; + } + + /** + * Unsets account number field. + */ + public function unsetAccountNumber(): self + { + $this->instance->unsetAccountNumber(); + return $this; + } + + /** + * Sets account check digit field. + */ + public function accountCheckDigit(?string $value): self + { + $this->instance->setAccountCheckDigit($value); + return $this; + } + + /** + * Unsets account check digit field. + */ + public function unsetAccountCheckDigit(): self + { + $this->instance->unsetAccountCheckDigit(); + return $this; + } + + /** + * Sets type field. + */ + public function type(?string $value): self + { + $this->instance->setType($value); + return $this; + } + + /** + * Unsets type field. + */ + public function unsetType(): self + { + $this->instance->unsetType(); + return $this; + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Sets created at field. + */ + public function createdAt(?\DateTime $value): self + { + $this->instance->setCreatedAt($value); + return $this; + } + + /** + * Unsets created at field. + */ + public function unsetCreatedAt(): self + { + $this->instance->unsetCreatedAt(); + return $this; + } + + /** + * Sets updated at field. + */ + public function updatedAt(?\DateTime $value): self + { + $this->instance->setUpdatedAt($value); + return $this; + } + + /** + * Unsets updated at field. + */ + public function unsetUpdatedAt(): self + { + $this->instance->unsetUpdatedAt(); + return $this; + } + + /** + * Sets deleted at field. + */ + public function deletedAt(?\DateTime $value): self + { + $this->instance->setDeletedAt($value); + return $this; + } + + /** + * Unsets deleted at field. + */ + public function unsetDeletedAt(): self + { + $this->instance->unsetDeletedAt(); + return $this; + } + + /** + * Sets recipient field. + */ + public function recipient(?GetRecipientResponse $value): self + { + $this->instance->setRecipient($value); + return $this; + } + + /** + * Unsets recipient field. + */ + public function unsetRecipient(): self + { + $this->instance->unsetRecipient(); + return $this; + } + + /** + * Sets metadata field. + */ + public function metadata(?array $value): self + { + $this->instance->setMetadata($value); + return $this; + } + + /** + * Unsets metadata field. + */ + public function unsetMetadata(): self + { + $this->instance->unsetMetadata(); + return $this; + } + + /** + * Sets pix key field. + */ + public function pixKey(?string $value): self + { + $this->instance->setPixKey($value); + return $this; + } + + /** + * Unsets pix key field. + */ + public function unsetPixKey(): self + { + $this->instance->unsetPixKey(); + return $this; + } + + /** + * Initializes a new get bank account response object. + */ + public function build(): GetBankAccountResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetBankTransferTransactionResponseBuilder.php b/src/Models/Builders/GetBankTransferTransactionResponseBuilder.php new file mode 100644 index 0000000..7849aa2 --- /dev/null +++ b/src/Models/Builders/GetBankTransferTransactionResponseBuilder.php @@ -0,0 +1,430 @@ +instance = $instance; + } + + /** + * Initializes a new get bank transfer transaction response Builder object. + */ + public static function init(): self + { + return new self(new GetBankTransferTransactionResponse()); + } + + /** + * Sets gateway id field. + */ + public function gatewayId(?string $value): self + { + $this->instance->setGatewayId($value); + return $this; + } + + /** + * Unsets gateway id field. + */ + public function unsetGatewayId(): self + { + $this->instance->unsetGatewayId(); + return $this; + } + + /** + * Sets amount field. + */ + public function amount(?int $value): self + { + $this->instance->setAmount($value); + return $this; + } + + /** + * Unsets amount field. + */ + public function unsetAmount(): self + { + $this->instance->unsetAmount(); + return $this; + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Sets success field. + */ + public function success(?bool $value): self + { + $this->instance->setSuccess($value); + return $this; + } + + /** + * Unsets success field. + */ + public function unsetSuccess(): self + { + $this->instance->unsetSuccess(); + return $this; + } + + /** + * Sets created at field. + */ + public function createdAt(?\DateTime $value): self + { + $this->instance->setCreatedAt($value); + return $this; + } + + /** + * Unsets created at field. + */ + public function unsetCreatedAt(): self + { + $this->instance->unsetCreatedAt(); + return $this; + } + + /** + * Sets updated at field. + */ + public function updatedAt(?\DateTime $value): self + { + $this->instance->setUpdatedAt($value); + return $this; + } + + /** + * Unsets updated at field. + */ + public function unsetUpdatedAt(): self + { + $this->instance->unsetUpdatedAt(); + return $this; + } + + /** + * Sets attempt count field. + */ + public function attemptCount(?int $value): self + { + $this->instance->setAttemptCount($value); + return $this; + } + + /** + * Unsets attempt count field. + */ + public function unsetAttemptCount(): self + { + $this->instance->unsetAttemptCount(); + return $this; + } + + /** + * Sets max attempts field. + */ + public function maxAttempts(?int $value): self + { + $this->instance->setMaxAttempts($value); + return $this; + } + + /** + * Unsets max attempts field. + */ + public function unsetMaxAttempts(): self + { + $this->instance->unsetMaxAttempts(); + return $this; + } + + /** + * Sets splits field. + */ + public function splits(?array $value): self + { + $this->instance->setSplits($value); + return $this; + } + + /** + * Unsets splits field. + */ + public function unsetSplits(): self + { + $this->instance->unsetSplits(); + return $this; + } + + /** + * Sets next attempt field. + */ + public function nextAttempt(?\DateTime $value): self + { + $this->instance->setNextAttempt($value); + return $this; + } + + /** + * Unsets next attempt field. + */ + public function unsetNextAttempt(): self + { + $this->instance->unsetNextAttempt(); + return $this; + } + + /** + * Sets transaction type field. + */ + public function transactionType(?string $value): self + { + $this->instance->setTransactionType($value); + return $this; + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets gateway response field. + */ + public function gatewayResponse(?GetGatewayResponseResponse $value): self + { + $this->instance->setGatewayResponse($value); + return $this; + } + + /** + * Unsets gateway response field. + */ + public function unsetGatewayResponse(): self + { + $this->instance->unsetGatewayResponse(); + return $this; + } + + /** + * Sets antifraud response field. + */ + public function antifraudResponse(?GetAntifraudResponse $value): self + { + $this->instance->setAntifraudResponse($value); + return $this; + } + + /** + * Unsets antifraud response field. + */ + public function unsetAntifraudResponse(): self + { + $this->instance->unsetAntifraudResponse(); + return $this; + } + + /** + * Sets metadata field. + */ + public function metadata(?array $value): self + { + $this->instance->setMetadata($value); + return $this; + } + + /** + * Unsets metadata field. + */ + public function unsetMetadata(): self + { + $this->instance->unsetMetadata(); + return $this; + } + + /** + * Sets split field. + */ + public function split(?array $value): self + { + $this->instance->setSplit($value); + return $this; + } + + /** + * Unsets split field. + */ + public function unsetSplit(): self + { + $this->instance->unsetSplit(); + return $this; + } + + /** + * Sets interest field. + */ + public function interest(?GetInterestResponse $value): self + { + $this->instance->setInterest($value); + return $this; + } + + /** + * Unsets interest field. + */ + public function unsetInterest(): self + { + $this->instance->unsetInterest(); + return $this; + } + + /** + * Sets fine field. + */ + public function fine(?GetFineResponse $value): self + { + $this->instance->setFine($value); + return $this; + } + + /** + * Unsets fine field. + */ + public function unsetFine(): self + { + $this->instance->unsetFine(); + return $this; + } + + /** + * Sets max days to pay past due field. + */ + public function maxDaysToPayPastDue(?int $value): self + { + $this->instance->setMaxDaysToPayPastDue($value); + return $this; + } + + /** + * Unsets max days to pay past due field. + */ + public function unsetMaxDaysToPayPastDue(): self + { + $this->instance->unsetMaxDaysToPayPastDue(); + return $this; + } + + /** + * Sets url field. + */ + public function url(?string $value): self + { + $this->instance->setUrl($value); + return $this; + } + + /** + * Sets bank tid field. + */ + public function bankTid(?string $value): self + { + $this->instance->setBankTid($value); + return $this; + } + + /** + * Sets bank field. + */ + public function bank(?string $value): self + { + $this->instance->setBank($value); + return $this; + } + + /** + * Sets paid at field. + */ + public function paidAt(?\DateTime $value): self + { + $this->instance->setPaidAt($value); + return $this; + } + + /** + * Sets paid amount field. + */ + public function paidAmount(?int $value): self + { + $this->instance->setPaidAmount($value); + return $this; + } + + /** + * Initializes a new get bank transfer transaction response object. + */ + public function build(): GetBankTransferTransactionResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetBillingAddressResponseBuilder.php b/src/Models/Builders/GetBillingAddressResponseBuilder.php new file mode 100644 index 0000000..52f6140 --- /dev/null +++ b/src/Models/Builders/GetBillingAddressResponseBuilder.php @@ -0,0 +1,228 @@ +instance = $instance; + } + + /** + * Initializes a new get billing address response Builder object. + */ + public static function init(): self + { + return new self(new GetBillingAddressResponse()); + } + + /** + * Sets street field. + */ + public function street(?string $value): self + { + $this->instance->setStreet($value); + return $this; + } + + /** + * Unsets street field. + */ + public function unsetStreet(): self + { + $this->instance->unsetStreet(); + return $this; + } + + /** + * Sets number field. + */ + public function number(?string $value): self + { + $this->instance->setNumber($value); + return $this; + } + + /** + * Unsets number field. + */ + public function unsetNumber(): self + { + $this->instance->unsetNumber(); + return $this; + } + + /** + * Sets zip code field. + */ + public function zipCode(?string $value): self + { + $this->instance->setZipCode($value); + return $this; + } + + /** + * Unsets zip code field. + */ + public function unsetZipCode(): self + { + $this->instance->unsetZipCode(); + return $this; + } + + /** + * Sets neighborhood field. + */ + public function neighborhood(?string $value): self + { + $this->instance->setNeighborhood($value); + return $this; + } + + /** + * Unsets neighborhood field. + */ + public function unsetNeighborhood(): self + { + $this->instance->unsetNeighborhood(); + return $this; + } + + /** + * Sets city field. + */ + public function city(?string $value): self + { + $this->instance->setCity($value); + return $this; + } + + /** + * Unsets city field. + */ + public function unsetCity(): self + { + $this->instance->unsetCity(); + return $this; + } + + /** + * Sets state field. + */ + public function state(?string $value): self + { + $this->instance->setState($value); + return $this; + } + + /** + * Unsets state field. + */ + public function unsetState(): self + { + $this->instance->unsetState(); + return $this; + } + + /** + * Sets country field. + */ + public function country(?string $value): self + { + $this->instance->setCountry($value); + return $this; + } + + /** + * Unsets country field. + */ + public function unsetCountry(): self + { + $this->instance->unsetCountry(); + return $this; + } + + /** + * Sets complement field. + */ + public function complement(?string $value): self + { + $this->instance->setComplement($value); + return $this; + } + + /** + * Unsets complement field. + */ + public function unsetComplement(): self + { + $this->instance->unsetComplement(); + return $this; + } + + /** + * Sets line 1 field. + */ + public function line1(?string $value): self + { + $this->instance->setLine1($value); + return $this; + } + + /** + * Unsets line 1 field. + */ + public function unsetLine1(): self + { + $this->instance->unsetLine1(); + return $this; + } + + /** + * Sets line 2 field. + */ + public function line2(?string $value): self + { + $this->instance->setLine2($value); + return $this; + } + + /** + * Unsets line 2 field. + */ + public function unsetLine2(): self + { + $this->instance->unsetLine2(); + return $this; + } + + /** + * Initializes a new get billing address response object. + */ + public function build(): GetBillingAddressResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetBoletoTransactionResponseBuilder.php b/src/Models/Builders/GetBoletoTransactionResponseBuilder.php new file mode 100644 index 0000000..5b96531 --- /dev/null +++ b/src/Models/Builders/GetBoletoTransactionResponseBuilder.php @@ -0,0 +1,692 @@ +instance = $instance; + } + + /** + * Initializes a new get boleto transaction response Builder object. + */ + public static function init(): self + { + return new self(new GetBoletoTransactionResponse()); + } + + /** + * Sets gateway id field. + */ + public function gatewayId(?string $value): self + { + $this->instance->setGatewayId($value); + return $this; + } + + /** + * Unsets gateway id field. + */ + public function unsetGatewayId(): self + { + $this->instance->unsetGatewayId(); + return $this; + } + + /** + * Sets amount field. + */ + public function amount(?int $value): self + { + $this->instance->setAmount($value); + return $this; + } + + /** + * Unsets amount field. + */ + public function unsetAmount(): self + { + $this->instance->unsetAmount(); + return $this; + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Sets success field. + */ + public function success(?bool $value): self + { + $this->instance->setSuccess($value); + return $this; + } + + /** + * Unsets success field. + */ + public function unsetSuccess(): self + { + $this->instance->unsetSuccess(); + return $this; + } + + /** + * Sets created at field. + */ + public function createdAt(?\DateTime $value): self + { + $this->instance->setCreatedAt($value); + return $this; + } + + /** + * Unsets created at field. + */ + public function unsetCreatedAt(): self + { + $this->instance->unsetCreatedAt(); + return $this; + } + + /** + * Sets updated at field. + */ + public function updatedAt(?\DateTime $value): self + { + $this->instance->setUpdatedAt($value); + return $this; + } + + /** + * Unsets updated at field. + */ + public function unsetUpdatedAt(): self + { + $this->instance->unsetUpdatedAt(); + return $this; + } + + /** + * Sets attempt count field. + */ + public function attemptCount(?int $value): self + { + $this->instance->setAttemptCount($value); + return $this; + } + + /** + * Unsets attempt count field. + */ + public function unsetAttemptCount(): self + { + $this->instance->unsetAttemptCount(); + return $this; + } + + /** + * Sets max attempts field. + */ + public function maxAttempts(?int $value): self + { + $this->instance->setMaxAttempts($value); + return $this; + } + + /** + * Unsets max attempts field. + */ + public function unsetMaxAttempts(): self + { + $this->instance->unsetMaxAttempts(); + return $this; + } + + /** + * Sets splits field. + */ + public function splits(?array $value): self + { + $this->instance->setSplits($value); + return $this; + } + + /** + * Unsets splits field. + */ + public function unsetSplits(): self + { + $this->instance->unsetSplits(); + return $this; + } + + /** + * Sets next attempt field. + */ + public function nextAttempt(?\DateTime $value): self + { + $this->instance->setNextAttempt($value); + return $this; + } + + /** + * Unsets next attempt field. + */ + public function unsetNextAttempt(): self + { + $this->instance->unsetNextAttempt(); + return $this; + } + + /** + * Sets transaction type field. + */ + public function transactionType(?string $value): self + { + $this->instance->setTransactionType($value); + return $this; + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets gateway response field. + */ + public function gatewayResponse(?GetGatewayResponseResponse $value): self + { + $this->instance->setGatewayResponse($value); + return $this; + } + + /** + * Unsets gateway response field. + */ + public function unsetGatewayResponse(): self + { + $this->instance->unsetGatewayResponse(); + return $this; + } + + /** + * Sets antifraud response field. + */ + public function antifraudResponse(?GetAntifraudResponse $value): self + { + $this->instance->setAntifraudResponse($value); + return $this; + } + + /** + * Unsets antifraud response field. + */ + public function unsetAntifraudResponse(): self + { + $this->instance->unsetAntifraudResponse(); + return $this; + } + + /** + * Sets metadata field. + */ + public function metadata(?array $value): self + { + $this->instance->setMetadata($value); + return $this; + } + + /** + * Unsets metadata field. + */ + public function unsetMetadata(): self + { + $this->instance->unsetMetadata(); + return $this; + } + + /** + * Sets split field. + */ + public function split(?array $value): self + { + $this->instance->setSplit($value); + return $this; + } + + /** + * Unsets split field. + */ + public function unsetSplit(): self + { + $this->instance->unsetSplit(); + return $this; + } + + /** + * Sets interest field. + */ + public function interest(?GetInterestResponse $value): self + { + $this->instance->setInterest($value); + return $this; + } + + /** + * Unsets interest field. + */ + public function unsetInterest(): self + { + $this->instance->unsetInterest(); + return $this; + } + + /** + * Sets fine field. + */ + public function fine(?GetFineResponse $value): self + { + $this->instance->setFine($value); + return $this; + } + + /** + * Unsets fine field. + */ + public function unsetFine(): self + { + $this->instance->unsetFine(); + return $this; + } + + /** + * Sets max days to pay past due field. + */ + public function maxDaysToPayPastDue(?int $value): self + { + $this->instance->setMaxDaysToPayPastDue($value); + return $this; + } + + /** + * Unsets max days to pay past due field. + */ + public function unsetMaxDaysToPayPastDue(): self + { + $this->instance->unsetMaxDaysToPayPastDue(); + return $this; + } + + /** + * Sets url field. + */ + public function url(?string $value): self + { + $this->instance->setUrl($value); + return $this; + } + + /** + * Unsets url field. + */ + public function unsetUrl(): self + { + $this->instance->unsetUrl(); + return $this; + } + + /** + * Sets barcode field. + */ + public function barcode(?string $value): self + { + $this->instance->setBarcode($value); + return $this; + } + + /** + * Unsets barcode field. + */ + public function unsetBarcode(): self + { + $this->instance->unsetBarcode(); + return $this; + } + + /** + * Sets nosso numero field. + */ + public function nossoNumero(?string $value): self + { + $this->instance->setNossoNumero($value); + return $this; + } + + /** + * Unsets nosso numero field. + */ + public function unsetNossoNumero(): self + { + $this->instance->unsetNossoNumero(); + return $this; + } + + /** + * Sets bank field. + */ + public function bank(?string $value): self + { + $this->instance->setBank($value); + return $this; + } + + /** + * Unsets bank field. + */ + public function unsetBank(): self + { + $this->instance->unsetBank(); + return $this; + } + + /** + * Sets document number field. + */ + public function documentNumber(?string $value): self + { + $this->instance->setDocumentNumber($value); + return $this; + } + + /** + * Unsets document number field. + */ + public function unsetDocumentNumber(): self + { + $this->instance->unsetDocumentNumber(); + return $this; + } + + /** + * Sets instructions field. + */ + public function instructions(?string $value): self + { + $this->instance->setInstructions($value); + return $this; + } + + /** + * Unsets instructions field. + */ + public function unsetInstructions(): self + { + $this->instance->unsetInstructions(); + return $this; + } + + /** + * Sets billing address field. + */ + public function billingAddress(?GetBillingAddressResponse $value): self + { + $this->instance->setBillingAddress($value); + return $this; + } + + /** + * Unsets billing address field. + */ + public function unsetBillingAddress(): self + { + $this->instance->unsetBillingAddress(); + return $this; + } + + /** + * Sets due at field. + */ + public function dueAt(?\DateTime $value): self + { + $this->instance->setDueAt($value); + return $this; + } + + /** + * Unsets due at field. + */ + public function unsetDueAt(): self + { + $this->instance->unsetDueAt(); + return $this; + } + + /** + * Sets qr code field. + */ + public function qrCode(?string $value): self + { + $this->instance->setQrCode($value); + return $this; + } + + /** + * Unsets qr code field. + */ + public function unsetQrCode(): self + { + $this->instance->unsetQrCode(); + return $this; + } + + /** + * Sets line field. + */ + public function line(?string $value): self + { + $this->instance->setLine($value); + return $this; + } + + /** + * Unsets line field. + */ + public function unsetLine(): self + { + $this->instance->unsetLine(); + return $this; + } + + /** + * Sets pdf password field. + */ + public function pdfPassword(?string $value): self + { + $this->instance->setPdfPassword($value); + return $this; + } + + /** + * Unsets pdf password field. + */ + public function unsetPdfPassword(): self + { + $this->instance->unsetPdfPassword(); + return $this; + } + + /** + * Sets pdf field. + */ + public function pdf(?string $value): self + { + $this->instance->setPdf($value); + return $this; + } + + /** + * Unsets pdf field. + */ + public function unsetPdf(): self + { + $this->instance->unsetPdf(); + return $this; + } + + /** + * Sets paid at field. + */ + public function paidAt(?\DateTime $value): self + { + $this->instance->setPaidAt($value); + return $this; + } + + /** + * Unsets paid at field. + */ + public function unsetPaidAt(): self + { + $this->instance->unsetPaidAt(); + return $this; + } + + /** + * Sets paid amount field. + */ + public function paidAmount(?string $value): self + { + $this->instance->setPaidAmount($value); + return $this; + } + + /** + * Unsets paid amount field. + */ + public function unsetPaidAmount(): self + { + $this->instance->unsetPaidAmount(); + return $this; + } + + /** + * Sets type field. + */ + public function type(?string $value): self + { + $this->instance->setType($value); + return $this; + } + + /** + * Unsets type field. + */ + public function unsetType(): self + { + $this->instance->unsetType(); + return $this; + } + + /** + * Sets credit at field. + */ + public function creditAt(?\DateTime $value): self + { + $this->instance->setCreditAt($value); + return $this; + } + + /** + * Unsets credit at field. + */ + public function unsetCreditAt(): self + { + $this->instance->unsetCreditAt(); + return $this; + } + + /** + * Sets statement descriptor field. + */ + public function statementDescriptor(?string $value): self + { + $this->instance->setStatementDescriptor($value); + return $this; + } + + /** + * Unsets statement descriptor field. + */ + public function unsetStatementDescriptor(): self + { + $this->instance->unsetStatementDescriptor(); + return $this; + } + + /** + * Initializes a new get boleto transaction response object. + */ + public function build(): GetBoletoTransactionResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetCardResponseBuilder.php b/src/Models/Builders/GetCardResponseBuilder.php new file mode 100644 index 0000000..e487dee --- /dev/null +++ b/src/Models/Builders/GetCardResponseBuilder.php @@ -0,0 +1,356 @@ +instance = $instance; + } + + /** + * Initializes a new get card response Builder object. + */ + public static function init(): self + { + return new self(new GetCardResponse()); + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets last four digits field. + */ + public function lastFourDigits(?string $value): self + { + $this->instance->setLastFourDigits($value); + return $this; + } + + /** + * Unsets last four digits field. + */ + public function unsetLastFourDigits(): self + { + $this->instance->unsetLastFourDigits(); + return $this; + } + + /** + * Sets brand field. + */ + public function brand(?string $value): self + { + $this->instance->setBrand($value); + return $this; + } + + /** + * Unsets brand field. + */ + public function unsetBrand(): self + { + $this->instance->unsetBrand(); + return $this; + } + + /** + * Sets holder name field. + */ + public function holderName(?string $value): self + { + $this->instance->setHolderName($value); + return $this; + } + + /** + * Unsets holder name field. + */ + public function unsetHolderName(): self + { + $this->instance->unsetHolderName(); + return $this; + } + + /** + * Sets exp month field. + */ + public function expMonth(?int $value): self + { + $this->instance->setExpMonth($value); + return $this; + } + + /** + * Unsets exp month field. + */ + public function unsetExpMonth(): self + { + $this->instance->unsetExpMonth(); + return $this; + } + + /** + * Sets exp year field. + */ + public function expYear(?int $value): self + { + $this->instance->setExpYear($value); + return $this; + } + + /** + * Unsets exp year field. + */ + public function unsetExpYear(): self + { + $this->instance->unsetExpYear(); + return $this; + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Sets created at field. + */ + public function createdAt(?\DateTime $value): self + { + $this->instance->setCreatedAt($value); + return $this; + } + + /** + * Unsets created at field. + */ + public function unsetCreatedAt(): self + { + $this->instance->unsetCreatedAt(); + return $this; + } + + /** + * Sets updated at field. + */ + public function updatedAt(?\DateTime $value): self + { + $this->instance->setUpdatedAt($value); + return $this; + } + + /** + * Unsets updated at field. + */ + public function unsetUpdatedAt(): self + { + $this->instance->unsetUpdatedAt(); + return $this; + } + + /** + * Sets billing address field. + */ + public function billingAddress(?GetBillingAddressResponse $value): self + { + $this->instance->setBillingAddress($value); + return $this; + } + + /** + * Unsets billing address field. + */ + public function unsetBillingAddress(): self + { + $this->instance->unsetBillingAddress(); + return $this; + } + + /** + * Sets customer field. + */ + public function customer(?GetCustomerResponse $value): self + { + $this->instance->setCustomer($value); + return $this; + } + + /** + * Unsets customer field. + */ + public function unsetCustomer(): self + { + $this->instance->unsetCustomer(); + return $this; + } + + /** + * Sets metadata field. + */ + public function metadata(?array $value): self + { + $this->instance->setMetadata($value); + return $this; + } + + /** + * Unsets metadata field. + */ + public function unsetMetadata(): self + { + $this->instance->unsetMetadata(); + return $this; + } + + /** + * Sets type field. + */ + public function type(?string $value): self + { + $this->instance->setType($value); + return $this; + } + + /** + * Unsets type field. + */ + public function unsetType(): self + { + $this->instance->unsetType(); + return $this; + } + + /** + * Sets holder document field. + */ + public function holderDocument(?string $value): self + { + $this->instance->setHolderDocument($value); + return $this; + } + + /** + * Unsets holder document field. + */ + public function unsetHolderDocument(): self + { + $this->instance->unsetHolderDocument(); + return $this; + } + + /** + * Sets deleted at field. + */ + public function deletedAt(?\DateTime $value): self + { + $this->instance->setDeletedAt($value); + return $this; + } + + /** + * Unsets deleted at field. + */ + public function unsetDeletedAt(): self + { + $this->instance->unsetDeletedAt(); + return $this; + } + + /** + * Sets first six digits field. + */ + public function firstSixDigits(?string $value): self + { + $this->instance->setFirstSixDigits($value); + return $this; + } + + /** + * Unsets first six digits field. + */ + public function unsetFirstSixDigits(): self + { + $this->instance->unsetFirstSixDigits(); + return $this; + } + + /** + * Sets label field. + */ + public function label(?string $value): self + { + $this->instance->setLabel($value); + return $this; + } + + /** + * Unsets label field. + */ + public function unsetLabel(): self + { + $this->instance->unsetLabel(); + return $this; + } + + /** + * Initializes a new get card response object. + */ + public function build(): GetCardResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetCardTokenResponseBuilder.php b/src/Models/Builders/GetCardTokenResponseBuilder.php new file mode 100644 index 0000000..4a8aac1 --- /dev/null +++ b/src/Models/Builders/GetCardTokenResponseBuilder.php @@ -0,0 +1,192 @@ +instance = $instance; + } + + /** + * Initializes a new get card token response Builder object. + */ + public static function init(): self + { + return new self(new GetCardTokenResponse()); + } + + /** + * Sets last four digits field. + */ + public function lastFourDigits(?string $value): self + { + $this->instance->setLastFourDigits($value); + return $this; + } + + /** + * Unsets last four digits field. + */ + public function unsetLastFourDigits(): self + { + $this->instance->unsetLastFourDigits(); + return $this; + } + + /** + * Sets holder name field. + */ + public function holderName(?string $value): self + { + $this->instance->setHolderName($value); + return $this; + } + + /** + * Unsets holder name field. + */ + public function unsetHolderName(): self + { + $this->instance->unsetHolderName(); + return $this; + } + + /** + * Sets holder document field. + */ + public function holderDocument(?string $value): self + { + $this->instance->setHolderDocument($value); + return $this; + } + + /** + * Unsets holder document field. + */ + public function unsetHolderDocument(): self + { + $this->instance->unsetHolderDocument(); + return $this; + } + + /** + * Sets exp month field. + */ + public function expMonth(?int $value): self + { + $this->instance->setExpMonth($value); + return $this; + } + + /** + * Unsets exp month field. + */ + public function unsetExpMonth(): self + { + $this->instance->unsetExpMonth(); + return $this; + } + + /** + * Sets exp year field. + */ + public function expYear(?int $value): self + { + $this->instance->setExpYear($value); + return $this; + } + + /** + * Unsets exp year field. + */ + public function unsetExpYear(): self + { + $this->instance->unsetExpYear(); + return $this; + } + + /** + * Sets brand field. + */ + public function brand(?string $value): self + { + $this->instance->setBrand($value); + return $this; + } + + /** + * Unsets brand field. + */ + public function unsetBrand(): self + { + $this->instance->unsetBrand(); + return $this; + } + + /** + * Sets type field. + */ + public function type(?string $value): self + { + $this->instance->setType($value); + return $this; + } + + /** + * Unsets type field. + */ + public function unsetType(): self + { + $this->instance->unsetType(); + return $this; + } + + /** + * Sets label field. + */ + public function label(?string $value): self + { + $this->instance->setLabel($value); + return $this; + } + + /** + * Unsets label field. + */ + public function unsetLabel(): self + { + $this->instance->unsetLabel(); + return $this; + } + + /** + * Initializes a new get card token response object. + */ + public function build(): GetCardTokenResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetCashTransactionResponseBuilder.php b/src/Models/Builders/GetCashTransactionResponseBuilder.php new file mode 100644 index 0000000..46492c5 --- /dev/null +++ b/src/Models/Builders/GetCashTransactionResponseBuilder.php @@ -0,0 +1,403 @@ +instance = $instance; + } + + /** + * Initializes a new get cash transaction response Builder object. + */ + public static function init(): self + { + return new self(new GetCashTransactionResponse()); + } + + /** + * Sets gateway id field. + */ + public function gatewayId(?string $value): self + { + $this->instance->setGatewayId($value); + return $this; + } + + /** + * Unsets gateway id field. + */ + public function unsetGatewayId(): self + { + $this->instance->unsetGatewayId(); + return $this; + } + + /** + * Sets amount field. + */ + public function amount(?int $value): self + { + $this->instance->setAmount($value); + return $this; + } + + /** + * Unsets amount field. + */ + public function unsetAmount(): self + { + $this->instance->unsetAmount(); + return $this; + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Sets success field. + */ + public function success(?bool $value): self + { + $this->instance->setSuccess($value); + return $this; + } + + /** + * Unsets success field. + */ + public function unsetSuccess(): self + { + $this->instance->unsetSuccess(); + return $this; + } + + /** + * Sets created at field. + */ + public function createdAt(?\DateTime $value): self + { + $this->instance->setCreatedAt($value); + return $this; + } + + /** + * Unsets created at field. + */ + public function unsetCreatedAt(): self + { + $this->instance->unsetCreatedAt(); + return $this; + } + + /** + * Sets updated at field. + */ + public function updatedAt(?\DateTime $value): self + { + $this->instance->setUpdatedAt($value); + return $this; + } + + /** + * Unsets updated at field. + */ + public function unsetUpdatedAt(): self + { + $this->instance->unsetUpdatedAt(); + return $this; + } + + /** + * Sets attempt count field. + */ + public function attemptCount(?int $value): self + { + $this->instance->setAttemptCount($value); + return $this; + } + + /** + * Unsets attempt count field. + */ + public function unsetAttemptCount(): self + { + $this->instance->unsetAttemptCount(); + return $this; + } + + /** + * Sets max attempts field. + */ + public function maxAttempts(?int $value): self + { + $this->instance->setMaxAttempts($value); + return $this; + } + + /** + * Unsets max attempts field. + */ + public function unsetMaxAttempts(): self + { + $this->instance->unsetMaxAttempts(); + return $this; + } + + /** + * Sets splits field. + */ + public function splits(?array $value): self + { + $this->instance->setSplits($value); + return $this; + } + + /** + * Unsets splits field. + */ + public function unsetSplits(): self + { + $this->instance->unsetSplits(); + return $this; + } + + /** + * Sets next attempt field. + */ + public function nextAttempt(?\DateTime $value): self + { + $this->instance->setNextAttempt($value); + return $this; + } + + /** + * Unsets next attempt field. + */ + public function unsetNextAttempt(): self + { + $this->instance->unsetNextAttempt(); + return $this; + } + + /** + * Sets transaction type field. + */ + public function transactionType(?string $value): self + { + $this->instance->setTransactionType($value); + return $this; + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets gateway response field. + */ + public function gatewayResponse(?GetGatewayResponseResponse $value): self + { + $this->instance->setGatewayResponse($value); + return $this; + } + + /** + * Unsets gateway response field. + */ + public function unsetGatewayResponse(): self + { + $this->instance->unsetGatewayResponse(); + return $this; + } + + /** + * Sets antifraud response field. + */ + public function antifraudResponse(?GetAntifraudResponse $value): self + { + $this->instance->setAntifraudResponse($value); + return $this; + } + + /** + * Unsets antifraud response field. + */ + public function unsetAntifraudResponse(): self + { + $this->instance->unsetAntifraudResponse(); + return $this; + } + + /** + * Sets metadata field. + */ + public function metadata(?array $value): self + { + $this->instance->setMetadata($value); + return $this; + } + + /** + * Unsets metadata field. + */ + public function unsetMetadata(): self + { + $this->instance->unsetMetadata(); + return $this; + } + + /** + * Sets split field. + */ + public function split(?array $value): self + { + $this->instance->setSplit($value); + return $this; + } + + /** + * Unsets split field. + */ + public function unsetSplit(): self + { + $this->instance->unsetSplit(); + return $this; + } + + /** + * Sets interest field. + */ + public function interest(?GetInterestResponse $value): self + { + $this->instance->setInterest($value); + return $this; + } + + /** + * Unsets interest field. + */ + public function unsetInterest(): self + { + $this->instance->unsetInterest(); + return $this; + } + + /** + * Sets fine field. + */ + public function fine(?GetFineResponse $value): self + { + $this->instance->setFine($value); + return $this; + } + + /** + * Unsets fine field. + */ + public function unsetFine(): self + { + $this->instance->unsetFine(); + return $this; + } + + /** + * Sets max days to pay past due field. + */ + public function maxDaysToPayPastDue(?int $value): self + { + $this->instance->setMaxDaysToPayPastDue($value); + return $this; + } + + /** + * Unsets max days to pay past due field. + */ + public function unsetMaxDaysToPayPastDue(): self + { + $this->instance->unsetMaxDaysToPayPastDue(); + return $this; + } + + /** + * Sets description field. + */ + public function description(?string $value): self + { + $this->instance->setDescription($value); + return $this; + } + + /** + * Unsets description field. + */ + public function unsetDescription(): self + { + $this->instance->unsetDescription(); + return $this; + } + + /** + * Initializes a new get cash transaction response object. + */ + public function build(): GetCashTransactionResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetChargeResponseBuilder.php b/src/Models/Builders/GetChargeResponseBuilder.php new file mode 100644 index 0000000..31b37fa --- /dev/null +++ b/src/Models/Builders/GetChargeResponseBuilder.php @@ -0,0 +1,430 @@ +instance = $instance; + } + + /** + * Initializes a new get charge response Builder object. + */ + public static function init(): self + { + return new self(new GetChargeResponse()); + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets code field. + */ + public function code(?string $value): self + { + $this->instance->setCode($value); + return $this; + } + + /** + * Unsets code field. + */ + public function unsetCode(): self + { + $this->instance->unsetCode(); + return $this; + } + + /** + * Sets gateway id field. + */ + public function gatewayId(?string $value): self + { + $this->instance->setGatewayId($value); + return $this; + } + + /** + * Unsets gateway id field. + */ + public function unsetGatewayId(): self + { + $this->instance->unsetGatewayId(); + return $this; + } + + /** + * Sets amount field. + */ + public function amount(?int $value): self + { + $this->instance->setAmount($value); + return $this; + } + + /** + * Unsets amount field. + */ + public function unsetAmount(): self + { + $this->instance->unsetAmount(); + return $this; + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Sets currency field. + */ + public function currency(?string $value): self + { + $this->instance->setCurrency($value); + return $this; + } + + /** + * Unsets currency field. + */ + public function unsetCurrency(): self + { + $this->instance->unsetCurrency(); + return $this; + } + + /** + * Sets payment method field. + */ + public function paymentMethod(?string $value): self + { + $this->instance->setPaymentMethod($value); + return $this; + } + + /** + * Unsets payment method field. + */ + public function unsetPaymentMethod(): self + { + $this->instance->unsetPaymentMethod(); + return $this; + } + + /** + * Sets due at field. + */ + public function dueAt(?\DateTime $value): self + { + $this->instance->setDueAt($value); + return $this; + } + + /** + * Unsets due at field. + */ + public function unsetDueAt(): self + { + $this->instance->unsetDueAt(); + return $this; + } + + /** + * Sets created at field. + */ + public function createdAt(?\DateTime $value): self + { + $this->instance->setCreatedAt($value); + return $this; + } + + /** + * Unsets created at field. + */ + public function unsetCreatedAt(): self + { + $this->instance->unsetCreatedAt(); + return $this; + } + + /** + * Sets updated at field. + */ + public function updatedAt(?\DateTime $value): self + { + $this->instance->setUpdatedAt($value); + return $this; + } + + /** + * Unsets updated at field. + */ + public function unsetUpdatedAt(): self + { + $this->instance->unsetUpdatedAt(); + return $this; + } + + /** + * Sets last transaction field. + */ + public function lastTransaction(?GetTransactionResponse $value): self + { + $this->instance->setLastTransaction($value); + return $this; + } + + /** + * Unsets last transaction field. + */ + public function unsetLastTransaction(): self + { + $this->instance->unsetLastTransaction(); + return $this; + } + + /** + * Sets invoice field. + */ + public function invoice(?GetInvoiceResponse $value): self + { + $this->instance->setInvoice($value); + return $this; + } + + /** + * Unsets invoice field. + */ + public function unsetInvoice(): self + { + $this->instance->unsetInvoice(); + return $this; + } + + /** + * Sets order field. + */ + public function order(?GetOrderResponse $value): self + { + $this->instance->setOrder($value); + return $this; + } + + /** + * Unsets order field. + */ + public function unsetOrder(): self + { + $this->instance->unsetOrder(); + return $this; + } + + /** + * Sets customer field. + */ + public function customer(?GetCustomerResponse $value): self + { + $this->instance->setCustomer($value); + return $this; + } + + /** + * Unsets customer field. + */ + public function unsetCustomer(): self + { + $this->instance->unsetCustomer(); + return $this; + } + + /** + * Sets metadata field. + */ + public function metadata(?array $value): self + { + $this->instance->setMetadata($value); + return $this; + } + + /** + * Unsets metadata field. + */ + public function unsetMetadata(): self + { + $this->instance->unsetMetadata(); + return $this; + } + + /** + * Sets paid at field. + */ + public function paidAt(?\DateTime $value): self + { + $this->instance->setPaidAt($value); + return $this; + } + + /** + * Unsets paid at field. + */ + public function unsetPaidAt(): self + { + $this->instance->unsetPaidAt(); + return $this; + } + + /** + * Sets canceled at field. + */ + public function canceledAt(?\DateTime $value): self + { + $this->instance->setCanceledAt($value); + return $this; + } + + /** + * Unsets canceled at field. + */ + public function unsetCanceledAt(): self + { + $this->instance->unsetCanceledAt(); + return $this; + } + + /** + * Sets canceled amount field. + */ + public function canceledAmount(?int $value): self + { + $this->instance->setCanceledAmount($value); + return $this; + } + + /** + * Unsets canceled amount field. + */ + public function unsetCanceledAmount(): self + { + $this->instance->unsetCanceledAmount(); + return $this; + } + + /** + * Sets paid amount field. + */ + public function paidAmount(?int $value): self + { + $this->instance->setPaidAmount($value); + return $this; + } + + /** + * Unsets paid amount field. + */ + public function unsetPaidAmount(): self + { + $this->instance->unsetPaidAmount(); + return $this; + } + + /** + * Sets interest and fine paid field. + */ + public function interestAndFinePaid(?int $value): self + { + $this->instance->setInterestAndFinePaid($value); + return $this; + } + + /** + * Unsets interest and fine paid field. + */ + public function unsetInterestAndFinePaid(): self + { + $this->instance->unsetInterestAndFinePaid(); + return $this; + } + + /** + * Sets recurrency cycle field. + */ + public function recurrencyCycle(?string $value): self + { + $this->instance->setRecurrencyCycle($value); + return $this; + } + + /** + * Unsets recurrency cycle field. + */ + public function unsetRecurrencyCycle(): self + { + $this->instance->unsetRecurrencyCycle(); + return $this; + } + + /** + * Initializes a new get charge response object. + */ + public function build(): GetChargeResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetChargesSummaryResponseBuilder.php b/src/Models/Builders/GetChargesSummaryResponseBuilder.php new file mode 100644 index 0000000..5d22513 --- /dev/null +++ b/src/Models/Builders/GetChargesSummaryResponseBuilder.php @@ -0,0 +1,66 @@ +instance = $instance; + } + + /** + * Initializes a new get charges summary response Builder object. + */ + public static function init(): self + { + return new self(new GetChargesSummaryResponse()); + } + + /** + * Sets total field. + */ + public function total(?int $value): self + { + $this->instance->setTotal($value); + return $this; + } + + /** + * Unsets total field. + */ + public function unsetTotal(): self + { + $this->instance->unsetTotal(); + return $this; + } + + /** + * Initializes a new get charges summary response object. + */ + public function build(): GetChargesSummaryResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetCheckoutBankTransferPaymentResponseBuilder.php b/src/Models/Builders/GetCheckoutBankTransferPaymentResponseBuilder.php new file mode 100644 index 0000000..373daa5 --- /dev/null +++ b/src/Models/Builders/GetCheckoutBankTransferPaymentResponseBuilder.php @@ -0,0 +1,66 @@ +instance = $instance; + } + + /** + * Initializes a new get checkout bank transfer payment response Builder object. + */ + public static function init(): self + { + return new self(new GetCheckoutBankTransferPaymentResponse()); + } + + /** + * Sets bank field. + */ + public function bank(?array $value): self + { + $this->instance->setBank($value); + return $this; + } + + /** + * Unsets bank field. + */ + public function unsetBank(): self + { + $this->instance->unsetBank(); + return $this; + } + + /** + * Initializes a new get checkout bank transfer payment response object. + */ + public function build(): GetCheckoutBankTransferPaymentResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetCheckoutBoletoPaymentResponseBuilder.php b/src/Models/Builders/GetCheckoutBoletoPaymentResponseBuilder.php new file mode 100644 index 0000000..4b0a506 --- /dev/null +++ b/src/Models/Builders/GetCheckoutBoletoPaymentResponseBuilder.php @@ -0,0 +1,84 @@ +instance = $instance; + } + + /** + * Initializes a new get checkout boleto payment response Builder object. + */ + public static function init(): self + { + return new self(new GetCheckoutBoletoPaymentResponse()); + } + + /** + * Sets due at field. + */ + public function dueAt(?\DateTime $value): self + { + $this->instance->setDueAt($value); + return $this; + } + + /** + * Unsets due at field. + */ + public function unsetDueAt(): self + { + $this->instance->unsetDueAt(); + return $this; + } + + /** + * Sets instructions field. + */ + public function instructions(?string $value): self + { + $this->instance->setInstructions($value); + return $this; + } + + /** + * Unsets instructions field. + */ + public function unsetInstructions(): self + { + $this->instance->unsetInstructions(); + return $this; + } + + /** + * Initializes a new get checkout boleto payment response object. + */ + public function build(): GetCheckoutBoletoPaymentResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetCheckoutCardInstallmentOptionsResponseBuilder.php b/src/Models/Builders/GetCheckoutCardInstallmentOptionsResponseBuilder.php new file mode 100644 index 0000000..1a44dc9 --- /dev/null +++ b/src/Models/Builders/GetCheckoutCardInstallmentOptionsResponseBuilder.php @@ -0,0 +1,66 @@ +instance = $instance; + } + + /** + * Initializes a new get checkout card installment options response Builder object. + */ + public static function init(): self + { + return new self(new GetCheckoutCardInstallmentOptionsResponse()); + } + + /** + * Sets number field. + */ + public function number(?string $value): self + { + $this->instance->setNumber($value); + return $this; + } + + /** + * Sets total field. + */ + public function total(?int $value): self + { + $this->instance->setTotal($value); + return $this; + } + + /** + * Initializes a new get checkout card installment options response object. + */ + public function build(): GetCheckoutCardInstallmentOptionsResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetCheckoutCreditCardPaymentResponseBuilder.php b/src/Models/Builders/GetCheckoutCreditCardPaymentResponseBuilder.php new file mode 100644 index 0000000..1221aca --- /dev/null +++ b/src/Models/Builders/GetCheckoutCreditCardPaymentResponseBuilder.php @@ -0,0 +1,103 @@ +instance = $instance; + } + + /** + * Initializes a new get checkout credit card payment response Builder object. + */ + public static function init(): self + { + return new self(new GetCheckoutCreditCardPaymentResponse()); + } + + /** + * Sets statement descriptor field. + */ + public function statementDescriptor(?string $value): self + { + $this->instance->setStatementDescriptor($value); + return $this; + } + + /** + * Unsets statement descriptor field. + */ + public function unsetStatementDescriptor(): self + { + $this->instance->unsetStatementDescriptor(); + return $this; + } + + /** + * Sets installments field. + */ + public function installments(?array $value): self + { + $this->instance->setInstallments($value); + return $this; + } + + /** + * Unsets installments field. + */ + public function unsetInstallments(): self + { + $this->instance->unsetInstallments(); + return $this; + } + + /** + * Sets authentication field. + */ + public function authentication(?GetPaymentAuthenticationResponse $value): self + { + $this->instance->setAuthentication($value); + return $this; + } + + /** + * Unsets authentication field. + */ + public function unsetAuthentication(): self + { + $this->instance->unsetAuthentication(); + return $this; + } + + /** + * Initializes a new get checkout credit card payment response object. + */ + public function build(): GetCheckoutCreditCardPaymentResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetCheckoutDebitCardPaymentResponseBuilder.php b/src/Models/Builders/GetCheckoutDebitCardPaymentResponseBuilder.php new file mode 100644 index 0000000..26fc926 --- /dev/null +++ b/src/Models/Builders/GetCheckoutDebitCardPaymentResponseBuilder.php @@ -0,0 +1,85 @@ +instance = $instance; + } + + /** + * Initializes a new get checkout debit card payment response Builder object. + */ + public static function init(): self + { + return new self(new GetCheckoutDebitCardPaymentResponse()); + } + + /** + * Sets statement descriptor field. + */ + public function statementDescriptor(?string $value): self + { + $this->instance->setStatementDescriptor($value); + return $this; + } + + /** + * Unsets statement descriptor field. + */ + public function unsetStatementDescriptor(): self + { + $this->instance->unsetStatementDescriptor(); + return $this; + } + + /** + * Sets authentication field. + */ + public function authentication(?GetPaymentAuthenticationResponse $value): self + { + $this->instance->setAuthentication($value); + return $this; + } + + /** + * Unsets authentication field. + */ + public function unsetAuthentication(): self + { + $this->instance->unsetAuthentication(); + return $this; + } + + /** + * Initializes a new get checkout debit card payment response object. + */ + public function build(): GetCheckoutDebitCardPaymentResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetCheckoutPaymentResponseBuilder.php b/src/Models/Builders/GetCheckoutPaymentResponseBuilder.php new file mode 100644 index 0000000..6e08f3b --- /dev/null +++ b/src/Models/Builders/GetCheckoutPaymentResponseBuilder.php @@ -0,0 +1,542 @@ +instance = $instance; + } + + /** + * Initializes a new get checkout payment response Builder object. + */ + public static function init(): self + { + return new self(new GetCheckoutPaymentResponse()); + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets amount field. + */ + public function amount(?int $value): self + { + $this->instance->setAmount($value); + return $this; + } + + /** + * Unsets amount field. + */ + public function unsetAmount(): self + { + $this->instance->unsetAmount(); + return $this; + } + + /** + * Sets default payment method field. + */ + public function defaultPaymentMethod(?string $value): self + { + $this->instance->setDefaultPaymentMethod($value); + return $this; + } + + /** + * Unsets default payment method field. + */ + public function unsetDefaultPaymentMethod(): self + { + $this->instance->unsetDefaultPaymentMethod(); + return $this; + } + + /** + * Sets success url field. + */ + public function successUrl(?string $value): self + { + $this->instance->setSuccessUrl($value); + return $this; + } + + /** + * Unsets success url field. + */ + public function unsetSuccessUrl(): self + { + $this->instance->unsetSuccessUrl(); + return $this; + } + + /** + * Sets payment url field. + */ + public function paymentUrl(?string $value): self + { + $this->instance->setPaymentUrl($value); + return $this; + } + + /** + * Unsets payment url field. + */ + public function unsetPaymentUrl(): self + { + $this->instance->unsetPaymentUrl(); + return $this; + } + + /** + * Sets gateway affiliation id field. + */ + public function gatewayAffiliationId(?string $value): self + { + $this->instance->setGatewayAffiliationId($value); + return $this; + } + + /** + * Unsets gateway affiliation id field. + */ + public function unsetGatewayAffiliationId(): self + { + $this->instance->unsetGatewayAffiliationId(); + return $this; + } + + /** + * Sets accepted payment methods field. + */ + public function acceptedPaymentMethods(?array $value): self + { + $this->instance->setAcceptedPaymentMethods($value); + return $this; + } + + /** + * Unsets accepted payment methods field. + */ + public function unsetAcceptedPaymentMethods(): self + { + $this->instance->unsetAcceptedPaymentMethods(); + return $this; + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Sets skip checkout success page field. + */ + public function skipCheckoutSuccessPage(?bool $value): self + { + $this->instance->setSkipCheckoutSuccessPage($value); + return $this; + } + + /** + * Unsets skip checkout success page field. + */ + public function unsetSkipCheckoutSuccessPage(): self + { + $this->instance->unsetSkipCheckoutSuccessPage(); + return $this; + } + + /** + * Sets created at field. + */ + public function createdAt(?\DateTime $value): self + { + $this->instance->setCreatedAt($value); + return $this; + } + + /** + * Unsets created at field. + */ + public function unsetCreatedAt(): self + { + $this->instance->unsetCreatedAt(); + return $this; + } + + /** + * Sets updated at field. + */ + public function updatedAt(?\DateTime $value): self + { + $this->instance->setUpdatedAt($value); + return $this; + } + + /** + * Unsets updated at field. + */ + public function unsetUpdatedAt(): self + { + $this->instance->unsetUpdatedAt(); + return $this; + } + + /** + * Sets canceled at field. + */ + public function canceledAt(?\DateTime $value): self + { + $this->instance->setCanceledAt($value); + return $this; + } + + /** + * Unsets canceled at field. + */ + public function unsetCanceledAt(): self + { + $this->instance->unsetCanceledAt(); + return $this; + } + + /** + * Sets customer editable field. + */ + public function customerEditable(?bool $value): self + { + $this->instance->setCustomerEditable($value); + return $this; + } + + /** + * Unsets customer editable field. + */ + public function unsetCustomerEditable(): self + { + $this->instance->unsetCustomerEditable(); + return $this; + } + + /** + * Sets customer field. + */ + public function customer(?GetCustomerResponse $value): self + { + $this->instance->setCustomer($value); + return $this; + } + + /** + * Unsets customer field. + */ + public function unsetCustomer(): self + { + $this->instance->unsetCustomer(); + return $this; + } + + /** + * Sets billingaddress field. + */ + public function billingaddress(?GetAddressResponse $value): self + { + $this->instance->setBillingaddress($value); + return $this; + } + + /** + * Unsets billingaddress field. + */ + public function unsetBillingaddress(): self + { + $this->instance->unsetBillingaddress(); + return $this; + } + + /** + * Sets credit card field. + */ + public function creditCard(?GetCheckoutCreditCardPaymentResponse $value): self + { + $this->instance->setCreditCard($value); + return $this; + } + + /** + * Unsets credit card field. + */ + public function unsetCreditCard(): self + { + $this->instance->unsetCreditCard(); + return $this; + } + + /** + * Sets boleto field. + */ + public function boleto(?GetCheckoutBoletoPaymentResponse $value): self + { + $this->instance->setBoleto($value); + return $this; + } + + /** + * Unsets boleto field. + */ + public function unsetBoleto(): self + { + $this->instance->unsetBoleto(); + return $this; + } + + /** + * Sets billing address editable field. + */ + public function billingAddressEditable(?bool $value): self + { + $this->instance->setBillingAddressEditable($value); + return $this; + } + + /** + * Unsets billing address editable field. + */ + public function unsetBillingAddressEditable(): self + { + $this->instance->unsetBillingAddressEditable(); + return $this; + } + + /** + * Sets shipping field. + */ + public function shipping(?GetShippingResponse $value): self + { + $this->instance->setShipping($value); + return $this; + } + + /** + * Unsets shipping field. + */ + public function unsetShipping(): self + { + $this->instance->unsetShipping(); + return $this; + } + + /** + * Sets shippable field. + */ + public function shippable(?bool $value): self + { + $this->instance->setShippable($value); + return $this; + } + + /** + * Unsets shippable field. + */ + public function unsetShippable(): self + { + $this->instance->unsetShippable(); + return $this; + } + + /** + * Sets closed at field. + */ + public function closedAt(?\DateTime $value): self + { + $this->instance->setClosedAt($value); + return $this; + } + + /** + * Unsets closed at field. + */ + public function unsetClosedAt(): self + { + $this->instance->unsetClosedAt(); + return $this; + } + + /** + * Sets expires at field. + */ + public function expiresAt(?\DateTime $value): self + { + $this->instance->setExpiresAt($value); + return $this; + } + + /** + * Unsets expires at field. + */ + public function unsetExpiresAt(): self + { + $this->instance->unsetExpiresAt(); + return $this; + } + + /** + * Sets currency field. + */ + public function currency(?string $value): self + { + $this->instance->setCurrency($value); + return $this; + } + + /** + * Unsets currency field. + */ + public function unsetCurrency(): self + { + $this->instance->unsetCurrency(); + return $this; + } + + /** + * Sets debit card field. + */ + public function debitCard(?GetCheckoutDebitCardPaymentResponse $value): self + { + $this->instance->setDebitCard($value); + return $this; + } + + /** + * Unsets debit card field. + */ + public function unsetDebitCard(): self + { + $this->instance->unsetDebitCard(); + return $this; + } + + /** + * Sets bank transfer field. + */ + public function bankTransfer(?GetCheckoutBankTransferPaymentResponse $value): self + { + $this->instance->setBankTransfer($value); + return $this; + } + + /** + * Unsets bank transfer field. + */ + public function unsetBankTransfer(): self + { + $this->instance->unsetBankTransfer(); + return $this; + } + + /** + * Sets accepted brands field. + */ + public function acceptedBrands(?array $value): self + { + $this->instance->setAcceptedBrands($value); + return $this; + } + + /** + * Unsets accepted brands field. + */ + public function unsetAcceptedBrands(): self + { + $this->instance->unsetAcceptedBrands(); + return $this; + } + + /** + * Sets pix field. + */ + public function pix(?GetCheckoutPixPaymentResponse $value): self + { + $this->instance->setPix($value); + return $this; + } + + /** + * Unsets pix field. + */ + public function unsetPix(): self + { + $this->instance->unsetPix(); + return $this; + } + + /** + * Initializes a new get checkout payment response object. + */ + public function build(): GetCheckoutPaymentResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetCheckoutPaymentSettingsResponseBuilder.php b/src/Models/Builders/GetCheckoutPaymentSettingsResponseBuilder.php new file mode 100644 index 0000000..269044f --- /dev/null +++ b/src/Models/Builders/GetCheckoutPaymentSettingsResponseBuilder.php @@ -0,0 +1,193 @@ +instance = $instance; + } + + /** + * Initializes a new get checkout payment settings response Builder object. + */ + public static function init(): self + { + return new self(new GetCheckoutPaymentSettingsResponse()); + } + + /** + * Sets success url field. + */ + public function successUrl(?string $value): self + { + $this->instance->setSuccessUrl($value); + return $this; + } + + /** + * Unsets success url field. + */ + public function unsetSuccessUrl(): self + { + $this->instance->unsetSuccessUrl(); + return $this; + } + + /** + * Sets payment url field. + */ + public function paymentUrl(?string $value): self + { + $this->instance->setPaymentUrl($value); + return $this; + } + + /** + * Unsets payment url field. + */ + public function unsetPaymentUrl(): self + { + $this->instance->unsetPaymentUrl(); + return $this; + } + + /** + * Sets accepted payment methods field. + */ + public function acceptedPaymentMethods(?array $value): self + { + $this->instance->setAcceptedPaymentMethods($value); + return $this; + } + + /** + * Unsets accepted payment methods field. + */ + public function unsetAcceptedPaymentMethods(): self + { + $this->instance->unsetAcceptedPaymentMethods(); + return $this; + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Sets customer field. + */ + public function customer(?GetCustomerResponse $value): self + { + $this->instance->setCustomer($value); + return $this; + } + + /** + * Unsets customer field. + */ + public function unsetCustomer(): self + { + $this->instance->unsetCustomer(); + return $this; + } + + /** + * Sets amount field. + */ + public function amount(?int $value): self + { + $this->instance->setAmount($value); + return $this; + } + + /** + * Unsets amount field. + */ + public function unsetAmount(): self + { + $this->instance->unsetAmount(); + return $this; + } + + /** + * Sets default payment method field. + */ + public function defaultPaymentMethod(?string $value): self + { + $this->instance->setDefaultPaymentMethod($value); + return $this; + } + + /** + * Unsets default payment method field. + */ + public function unsetDefaultPaymentMethod(): self + { + $this->instance->unsetDefaultPaymentMethod(); + return $this; + } + + /** + * Sets gateway affiliation id field. + */ + public function gatewayAffiliationId(?string $value): self + { + $this->instance->setGatewayAffiliationId($value); + return $this; + } + + /** + * Unsets gateway affiliation id field. + */ + public function unsetGatewayAffiliationId(): self + { + $this->instance->unsetGatewayAffiliationId(); + return $this; + } + + /** + * Initializes a new get checkout payment settings response object. + */ + public function build(): GetCheckoutPaymentSettingsResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetCheckoutPixPaymentResponseBuilder.php b/src/Models/Builders/GetCheckoutPixPaymentResponseBuilder.php new file mode 100644 index 0000000..de1dae7 --- /dev/null +++ b/src/Models/Builders/GetCheckoutPixPaymentResponseBuilder.php @@ -0,0 +1,84 @@ +instance = $instance; + } + + /** + * Initializes a new get checkout pix payment response Builder object. + */ + public static function init(): self + { + return new self(new GetCheckoutPixPaymentResponse()); + } + + /** + * Sets expires at field. + */ + public function expiresAt(?\DateTime $value): self + { + $this->instance->setExpiresAt($value); + return $this; + } + + /** + * Unsets expires at field. + */ + public function unsetExpiresAt(): self + { + $this->instance->unsetExpiresAt(); + return $this; + } + + /** + * Sets additional information field. + */ + public function additionalInformation(?array $value): self + { + $this->instance->setAdditionalInformation($value); + return $this; + } + + /** + * Unsets additional information field. + */ + public function unsetAdditionalInformation(): self + { + $this->instance->unsetAdditionalInformation(); + return $this; + } + + /** + * Initializes a new get checkout pix payment response object. + */ + public function build(): GetCheckoutPixPaymentResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetCreditCardTransactionResponseBuilder.php b/src/Models/Builders/GetCreditCardTransactionResponseBuilder.php new file mode 100644 index 0000000..2062450 --- /dev/null +++ b/src/Models/Builders/GetCreditCardTransactionResponseBuilder.php @@ -0,0 +1,593 @@ +instance = $instance; + } + + /** + * Initializes a new get credit card transaction response Builder object. + */ + public static function init(): self + { + return new self(new GetCreditCardTransactionResponse()); + } + + /** + * Sets gateway id field. + */ + public function gatewayId(?string $value): self + { + $this->instance->setGatewayId($value); + return $this; + } + + /** + * Unsets gateway id field. + */ + public function unsetGatewayId(): self + { + $this->instance->unsetGatewayId(); + return $this; + } + + /** + * Sets amount field. + */ + public function amount(?int $value): self + { + $this->instance->setAmount($value); + return $this; + } + + /** + * Unsets amount field. + */ + public function unsetAmount(): self + { + $this->instance->unsetAmount(); + return $this; + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Sets success field. + */ + public function success(?bool $value): self + { + $this->instance->setSuccess($value); + return $this; + } + + /** + * Unsets success field. + */ + public function unsetSuccess(): self + { + $this->instance->unsetSuccess(); + return $this; + } + + /** + * Sets created at field. + */ + public function createdAt(?\DateTime $value): self + { + $this->instance->setCreatedAt($value); + return $this; + } + + /** + * Unsets created at field. + */ + public function unsetCreatedAt(): self + { + $this->instance->unsetCreatedAt(); + return $this; + } + + /** + * Sets updated at field. + */ + public function updatedAt(?\DateTime $value): self + { + $this->instance->setUpdatedAt($value); + return $this; + } + + /** + * Unsets updated at field. + */ + public function unsetUpdatedAt(): self + { + $this->instance->unsetUpdatedAt(); + return $this; + } + + /** + * Sets attempt count field. + */ + public function attemptCount(?int $value): self + { + $this->instance->setAttemptCount($value); + return $this; + } + + /** + * Unsets attempt count field. + */ + public function unsetAttemptCount(): self + { + $this->instance->unsetAttemptCount(); + return $this; + } + + /** + * Sets max attempts field. + */ + public function maxAttempts(?int $value): self + { + $this->instance->setMaxAttempts($value); + return $this; + } + + /** + * Unsets max attempts field. + */ + public function unsetMaxAttempts(): self + { + $this->instance->unsetMaxAttempts(); + return $this; + } + + /** + * Sets splits field. + */ + public function splits(?array $value): self + { + $this->instance->setSplits($value); + return $this; + } + + /** + * Unsets splits field. + */ + public function unsetSplits(): self + { + $this->instance->unsetSplits(); + return $this; + } + + /** + * Sets next attempt field. + */ + public function nextAttempt(?\DateTime $value): self + { + $this->instance->setNextAttempt($value); + return $this; + } + + /** + * Unsets next attempt field. + */ + public function unsetNextAttempt(): self + { + $this->instance->unsetNextAttempt(); + return $this; + } + + /** + * Sets transaction type field. + */ + public function transactionType(?string $value): self + { + $this->instance->setTransactionType($value); + return $this; + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets gateway response field. + */ + public function gatewayResponse(?GetGatewayResponseResponse $value): self + { + $this->instance->setGatewayResponse($value); + return $this; + } + + /** + * Unsets gateway response field. + */ + public function unsetGatewayResponse(): self + { + $this->instance->unsetGatewayResponse(); + return $this; + } + + /** + * Sets antifraud response field. + */ + public function antifraudResponse(?GetAntifraudResponse $value): self + { + $this->instance->setAntifraudResponse($value); + return $this; + } + + /** + * Unsets antifraud response field. + */ + public function unsetAntifraudResponse(): self + { + $this->instance->unsetAntifraudResponse(); + return $this; + } + + /** + * Sets metadata field. + */ + public function metadata(?array $value): self + { + $this->instance->setMetadata($value); + return $this; + } + + /** + * Unsets metadata field. + */ + public function unsetMetadata(): self + { + $this->instance->unsetMetadata(); + return $this; + } + + /** + * Sets split field. + */ + public function split(?array $value): self + { + $this->instance->setSplit($value); + return $this; + } + + /** + * Unsets split field. + */ + public function unsetSplit(): self + { + $this->instance->unsetSplit(); + return $this; + } + + /** + * Sets interest field. + */ + public function interest(?GetInterestResponse $value): self + { + $this->instance->setInterest($value); + return $this; + } + + /** + * Unsets interest field. + */ + public function unsetInterest(): self + { + $this->instance->unsetInterest(); + return $this; + } + + /** + * Sets fine field. + */ + public function fine(?GetFineResponse $value): self + { + $this->instance->setFine($value); + return $this; + } + + /** + * Unsets fine field. + */ + public function unsetFine(): self + { + $this->instance->unsetFine(); + return $this; + } + + /** + * Sets max days to pay past due field. + */ + public function maxDaysToPayPastDue(?int $value): self + { + $this->instance->setMaxDaysToPayPastDue($value); + return $this; + } + + /** + * Unsets max days to pay past due field. + */ + public function unsetMaxDaysToPayPastDue(): self + { + $this->instance->unsetMaxDaysToPayPastDue(); + return $this; + } + + /** + * Sets statement descriptor field. + */ + public function statementDescriptor(?string $value): self + { + $this->instance->setStatementDescriptor($value); + return $this; + } + + /** + * Unsets statement descriptor field. + */ + public function unsetStatementDescriptor(): self + { + $this->instance->unsetStatementDescriptor(); + return $this; + } + + /** + * Sets acquirer name field. + */ + public function acquirerName(?string $value): self + { + $this->instance->setAcquirerName($value); + return $this; + } + + /** + * Sets acquirer affiliation code field. + */ + public function acquirerAffiliationCode(?string $value): self + { + $this->instance->setAcquirerAffiliationCode($value); + return $this; + } + + /** + * Unsets acquirer affiliation code field. + */ + public function unsetAcquirerAffiliationCode(): self + { + $this->instance->unsetAcquirerAffiliationCode(); + return $this; + } + + /** + * Sets acquirer tid field. + */ + public function acquirerTid(?string $value): self + { + $this->instance->setAcquirerTid($value); + return $this; + } + + /** + * Sets acquirer nsu field. + */ + public function acquirerNsu(?string $value): self + { + $this->instance->setAcquirerNsu($value); + return $this; + } + + /** + * Sets acquirer auth code field. + */ + public function acquirerAuthCode(?string $value): self + { + $this->instance->setAcquirerAuthCode($value); + return $this; + } + + /** + * Unsets acquirer auth code field. + */ + public function unsetAcquirerAuthCode(): self + { + $this->instance->unsetAcquirerAuthCode(); + return $this; + } + + /** + * Sets operation type field. + */ + public function operationType(?string $value): self + { + $this->instance->setOperationType($value); + return $this; + } + + /** + * Unsets operation type field. + */ + public function unsetOperationType(): self + { + $this->instance->unsetOperationType(); + return $this; + } + + /** + * Sets card field. + */ + public function card(?GetCardResponse $value): self + { + $this->instance->setCard($value); + return $this; + } + + /** + * Unsets card field. + */ + public function unsetCard(): self + { + $this->instance->unsetCard(); + return $this; + } + + /** + * Sets acquirer message field. + */ + public function acquirerMessage(?string $value): self + { + $this->instance->setAcquirerMessage($value); + return $this; + } + + /** + * Unsets acquirer message field. + */ + public function unsetAcquirerMessage(): self + { + $this->instance->unsetAcquirerMessage(); + return $this; + } + + /** + * Sets acquirer return code field. + */ + public function acquirerReturnCode(?string $value): self + { + $this->instance->setAcquirerReturnCode($value); + return $this; + } + + /** + * Unsets acquirer return code field. + */ + public function unsetAcquirerReturnCode(): self + { + $this->instance->unsetAcquirerReturnCode(); + return $this; + } + + /** + * Sets installments field. + */ + public function installments(?int $value): self + { + $this->instance->setInstallments($value); + return $this; + } + + /** + * Unsets installments field. + */ + public function unsetInstallments(): self + { + $this->instance->unsetInstallments(); + return $this; + } + + /** + * Sets threed authentication url field. + */ + public function threedAuthenticationUrl(?string $value): self + { + $this->instance->setThreedAuthenticationUrl($value); + return $this; + } + + /** + * Unsets threed authentication url field. + */ + public function unsetThreedAuthenticationUrl(): self + { + $this->instance->unsetThreedAuthenticationUrl(); + return $this; + } + + /** + * Sets funding source field. + */ + public function fundingSource(?string $value): self + { + $this->instance->setFundingSource($value); + return $this; + } + + /** + * Unsets funding source field. + */ + public function unsetFundingSource(): self + { + $this->instance->unsetFundingSource(); + return $this; + } + + /** + * Initializes a new get credit card transaction response object. + */ + public function build(): GetCreditCardTransactionResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetCustomerResponseBuilder.php b/src/Models/Builders/GetCustomerResponseBuilder.php new file mode 100644 index 0000000..22a4196 --- /dev/null +++ b/src/Models/Builders/GetCustomerResponseBuilder.php @@ -0,0 +1,320 @@ +instance = $instance; + } + + /** + * Initializes a new get customer response Builder object. + */ + public static function init(): self + { + return new self(new GetCustomerResponse()); + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets name field. + */ + public function name(?string $value): self + { + $this->instance->setName($value); + return $this; + } + + /** + * Unsets name field. + */ + public function unsetName(): self + { + $this->instance->unsetName(); + return $this; + } + + /** + * Sets email field. + */ + public function email(?string $value): self + { + $this->instance->setEmail($value); + return $this; + } + + /** + * Unsets email field. + */ + public function unsetEmail(): self + { + $this->instance->unsetEmail(); + return $this; + } + + /** + * Sets delinquent field. + */ + public function delinquent(?bool $value): self + { + $this->instance->setDelinquent($value); + return $this; + } + + /** + * Unsets delinquent field. + */ + public function unsetDelinquent(): self + { + $this->instance->unsetDelinquent(); + return $this; + } + + /** + * Sets created at field. + */ + public function createdAt(?\DateTime $value): self + { + $this->instance->setCreatedAt($value); + return $this; + } + + /** + * Unsets created at field. + */ + public function unsetCreatedAt(): self + { + $this->instance->unsetCreatedAt(); + return $this; + } + + /** + * Sets updated at field. + */ + public function updatedAt(?\DateTime $value): self + { + $this->instance->setUpdatedAt($value); + return $this; + } + + /** + * Unsets updated at field. + */ + public function unsetUpdatedAt(): self + { + $this->instance->unsetUpdatedAt(); + return $this; + } + + /** + * Sets document field. + */ + public function document(?string $value): self + { + $this->instance->setDocument($value); + return $this; + } + + /** + * Unsets document field. + */ + public function unsetDocument(): self + { + $this->instance->unsetDocument(); + return $this; + } + + /** + * Sets type field. + */ + public function type(?string $value): self + { + $this->instance->setType($value); + return $this; + } + + /** + * Unsets type field. + */ + public function unsetType(): self + { + $this->instance->unsetType(); + return $this; + } + + /** + * Sets fb access token field. + */ + public function fbAccessToken(?string $value): self + { + $this->instance->setFbAccessToken($value); + return $this; + } + + /** + * Unsets fb access token field. + */ + public function unsetFbAccessToken(): self + { + $this->instance->unsetFbAccessToken(); + return $this; + } + + /** + * Sets address field. + */ + public function address(?GetAddressResponse $value): self + { + $this->instance->setAddress($value); + return $this; + } + + /** + * Unsets address field. + */ + public function unsetAddress(): self + { + $this->instance->unsetAddress(); + return $this; + } + + /** + * Sets metadata field. + */ + public function metadata(?array $value): self + { + $this->instance->setMetadata($value); + return $this; + } + + /** + * Unsets metadata field. + */ + public function unsetMetadata(): self + { + $this->instance->unsetMetadata(); + return $this; + } + + /** + * Sets phones field. + */ + public function phones(?GetPhonesResponse $value): self + { + $this->instance->setPhones($value); + return $this; + } + + /** + * Unsets phones field. + */ + public function unsetPhones(): self + { + $this->instance->unsetPhones(); + return $this; + } + + /** + * Sets fb id field. + */ + public function fbId(?int $value): self + { + $this->instance->setFbId($value); + return $this; + } + + /** + * Unsets fb id field. + */ + public function unsetFbId(): self + { + $this->instance->unsetFbId(); + return $this; + } + + /** + * Sets code field. + */ + public function code(?string $value): self + { + $this->instance->setCode($value); + return $this; + } + + /** + * Unsets code field. + */ + public function unsetCode(): self + { + $this->instance->unsetCode(); + return $this; + } + + /** + * Sets document type field. + */ + public function documentType(?string $value): self + { + $this->instance->setDocumentType($value); + return $this; + } + + /** + * Unsets document type field. + */ + public function unsetDocumentType(): self + { + $this->instance->unsetDocumentType(); + return $this; + } + + /** + * Initializes a new get customer response object. + */ + public function build(): GetCustomerResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetDebitCardTransactionResponseBuilder.php b/src/Models/Builders/GetDebitCardTransactionResponseBuilder.php new file mode 100644 index 0000000..47bdf27 --- /dev/null +++ b/src/Models/Builders/GetDebitCardTransactionResponseBuilder.php @@ -0,0 +1,656 @@ +instance = $instance; + } + + /** + * Initializes a new get debit card transaction response Builder object. + */ + public static function init(): self + { + return new self(new GetDebitCardTransactionResponse()); + } + + /** + * Sets gateway id field. + */ + public function gatewayId(?string $value): self + { + $this->instance->setGatewayId($value); + return $this; + } + + /** + * Unsets gateway id field. + */ + public function unsetGatewayId(): self + { + $this->instance->unsetGatewayId(); + return $this; + } + + /** + * Sets amount field. + */ + public function amount(?int $value): self + { + $this->instance->setAmount($value); + return $this; + } + + /** + * Unsets amount field. + */ + public function unsetAmount(): self + { + $this->instance->unsetAmount(); + return $this; + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Sets success field. + */ + public function success(?bool $value): self + { + $this->instance->setSuccess($value); + return $this; + } + + /** + * Unsets success field. + */ + public function unsetSuccess(): self + { + $this->instance->unsetSuccess(); + return $this; + } + + /** + * Sets created at field. + */ + public function createdAt(?\DateTime $value): self + { + $this->instance->setCreatedAt($value); + return $this; + } + + /** + * Unsets created at field. + */ + public function unsetCreatedAt(): self + { + $this->instance->unsetCreatedAt(); + return $this; + } + + /** + * Sets updated at field. + */ + public function updatedAt(?\DateTime $value): self + { + $this->instance->setUpdatedAt($value); + return $this; + } + + /** + * Unsets updated at field. + */ + public function unsetUpdatedAt(): self + { + $this->instance->unsetUpdatedAt(); + return $this; + } + + /** + * Sets attempt count field. + */ + public function attemptCount(?int $value): self + { + $this->instance->setAttemptCount($value); + return $this; + } + + /** + * Unsets attempt count field. + */ + public function unsetAttemptCount(): self + { + $this->instance->unsetAttemptCount(); + return $this; + } + + /** + * Sets max attempts field. + */ + public function maxAttempts(?int $value): self + { + $this->instance->setMaxAttempts($value); + return $this; + } + + /** + * Unsets max attempts field. + */ + public function unsetMaxAttempts(): self + { + $this->instance->unsetMaxAttempts(); + return $this; + } + + /** + * Sets splits field. + */ + public function splits(?array $value): self + { + $this->instance->setSplits($value); + return $this; + } + + /** + * Unsets splits field. + */ + public function unsetSplits(): self + { + $this->instance->unsetSplits(); + return $this; + } + + /** + * Sets next attempt field. + */ + public function nextAttempt(?\DateTime $value): self + { + $this->instance->setNextAttempt($value); + return $this; + } + + /** + * Unsets next attempt field. + */ + public function unsetNextAttempt(): self + { + $this->instance->unsetNextAttempt(); + return $this; + } + + /** + * Sets transaction type field. + */ + public function transactionType(?string $value): self + { + $this->instance->setTransactionType($value); + return $this; + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets gateway response field. + */ + public function gatewayResponse(?GetGatewayResponseResponse $value): self + { + $this->instance->setGatewayResponse($value); + return $this; + } + + /** + * Unsets gateway response field. + */ + public function unsetGatewayResponse(): self + { + $this->instance->unsetGatewayResponse(); + return $this; + } + + /** + * Sets antifraud response field. + */ + public function antifraudResponse(?GetAntifraudResponse $value): self + { + $this->instance->setAntifraudResponse($value); + return $this; + } + + /** + * Unsets antifraud response field. + */ + public function unsetAntifraudResponse(): self + { + $this->instance->unsetAntifraudResponse(); + return $this; + } + + /** + * Sets metadata field. + */ + public function metadata(?array $value): self + { + $this->instance->setMetadata($value); + return $this; + } + + /** + * Unsets metadata field. + */ + public function unsetMetadata(): self + { + $this->instance->unsetMetadata(); + return $this; + } + + /** + * Sets split field. + */ + public function split(?array $value): self + { + $this->instance->setSplit($value); + return $this; + } + + /** + * Unsets split field. + */ + public function unsetSplit(): self + { + $this->instance->unsetSplit(); + return $this; + } + + /** + * Sets interest field. + */ + public function interest(?GetInterestResponse $value): self + { + $this->instance->setInterest($value); + return $this; + } + + /** + * Unsets interest field. + */ + public function unsetInterest(): self + { + $this->instance->unsetInterest(); + return $this; + } + + /** + * Sets fine field. + */ + public function fine(?GetFineResponse $value): self + { + $this->instance->setFine($value); + return $this; + } + + /** + * Unsets fine field. + */ + public function unsetFine(): self + { + $this->instance->unsetFine(); + return $this; + } + + /** + * Sets max days to pay past due field. + */ + public function maxDaysToPayPastDue(?int $value): self + { + $this->instance->setMaxDaysToPayPastDue($value); + return $this; + } + + /** + * Unsets max days to pay past due field. + */ + public function unsetMaxDaysToPayPastDue(): self + { + $this->instance->unsetMaxDaysToPayPastDue(); + return $this; + } + + /** + * Sets statement descriptor field. + */ + public function statementDescriptor(?string $value): self + { + $this->instance->setStatementDescriptor($value); + return $this; + } + + /** + * Unsets statement descriptor field. + */ + public function unsetStatementDescriptor(): self + { + $this->instance->unsetStatementDescriptor(); + return $this; + } + + /** + * Sets acquirer name field. + */ + public function acquirerName(?string $value): self + { + $this->instance->setAcquirerName($value); + return $this; + } + + /** + * Unsets acquirer name field. + */ + public function unsetAcquirerName(): self + { + $this->instance->unsetAcquirerName(); + return $this; + } + + /** + * Sets acquirer affiliation code field. + */ + public function acquirerAffiliationCode(?string $value): self + { + $this->instance->setAcquirerAffiliationCode($value); + return $this; + } + + /** + * Unsets acquirer affiliation code field. + */ + public function unsetAcquirerAffiliationCode(): self + { + $this->instance->unsetAcquirerAffiliationCode(); + return $this; + } + + /** + * Sets acquirer tid field. + */ + public function acquirerTid(?string $value): self + { + $this->instance->setAcquirerTid($value); + return $this; + } + + /** + * Unsets acquirer tid field. + */ + public function unsetAcquirerTid(): self + { + $this->instance->unsetAcquirerTid(); + return $this; + } + + /** + * Sets acquirer nsu field. + */ + public function acquirerNsu(?string $value): self + { + $this->instance->setAcquirerNsu($value); + return $this; + } + + /** + * Unsets acquirer nsu field. + */ + public function unsetAcquirerNsu(): self + { + $this->instance->unsetAcquirerNsu(); + return $this; + } + + /** + * Sets acquirer auth code field. + */ + public function acquirerAuthCode(?string $value): self + { + $this->instance->setAcquirerAuthCode($value); + return $this; + } + + /** + * Unsets acquirer auth code field. + */ + public function unsetAcquirerAuthCode(): self + { + $this->instance->unsetAcquirerAuthCode(); + return $this; + } + + /** + * Sets operation type field. + */ + public function operationType(?string $value): self + { + $this->instance->setOperationType($value); + return $this; + } + + /** + * Unsets operation type field. + */ + public function unsetOperationType(): self + { + $this->instance->unsetOperationType(); + return $this; + } + + /** + * Sets card field. + */ + public function card(?GetCardResponse $value): self + { + $this->instance->setCard($value); + return $this; + } + + /** + * Unsets card field. + */ + public function unsetCard(): self + { + $this->instance->unsetCard(); + return $this; + } + + /** + * Sets acquirer message field. + */ + public function acquirerMessage(?string $value): self + { + $this->instance->setAcquirerMessage($value); + return $this; + } + + /** + * Unsets acquirer message field. + */ + public function unsetAcquirerMessage(): self + { + $this->instance->unsetAcquirerMessage(); + return $this; + } + + /** + * Sets acquirer return code field. + */ + public function acquirerReturnCode(?string $value): self + { + $this->instance->setAcquirerReturnCode($value); + return $this; + } + + /** + * Unsets acquirer return code field. + */ + public function unsetAcquirerReturnCode(): self + { + $this->instance->unsetAcquirerReturnCode(); + return $this; + } + + /** + * Sets mpi field. + */ + public function mpi(?string $value): self + { + $this->instance->setMpi($value); + return $this; + } + + /** + * Unsets mpi field. + */ + public function unsetMpi(): self + { + $this->instance->unsetMpi(); + return $this; + } + + /** + * Sets eci field. + */ + public function eci(?string $value): self + { + $this->instance->setEci($value); + return $this; + } + + /** + * Unsets eci field. + */ + public function unsetEci(): self + { + $this->instance->unsetEci(); + return $this; + } + + /** + * Sets authentication type field. + */ + public function authenticationType(?string $value): self + { + $this->instance->setAuthenticationType($value); + return $this; + } + + /** + * Unsets authentication type field. + */ + public function unsetAuthenticationType(): self + { + $this->instance->unsetAuthenticationType(); + return $this; + } + + /** + * Sets threed authentication url field. + */ + public function threedAuthenticationUrl(?string $value): self + { + $this->instance->setThreedAuthenticationUrl($value); + return $this; + } + + /** + * Unsets threed authentication url field. + */ + public function unsetThreedAuthenticationUrl(): self + { + $this->instance->unsetThreedAuthenticationUrl(); + return $this; + } + + /** + * Sets funding source field. + */ + public function fundingSource(?string $value): self + { + $this->instance->setFundingSource($value); + return $this; + } + + /** + * Unsets funding source field. + */ + public function unsetFundingSource(): self + { + $this->instance->unsetFundingSource(); + return $this; + } + + /** + * Initializes a new get debit card transaction response object. + */ + public function build(): GetDebitCardTransactionResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetDeviceResponseBuilder.php b/src/Models/Builders/GetDeviceResponseBuilder.php new file mode 100644 index 0000000..c7b6e41 --- /dev/null +++ b/src/Models/Builders/GetDeviceResponseBuilder.php @@ -0,0 +1,66 @@ +instance = $instance; + } + + /** + * Initializes a new get device response Builder object. + */ + public static function init(): self + { + return new self(new GetDeviceResponse()); + } + + /** + * Sets platform field. + */ + public function platform(?string $value): self + { + $this->instance->setPlatform($value); + return $this; + } + + /** + * Unsets platform field. + */ + public function unsetPlatform(): self + { + $this->instance->unsetPlatform(); + return $this; + } + + /** + * Initializes a new get device response object. + */ + public function build(): GetDeviceResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetDiscountResponseBuilder.php b/src/Models/Builders/GetDiscountResponseBuilder.php new file mode 100644 index 0000000..f6827c9 --- /dev/null +++ b/src/Models/Builders/GetDiscountResponseBuilder.php @@ -0,0 +1,230 @@ +instance = $instance; + } + + /** + * Initializes a new get discount response Builder object. + */ + public static function init(): self + { + return new self(new GetDiscountResponse()); + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets value field. + */ + public function value(?float $value): self + { + $this->instance->setValue($value); + return $this; + } + + /** + * Unsets value field. + */ + public function unsetValue(): self + { + $this->instance->unsetValue(); + return $this; + } + + /** + * Sets discount type field. + */ + public function discountType(?string $value): self + { + $this->instance->setDiscountType($value); + return $this; + } + + /** + * Unsets discount type field. + */ + public function unsetDiscountType(): self + { + $this->instance->unsetDiscountType(); + return $this; + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Sets created at field. + */ + public function createdAt(?\DateTime $value): self + { + $this->instance->setCreatedAt($value); + return $this; + } + + /** + * Unsets created at field. + */ + public function unsetCreatedAt(): self + { + $this->instance->unsetCreatedAt(); + return $this; + } + + /** + * Sets cycles field. + */ + public function cycles(?int $value): self + { + $this->instance->setCycles($value); + return $this; + } + + /** + * Unsets cycles field. + */ + public function unsetCycles(): self + { + $this->instance->unsetCycles(); + return $this; + } + + /** + * Sets deleted at field. + */ + public function deletedAt(?\DateTime $value): self + { + $this->instance->setDeletedAt($value); + return $this; + } + + /** + * Unsets deleted at field. + */ + public function unsetDeletedAt(): self + { + $this->instance->unsetDeletedAt(); + return $this; + } + + /** + * Sets description field. + */ + public function description(?string $value): self + { + $this->instance->setDescription($value); + return $this; + } + + /** + * Unsets description field. + */ + public function unsetDescription(): self + { + $this->instance->unsetDescription(); + return $this; + } + + /** + * Sets subscription field. + */ + public function subscription(?GetSubscriptionResponse $value): self + { + $this->instance->setSubscription($value); + return $this; + } + + /** + * Unsets subscription field. + */ + public function unsetSubscription(): self + { + $this->instance->unsetSubscription(); + return $this; + } + + /** + * Sets subscription item field. + */ + public function subscriptionItem(?GetSubscriptionItemResponse $value): self + { + $this->instance->setSubscriptionItem($value); + return $this; + } + + /** + * Unsets subscription item field. + */ + public function unsetSubscriptionItem(): self + { + $this->instance->unsetSubscriptionItem(); + return $this; + } + + /** + * Initializes a new get discount response object. + */ + public function build(): GetDiscountResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetFineResponseBuilder.php b/src/Models/Builders/GetFineResponseBuilder.php new file mode 100644 index 0000000..71d964e --- /dev/null +++ b/src/Models/Builders/GetFineResponseBuilder.php @@ -0,0 +1,102 @@ +instance = $instance; + } + + /** + * Initializes a new get fine response Builder object. + */ + public static function init(): self + { + return new self(new GetFineResponse()); + } + + /** + * Sets days field. + */ + public function days(?int $value): self + { + $this->instance->setDays($value); + return $this; + } + + /** + * Unsets days field. + */ + public function unsetDays(): self + { + $this->instance->unsetDays(); + return $this; + } + + /** + * Sets type field. + */ + public function type(?string $value): self + { + $this->instance->setType($value); + return $this; + } + + /** + * Unsets type field. + */ + public function unsetType(): self + { + $this->instance->unsetType(); + return $this; + } + + /** + * Sets amount field. + */ + public function amount(?int $value): self + { + $this->instance->setAmount($value); + return $this; + } + + /** + * Unsets amount field. + */ + public function unsetAmount(): self + { + $this->instance->unsetAmount(); + return $this; + } + + /** + * Initializes a new get fine response object. + */ + public function build(): GetFineResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetGatewayErrorResponseBuilder.php b/src/Models/Builders/GetGatewayErrorResponseBuilder.php new file mode 100644 index 0000000..658bc1c --- /dev/null +++ b/src/Models/Builders/GetGatewayErrorResponseBuilder.php @@ -0,0 +1,66 @@ +instance = $instance; + } + + /** + * Initializes a new get gateway error response Builder object. + */ + public static function init(): self + { + return new self(new GetGatewayErrorResponse()); + } + + /** + * Sets message field. + */ + public function message(?string $value): self + { + $this->instance->setMessage($value); + return $this; + } + + /** + * Unsets message field. + */ + public function unsetMessage(): self + { + $this->instance->unsetMessage(); + return $this; + } + + /** + * Initializes a new get gateway error response object. + */ + public function build(): GetGatewayErrorResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetGatewayRecipientResponseBuilder.php b/src/Models/Builders/GetGatewayRecipientResponseBuilder.php new file mode 100644 index 0000000..07352cc --- /dev/null +++ b/src/Models/Builders/GetGatewayRecipientResponseBuilder.php @@ -0,0 +1,138 @@ +instance = $instance; + } + + /** + * Initializes a new get gateway recipient response Builder object. + */ + public static function init(): self + { + return new self(new GetGatewayRecipientResponse()); + } + + /** + * Sets gateway field. + */ + public function gateway(?string $value): self + { + $this->instance->setGateway($value); + return $this; + } + + /** + * Unsets gateway field. + */ + public function unsetGateway(): self + { + $this->instance->unsetGateway(); + return $this; + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Sets pgid field. + */ + public function pgid(?string $value): self + { + $this->instance->setPgid($value); + return $this; + } + + /** + * Unsets pgid field. + */ + public function unsetPgid(): self + { + $this->instance->unsetPgid(); + return $this; + } + + /** + * Sets created at field. + */ + public function createdAt(?string $value): self + { + $this->instance->setCreatedAt($value); + return $this; + } + + /** + * Unsets created at field. + */ + public function unsetCreatedAt(): self + { + $this->instance->unsetCreatedAt(); + return $this; + } + + /** + * Sets updated at field. + */ + public function updatedAt(?string $value): self + { + $this->instance->setUpdatedAt($value); + return $this; + } + + /** + * Unsets updated at field. + */ + public function unsetUpdatedAt(): self + { + $this->instance->unsetUpdatedAt(); + return $this; + } + + /** + * Initializes a new get gateway recipient response object. + */ + public function build(): GetGatewayRecipientResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetGatewayResponseResponseBuilder.php b/src/Models/Builders/GetGatewayResponseResponseBuilder.php new file mode 100644 index 0000000..0a8581c --- /dev/null +++ b/src/Models/Builders/GetGatewayResponseResponseBuilder.php @@ -0,0 +1,84 @@ +instance = $instance; + } + + /** + * Initializes a new get gateway response response Builder object. + */ + public static function init(): self + { + return new self(new GetGatewayResponseResponse()); + } + + /** + * Sets code field. + */ + public function code(?string $value): self + { + $this->instance->setCode($value); + return $this; + } + + /** + * Unsets code field. + */ + public function unsetCode(): self + { + $this->instance->unsetCode(); + return $this; + } + + /** + * Sets errors field. + */ + public function errors(?array $value): self + { + $this->instance->setErrors($value); + return $this; + } + + /** + * Unsets errors field. + */ + public function unsetErrors(): self + { + $this->instance->unsetErrors(); + return $this; + } + + /** + * Initializes a new get gateway response response object. + */ + public function build(): GetGatewayResponseResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetIncrementResponseBuilder.php b/src/Models/Builders/GetIncrementResponseBuilder.php new file mode 100644 index 0000000..f0d4598 --- /dev/null +++ b/src/Models/Builders/GetIncrementResponseBuilder.php @@ -0,0 +1,230 @@ +instance = $instance; + } + + /** + * Initializes a new get increment response Builder object. + */ + public static function init(): self + { + return new self(new GetIncrementResponse()); + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets value field. + */ + public function value(?float $value): self + { + $this->instance->setValue($value); + return $this; + } + + /** + * Unsets value field. + */ + public function unsetValue(): self + { + $this->instance->unsetValue(); + return $this; + } + + /** + * Sets increment type field. + */ + public function incrementType(?string $value): self + { + $this->instance->setIncrementType($value); + return $this; + } + + /** + * Unsets increment type field. + */ + public function unsetIncrementType(): self + { + $this->instance->unsetIncrementType(); + return $this; + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Sets created at field. + */ + public function createdAt(?\DateTime $value): self + { + $this->instance->setCreatedAt($value); + return $this; + } + + /** + * Unsets created at field. + */ + public function unsetCreatedAt(): self + { + $this->instance->unsetCreatedAt(); + return $this; + } + + /** + * Sets cycles field. + */ + public function cycles(?int $value): self + { + $this->instance->setCycles($value); + return $this; + } + + /** + * Unsets cycles field. + */ + public function unsetCycles(): self + { + $this->instance->unsetCycles(); + return $this; + } + + /** + * Sets deleted at field. + */ + public function deletedAt(?\DateTime $value): self + { + $this->instance->setDeletedAt($value); + return $this; + } + + /** + * Unsets deleted at field. + */ + public function unsetDeletedAt(): self + { + $this->instance->unsetDeletedAt(); + return $this; + } + + /** + * Sets description field. + */ + public function description(?string $value): self + { + $this->instance->setDescription($value); + return $this; + } + + /** + * Unsets description field. + */ + public function unsetDescription(): self + { + $this->instance->unsetDescription(); + return $this; + } + + /** + * Sets subscription field. + */ + public function subscription(?GetSubscriptionResponse $value): self + { + $this->instance->setSubscription($value); + return $this; + } + + /** + * Unsets subscription field. + */ + public function unsetSubscription(): self + { + $this->instance->unsetSubscription(); + return $this; + } + + /** + * Sets subscription item field. + */ + public function subscriptionItem(?GetSubscriptionItemResponse $value): self + { + $this->instance->setSubscriptionItem($value); + return $this; + } + + /** + * Unsets subscription item field. + */ + public function unsetSubscriptionItem(): self + { + $this->instance->unsetSubscriptionItem(); + return $this; + } + + /** + * Initializes a new get increment response object. + */ + public function build(): GetIncrementResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetInterestResponseBuilder.php b/src/Models/Builders/GetInterestResponseBuilder.php new file mode 100644 index 0000000..6f8fe0a --- /dev/null +++ b/src/Models/Builders/GetInterestResponseBuilder.php @@ -0,0 +1,102 @@ +instance = $instance; + } + + /** + * Initializes a new get interest response Builder object. + */ + public static function init(): self + { + return new self(new GetInterestResponse()); + } + + /** + * Sets days field. + */ + public function days(?int $value): self + { + $this->instance->setDays($value); + return $this; + } + + /** + * Unsets days field. + */ + public function unsetDays(): self + { + $this->instance->unsetDays(); + return $this; + } + + /** + * Sets type field. + */ + public function type(?string $value): self + { + $this->instance->setType($value); + return $this; + } + + /** + * Unsets type field. + */ + public function unsetType(): self + { + $this->instance->unsetType(); + return $this; + } + + /** + * Sets amount field. + */ + public function amount(?int $value): self + { + $this->instance->setAmount($value); + return $this; + } + + /** + * Unsets amount field. + */ + public function unsetAmount(): self + { + $this->instance->unsetAmount(); + return $this; + } + + /** + * Initializes a new get interest response object. + */ + public function build(): GetInterestResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetInvoiceItemResponseBuilder.php b/src/Models/Builders/GetInvoiceItemResponseBuilder.php new file mode 100644 index 0000000..5102179 --- /dev/null +++ b/src/Models/Builders/GetInvoiceItemResponseBuilder.php @@ -0,0 +1,176 @@ +instance = $instance; + } + + /** + * Initializes a new get invoice item response Builder object. + */ + public static function init(): self + { + return new self(new GetInvoiceItemResponse()); + } + + /** + * Sets amount field. + */ + public function amount(?int $value): self + { + $this->instance->setAmount($value); + return $this; + } + + /** + * Unsets amount field. + */ + public function unsetAmount(): self + { + $this->instance->unsetAmount(); + return $this; + } + + /** + * Sets description field. + */ + public function description(?string $value): self + { + $this->instance->setDescription($value); + return $this; + } + + /** + * Unsets description field. + */ + public function unsetDescription(): self + { + $this->instance->unsetDescription(); + return $this; + } + + /** + * Sets pricing scheme field. + */ + public function pricingScheme(?GetPricingSchemeResponse $value): self + { + $this->instance->setPricingScheme($value); + return $this; + } + + /** + * Unsets pricing scheme field. + */ + public function unsetPricingScheme(): self + { + $this->instance->unsetPricingScheme(); + return $this; + } + + /** + * Sets price bracket field. + */ + public function priceBracket(?GetPriceBracketResponse $value): self + { + $this->instance->setPriceBracket($value); + return $this; + } + + /** + * Unsets price bracket field. + */ + public function unsetPriceBracket(): self + { + $this->instance->unsetPriceBracket(); + return $this; + } + + /** + * Sets quantity field. + */ + public function quantity(?int $value): self + { + $this->instance->setQuantity($value); + return $this; + } + + /** + * Unsets quantity field. + */ + public function unsetQuantity(): self + { + $this->instance->unsetQuantity(); + return $this; + } + + /** + * Sets name field. + */ + public function name(?string $value): self + { + $this->instance->setName($value); + return $this; + } + + /** + * Unsets name field. + */ + public function unsetName(): self + { + $this->instance->unsetName(); + return $this; + } + + /** + * Sets subscription item id field. + */ + public function subscriptionItemId(?string $value): self + { + $this->instance->setSubscriptionItemId($value); + return $this; + } + + /** + * Unsets subscription item id field. + */ + public function unsetSubscriptionItemId(): self + { + $this->instance->unsetSubscriptionItemId(); + return $this; + } + + /** + * Initializes a new get invoice item response object. + */ + public function build(): GetInvoiceItemResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetInvoiceResponseBuilder.php b/src/Models/Builders/GetInvoiceResponseBuilder.php new file mode 100644 index 0000000..b6bb1c5 --- /dev/null +++ b/src/Models/Builders/GetInvoiceResponseBuilder.php @@ -0,0 +1,468 @@ +instance = $instance; + } + + /** + * Initializes a new get invoice response Builder object. + */ + public static function init(): self + { + return new self(new GetInvoiceResponse()); + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets code field. + */ + public function code(?string $value): self + { + $this->instance->setCode($value); + return $this; + } + + /** + * Unsets code field. + */ + public function unsetCode(): self + { + $this->instance->unsetCode(); + return $this; + } + + /** + * Sets url field. + */ + public function url(?string $value): self + { + $this->instance->setUrl($value); + return $this; + } + + /** + * Unsets url field. + */ + public function unsetUrl(): self + { + $this->instance->unsetUrl(); + return $this; + } + + /** + * Sets amount field. + */ + public function amount(?int $value): self + { + $this->instance->setAmount($value); + return $this; + } + + /** + * Unsets amount field. + */ + public function unsetAmount(): self + { + $this->instance->unsetAmount(); + return $this; + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Sets payment method field. + */ + public function paymentMethod(?string $value): self + { + $this->instance->setPaymentMethod($value); + return $this; + } + + /** + * Unsets payment method field. + */ + public function unsetPaymentMethod(): self + { + $this->instance->unsetPaymentMethod(); + return $this; + } + + /** + * Sets created at field. + */ + public function createdAt(?\DateTime $value): self + { + $this->instance->setCreatedAt($value); + return $this; + } + + /** + * Unsets created at field. + */ + public function unsetCreatedAt(): self + { + $this->instance->unsetCreatedAt(); + return $this; + } + + /** + * Sets items field. + */ + public function items(?array $value): self + { + $this->instance->setItems($value); + return $this; + } + + /** + * Unsets items field. + */ + public function unsetItems(): self + { + $this->instance->unsetItems(); + return $this; + } + + /** + * Sets customer field. + */ + public function customer(?GetCustomerResponse $value): self + { + $this->instance->setCustomer($value); + return $this; + } + + /** + * Unsets customer field. + */ + public function unsetCustomer(): self + { + $this->instance->unsetCustomer(); + return $this; + } + + /** + * Sets charge field. + */ + public function charge(?GetChargeResponse $value): self + { + $this->instance->setCharge($value); + return $this; + } + + /** + * Unsets charge field. + */ + public function unsetCharge(): self + { + $this->instance->unsetCharge(); + return $this; + } + + /** + * Sets installments field. + */ + public function installments(?int $value): self + { + $this->instance->setInstallments($value); + return $this; + } + + /** + * Unsets installments field. + */ + public function unsetInstallments(): self + { + $this->instance->unsetInstallments(); + return $this; + } + + /** + * Sets billing address field. + */ + public function billingAddress(?GetBillingAddressResponse $value): self + { + $this->instance->setBillingAddress($value); + return $this; + } + + /** + * Unsets billing address field. + */ + public function unsetBillingAddress(): self + { + $this->instance->unsetBillingAddress(); + return $this; + } + + /** + * Sets subscription field. + */ + public function subscription(?GetSubscriptionResponse $value): self + { + $this->instance->setSubscription($value); + return $this; + } + + /** + * Unsets subscription field. + */ + public function unsetSubscription(): self + { + $this->instance->unsetSubscription(); + return $this; + } + + /** + * Sets cycle field. + */ + public function cycle(?GetPeriodResponse $value): self + { + $this->instance->setCycle($value); + return $this; + } + + /** + * Unsets cycle field. + */ + public function unsetCycle(): self + { + $this->instance->unsetCycle(); + return $this; + } + + /** + * Sets shipping field. + */ + public function shipping(?GetShippingResponse $value): self + { + $this->instance->setShipping($value); + return $this; + } + + /** + * Unsets shipping field. + */ + public function unsetShipping(): self + { + $this->instance->unsetShipping(); + return $this; + } + + /** + * Sets metadata field. + */ + public function metadata(?array $value): self + { + $this->instance->setMetadata($value); + return $this; + } + + /** + * Unsets metadata field. + */ + public function unsetMetadata(): self + { + $this->instance->unsetMetadata(); + return $this; + } + + /** + * Sets due at field. + */ + public function dueAt(?\DateTime $value): self + { + $this->instance->setDueAt($value); + return $this; + } + + /** + * Unsets due at field. + */ + public function unsetDueAt(): self + { + $this->instance->unsetDueAt(); + return $this; + } + + /** + * Sets canceled at field. + */ + public function canceledAt(?\DateTime $value): self + { + $this->instance->setCanceledAt($value); + return $this; + } + + /** + * Unsets canceled at field. + */ + public function unsetCanceledAt(): self + { + $this->instance->unsetCanceledAt(); + return $this; + } + + /** + * Sets billing at field. + */ + public function billingAt(?\DateTime $value): self + { + $this->instance->setBillingAt($value); + return $this; + } + + /** + * Unsets billing at field. + */ + public function unsetBillingAt(): self + { + $this->instance->unsetBillingAt(); + return $this; + } + + /** + * Sets seen at field. + */ + public function seenAt(?\DateTime $value): self + { + $this->instance->setSeenAt($value); + return $this; + } + + /** + * Unsets seen at field. + */ + public function unsetSeenAt(): self + { + $this->instance->unsetSeenAt(); + return $this; + } + + /** + * Sets total discount field. + */ + public function totalDiscount(?int $value): self + { + $this->instance->setTotalDiscount($value); + return $this; + } + + /** + * Unsets total discount field. + */ + public function unsetTotalDiscount(): self + { + $this->instance->unsetTotalDiscount(); + return $this; + } + + /** + * Sets total increment field. + */ + public function totalIncrement(?int $value): self + { + $this->instance->setTotalIncrement($value); + return $this; + } + + /** + * Unsets total increment field. + */ + public function unsetTotalIncrement(): self + { + $this->instance->unsetTotalIncrement(); + return $this; + } + + /** + * Sets subscription id field. + */ + public function subscriptionId(?string $value): self + { + $this->instance->setSubscriptionId($value); + return $this; + } + + /** + * Unsets subscription id field. + */ + public function unsetSubscriptionId(): self + { + $this->instance->unsetSubscriptionId(); + return $this; + } + + /** + * Initializes a new get invoice response object. + */ + public function build(): GetInvoiceResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetLocationResponseBuilder.php b/src/Models/Builders/GetLocationResponseBuilder.php new file mode 100644 index 0000000..36f867e --- /dev/null +++ b/src/Models/Builders/GetLocationResponseBuilder.php @@ -0,0 +1,84 @@ +instance = $instance; + } + + /** + * Initializes a new get location response Builder object. + */ + public static function init(): self + { + return new self(new GetLocationResponse()); + } + + /** + * Sets latitude field. + */ + public function latitude(?string $value): self + { + $this->instance->setLatitude($value); + return $this; + } + + /** + * Unsets latitude field. + */ + public function unsetLatitude(): self + { + $this->instance->unsetLatitude(); + return $this; + } + + /** + * Sets longitude field. + */ + public function longitude(?string $value): self + { + $this->instance->setLongitude($value); + return $this; + } + + /** + * Unsets longitude field. + */ + public function unsetLongitude(): self + { + $this->instance->unsetLongitude(); + return $this; + } + + /** + * Initializes a new get location response object. + */ + public function build(): GetLocationResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetOrderItemResponseBuilder.php b/src/Models/Builders/GetOrderItemResponseBuilder.php new file mode 100644 index 0000000..7ebff8c --- /dev/null +++ b/src/Models/Builders/GetOrderItemResponseBuilder.php @@ -0,0 +1,156 @@ +instance = $instance; + } + + /** + * Initializes a new get order item response Builder object. + */ + public static function init(): self + { + return new self(new GetOrderItemResponse()); + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets amount field. + */ + public function amount(?int $value): self + { + $this->instance->setAmount($value); + return $this; + } + + /** + * Unsets amount field. + */ + public function unsetAmount(): self + { + $this->instance->unsetAmount(); + return $this; + } + + /** + * Sets description field. + */ + public function description(?string $value): self + { + $this->instance->setDescription($value); + return $this; + } + + /** + * Unsets description field. + */ + public function unsetDescription(): self + { + $this->instance->unsetDescription(); + return $this; + } + + /** + * Sets quantity field. + */ + public function quantity(?int $value): self + { + $this->instance->setQuantity($value); + return $this; + } + + /** + * Unsets quantity field. + */ + public function unsetQuantity(): self + { + $this->instance->unsetQuantity(); + return $this; + } + + /** + * Sets category field. + */ + public function category(?string $value): self + { + $this->instance->setCategory($value); + return $this; + } + + /** + * Unsets category field. + */ + public function unsetCategory(): self + { + $this->instance->unsetCategory(); + return $this; + } + + /** + * Sets code field. + */ + public function code(?string $value): self + { + $this->instance->setCode($value); + return $this; + } + + /** + * Unsets code field. + */ + public function unsetCode(): self + { + $this->instance->unsetCode(); + return $this; + } + + /** + * Initializes a new get order item response object. + */ + public function build(): GetOrderItemResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetOrderResponseBuilder.php b/src/Models/Builders/GetOrderResponseBuilder.php new file mode 100644 index 0000000..43a037c --- /dev/null +++ b/src/Models/Builders/GetOrderResponseBuilder.php @@ -0,0 +1,376 @@ +instance = $instance; + } + + /** + * Initializes a new get order response Builder object. + */ + public static function init(): self + { + return new self(new GetOrderResponse()); + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets code field. + */ + public function code(?string $value): self + { + $this->instance->setCode($value); + return $this; + } + + /** + * Unsets code field. + */ + public function unsetCode(): self + { + $this->instance->unsetCode(); + return $this; + } + + /** + * Sets currency field. + */ + public function currency(?string $value): self + { + $this->instance->setCurrency($value); + return $this; + } + + /** + * Unsets currency field. + */ + public function unsetCurrency(): self + { + $this->instance->unsetCurrency(); + return $this; + } + + /** + * Sets items field. + */ + public function items(?array $value): self + { + $this->instance->setItems($value); + return $this; + } + + /** + * Unsets items field. + */ + public function unsetItems(): self + { + $this->instance->unsetItems(); + return $this; + } + + /** + * Sets customer field. + */ + public function customer(?GetCustomerResponse $value): self + { + $this->instance->setCustomer($value); + return $this; + } + + /** + * Unsets customer field. + */ + public function unsetCustomer(): self + { + $this->instance->unsetCustomer(); + return $this; + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Sets created at field. + */ + public function createdAt(?\DateTime $value): self + { + $this->instance->setCreatedAt($value); + return $this; + } + + /** + * Unsets created at field. + */ + public function unsetCreatedAt(): self + { + $this->instance->unsetCreatedAt(); + return $this; + } + + /** + * Sets updated at field. + */ + public function updatedAt(?\DateTime $value): self + { + $this->instance->setUpdatedAt($value); + return $this; + } + + /** + * Unsets updated at field. + */ + public function unsetUpdatedAt(): self + { + $this->instance->unsetUpdatedAt(); + return $this; + } + + /** + * Sets charges field. + */ + public function charges(?array $value): self + { + $this->instance->setCharges($value); + return $this; + } + + /** + * Unsets charges field. + */ + public function unsetCharges(): self + { + $this->instance->unsetCharges(); + return $this; + } + + /** + * Sets invoice url field. + */ + public function invoiceUrl(?string $value): self + { + $this->instance->setInvoiceUrl($value); + return $this; + } + + /** + * Unsets invoice url field. + */ + public function unsetInvoiceUrl(): self + { + $this->instance->unsetInvoiceUrl(); + return $this; + } + + /** + * Sets shipping field. + */ + public function shipping(?GetShippingResponse $value): self + { + $this->instance->setShipping($value); + return $this; + } + + /** + * Unsets shipping field. + */ + public function unsetShipping(): self + { + $this->instance->unsetShipping(); + return $this; + } + + /** + * Sets metadata field. + */ + public function metadata(?array $value): self + { + $this->instance->setMetadata($value); + return $this; + } + + /** + * Unsets metadata field. + */ + public function unsetMetadata(): self + { + $this->instance->unsetMetadata(); + return $this; + } + + /** + * Sets checkouts field. + */ + public function checkouts(?array $value): self + { + $this->instance->setCheckouts($value); + return $this; + } + + /** + * Unsets checkouts field. + */ + public function unsetCheckouts(): self + { + $this->instance->unsetCheckouts(); + return $this; + } + + /** + * Sets ip field. + */ + public function ip(?string $value): self + { + $this->instance->setIp($value); + return $this; + } + + /** + * Unsets ip field. + */ + public function unsetIp(): self + { + $this->instance->unsetIp(); + return $this; + } + + /** + * Sets session id field. + */ + public function sessionId(?string $value): self + { + $this->instance->setSessionId($value); + return $this; + } + + /** + * Unsets session id field. + */ + public function unsetSessionId(): self + { + $this->instance->unsetSessionId(); + return $this; + } + + /** + * Sets location field. + */ + public function location(?GetLocationResponse $value): self + { + $this->instance->setLocation($value); + return $this; + } + + /** + * Unsets location field. + */ + public function unsetLocation(): self + { + $this->instance->unsetLocation(); + return $this; + } + + /** + * Sets device field. + */ + public function device(?GetDeviceResponse $value): self + { + $this->instance->setDevice($value); + return $this; + } + + /** + * Unsets device field. + */ + public function unsetDevice(): self + { + $this->instance->unsetDevice(); + return $this; + } + + /** + * Sets closed field. + */ + public function closed(?bool $value): self + { + $this->instance->setClosed($value); + return $this; + } + + /** + * Unsets closed field. + */ + public function unsetClosed(): self + { + $this->instance->unsetClosed(); + return $this; + } + + /** + * Initializes a new get order response object. + */ + public function build(): GetOrderResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetPaymentAuthenticationResponseBuilder.php b/src/Models/Builders/GetPaymentAuthenticationResponseBuilder.php new file mode 100644 index 0000000..04aafdf --- /dev/null +++ b/src/Models/Builders/GetPaymentAuthenticationResponseBuilder.php @@ -0,0 +1,85 @@ +instance = $instance; + } + + /** + * Initializes a new get payment authentication response Builder object. + */ + public static function init(): self + { + return new self(new GetPaymentAuthenticationResponse()); + } + + /** + * Sets type field. + */ + public function type(?string $value): self + { + $this->instance->setType($value); + return $this; + } + + /** + * Unsets type field. + */ + public function unsetType(): self + { + $this->instance->unsetType(); + return $this; + } + + /** + * Sets threed secure field. + */ + public function threedSecure(?GetThreeDSecureResponse $value): self + { + $this->instance->setThreedSecure($value); + return $this; + } + + /** + * Unsets threed secure field. + */ + public function unsetThreedSecure(): self + { + $this->instance->unsetThreedSecure(); + return $this; + } + + /** + * Initializes a new get payment authentication response object. + */ + public function build(): GetPaymentAuthenticationResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetPeriodResponseBuilder.php b/src/Models/Builders/GetPeriodResponseBuilder.php new file mode 100644 index 0000000..c9dd84e --- /dev/null +++ b/src/Models/Builders/GetPeriodResponseBuilder.php @@ -0,0 +1,229 @@ +instance = $instance; + } + + /** + * Initializes a new get period response Builder object. + */ + public static function init(): self + { + return new self(new GetPeriodResponse()); + } + + /** + * Sets start at field. + */ + public function startAt(?\DateTime $value): self + { + $this->instance->setStartAt($value); + return $this; + } + + /** + * Unsets start at field. + */ + public function unsetStartAt(): self + { + $this->instance->unsetStartAt(); + return $this; + } + + /** + * Sets end at field. + */ + public function endAt(?\DateTime $value): self + { + $this->instance->setEndAt($value); + return $this; + } + + /** + * Unsets end at field. + */ + public function unsetEndAt(): self + { + $this->instance->unsetEndAt(); + return $this; + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets billing at field. + */ + public function billingAt(?\DateTime $value): self + { + $this->instance->setBillingAt($value); + return $this; + } + + /** + * Unsets billing at field. + */ + public function unsetBillingAt(): self + { + $this->instance->unsetBillingAt(); + return $this; + } + + /** + * Sets subscription field. + */ + public function subscription(?GetSubscriptionResponse $value): self + { + $this->instance->setSubscription($value); + return $this; + } + + /** + * Unsets subscription field. + */ + public function unsetSubscription(): self + { + $this->instance->unsetSubscription(); + return $this; + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Sets duration field. + */ + public function duration(?int $value): self + { + $this->instance->setDuration($value); + return $this; + } + + /** + * Unsets duration field. + */ + public function unsetDuration(): self + { + $this->instance->unsetDuration(); + return $this; + } + + /** + * Sets created at field. + */ + public function createdAt(?string $value): self + { + $this->instance->setCreatedAt($value); + return $this; + } + + /** + * Unsets created at field. + */ + public function unsetCreatedAt(): self + { + $this->instance->unsetCreatedAt(); + return $this; + } + + /** + * Sets updated at field. + */ + public function updatedAt(?string $value): self + { + $this->instance->setUpdatedAt($value); + return $this; + } + + /** + * Unsets updated at field. + */ + public function unsetUpdatedAt(): self + { + $this->instance->unsetUpdatedAt(); + return $this; + } + + /** + * Sets cycle field. + */ + public function cycle(?int $value): self + { + $this->instance->setCycle($value); + return $this; + } + + /** + * Unsets cycle field. + */ + public function unsetCycle(): self + { + $this->instance->unsetCycle(); + return $this; + } + + /** + * Initializes a new get period response object. + */ + public function build(): GetPeriodResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetPhoneResponseBuilder.php b/src/Models/Builders/GetPhoneResponseBuilder.php new file mode 100644 index 0000000..0171fa0 --- /dev/null +++ b/src/Models/Builders/GetPhoneResponseBuilder.php @@ -0,0 +1,102 @@ +instance = $instance; + } + + /** + * Initializes a new get phone response Builder object. + */ + public static function init(): self + { + return new self(new GetPhoneResponse()); + } + + /** + * Sets country code field. + */ + public function countryCode(?string $value): self + { + $this->instance->setCountryCode($value); + return $this; + } + + /** + * Unsets country code field. + */ + public function unsetCountryCode(): self + { + $this->instance->unsetCountryCode(); + return $this; + } + + /** + * Sets number field. + */ + public function number(?string $value): self + { + $this->instance->setNumber($value); + return $this; + } + + /** + * Unsets number field. + */ + public function unsetNumber(): self + { + $this->instance->unsetNumber(); + return $this; + } + + /** + * Sets area code field. + */ + public function areaCode(?string $value): self + { + $this->instance->setAreaCode($value); + return $this; + } + + /** + * Unsets area code field. + */ + public function unsetAreaCode(): self + { + $this->instance->unsetAreaCode(); + return $this; + } + + /** + * Initializes a new get phone response object. + */ + public function build(): GetPhoneResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetPhonesResponseBuilder.php b/src/Models/Builders/GetPhonesResponseBuilder.php new file mode 100644 index 0000000..61d45cb --- /dev/null +++ b/src/Models/Builders/GetPhonesResponseBuilder.php @@ -0,0 +1,85 @@ +instance = $instance; + } + + /** + * Initializes a new get phones response Builder object. + */ + public static function init(): self + { + return new self(new GetPhonesResponse()); + } + + /** + * Sets home phone field. + */ + public function homePhone(?GetPhoneResponse $value): self + { + $this->instance->setHomePhone($value); + return $this; + } + + /** + * Unsets home phone field. + */ + public function unsetHomePhone(): self + { + $this->instance->unsetHomePhone(); + return $this; + } + + /** + * Sets mobile phone field. + */ + public function mobilePhone(?GetPhoneResponse $value): self + { + $this->instance->setMobilePhone($value); + return $this; + } + + /** + * Unsets mobile phone field. + */ + public function unsetMobilePhone(): self + { + $this->instance->unsetMobilePhone(); + return $this; + } + + /** + * Initializes a new get phones response object. + */ + public function build(): GetPhonesResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetPixBankAccountResponseBuilder.php b/src/Models/Builders/GetPixBankAccountResponseBuilder.php new file mode 100644 index 0000000..ed75769 --- /dev/null +++ b/src/Models/Builders/GetPixBankAccountResponseBuilder.php @@ -0,0 +1,120 @@ +instance = $instance; + } + + /** + * Initializes a new get pix bank account response Builder object. + */ + public static function init(): self + { + return new self(new GetPixBankAccountResponse()); + } + + /** + * Sets bank name field. + */ + public function bankName(?string $value): self + { + $this->instance->setBankName($value); + return $this; + } + + /** + * Unsets bank name field. + */ + public function unsetBankName(): self + { + $this->instance->unsetBankName(); + return $this; + } + + /** + * Sets ispb field. + */ + public function ispb(?string $value): self + { + $this->instance->setIspb($value); + return $this; + } + + /** + * Unsets ispb field. + */ + public function unsetIspb(): self + { + $this->instance->unsetIspb(); + return $this; + } + + /** + * Sets branch code field. + */ + public function branchCode(?string $value): self + { + $this->instance->setBranchCode($value); + return $this; + } + + /** + * Unsets branch code field. + */ + public function unsetBranchCode(): self + { + $this->instance->unsetBranchCode(); + return $this; + } + + /** + * Sets account number field. + */ + public function accountNumber(?string $value): self + { + $this->instance->setAccountNumber($value); + return $this; + } + + /** + * Unsets account number field. + */ + public function unsetAccountNumber(): self + { + $this->instance->unsetAccountNumber(); + return $this; + } + + /** + * Initializes a new get pix bank account response object. + */ + public function build(): GetPixBankAccountResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetPixPayerResponseBuilder.php b/src/Models/Builders/GetPixPayerResponseBuilder.php new file mode 100644 index 0000000..2616747 --- /dev/null +++ b/src/Models/Builders/GetPixPayerResponseBuilder.php @@ -0,0 +1,121 @@ +instance = $instance; + } + + /** + * Initializes a new get pix payer response Builder object. + */ + public static function init(): self + { + return new self(new GetPixPayerResponse()); + } + + /** + * Sets name field. + */ + public function name(?string $value): self + { + $this->instance->setName($value); + return $this; + } + + /** + * Unsets name field. + */ + public function unsetName(): self + { + $this->instance->unsetName(); + return $this; + } + + /** + * Sets document field. + */ + public function document(?string $value): self + { + $this->instance->setDocument($value); + return $this; + } + + /** + * Unsets document field. + */ + public function unsetDocument(): self + { + $this->instance->unsetDocument(); + return $this; + } + + /** + * Sets document type field. + */ + public function documentType(?string $value): self + { + $this->instance->setDocumentType($value); + return $this; + } + + /** + * Unsets document type field. + */ + public function unsetDocumentType(): self + { + $this->instance->unsetDocumentType(); + return $this; + } + + /** + * Sets bank account field. + */ + public function bankAccount(?GetPixBankAccountResponse $value): self + { + $this->instance->setBankAccount($value); + return $this; + } + + /** + * Unsets bank account field. + */ + public function unsetBankAccount(): self + { + $this->instance->unsetBankAccount(); + return $this; + } + + /** + * Initializes a new get pix payer response object. + */ + public function build(): GetPixPayerResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetPixTransactionResponseBuilder.php b/src/Models/Builders/GetPixTransactionResponseBuilder.php new file mode 100644 index 0000000..be0c95e --- /dev/null +++ b/src/Models/Builders/GetPixTransactionResponseBuilder.php @@ -0,0 +1,494 @@ +instance = $instance; + } + + /** + * Initializes a new get pix transaction response Builder object. + */ + public static function init(): self + { + return new self(new GetPixTransactionResponse()); + } + + /** + * Sets gateway id field. + */ + public function gatewayId(?string $value): self + { + $this->instance->setGatewayId($value); + return $this; + } + + /** + * Unsets gateway id field. + */ + public function unsetGatewayId(): self + { + $this->instance->unsetGatewayId(); + return $this; + } + + /** + * Sets amount field. + */ + public function amount(?int $value): self + { + $this->instance->setAmount($value); + return $this; + } + + /** + * Unsets amount field. + */ + public function unsetAmount(): self + { + $this->instance->unsetAmount(); + return $this; + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Sets success field. + */ + public function success(?bool $value): self + { + $this->instance->setSuccess($value); + return $this; + } + + /** + * Unsets success field. + */ + public function unsetSuccess(): self + { + $this->instance->unsetSuccess(); + return $this; + } + + /** + * Sets created at field. + */ + public function createdAt(?\DateTime $value): self + { + $this->instance->setCreatedAt($value); + return $this; + } + + /** + * Unsets created at field. + */ + public function unsetCreatedAt(): self + { + $this->instance->unsetCreatedAt(); + return $this; + } + + /** + * Sets updated at field. + */ + public function updatedAt(?\DateTime $value): self + { + $this->instance->setUpdatedAt($value); + return $this; + } + + /** + * Unsets updated at field. + */ + public function unsetUpdatedAt(): self + { + $this->instance->unsetUpdatedAt(); + return $this; + } + + /** + * Sets attempt count field. + */ + public function attemptCount(?int $value): self + { + $this->instance->setAttemptCount($value); + return $this; + } + + /** + * Unsets attempt count field. + */ + public function unsetAttemptCount(): self + { + $this->instance->unsetAttemptCount(); + return $this; + } + + /** + * Sets max attempts field. + */ + public function maxAttempts(?int $value): self + { + $this->instance->setMaxAttempts($value); + return $this; + } + + /** + * Unsets max attempts field. + */ + public function unsetMaxAttempts(): self + { + $this->instance->unsetMaxAttempts(); + return $this; + } + + /** + * Sets splits field. + */ + public function splits(?array $value): self + { + $this->instance->setSplits($value); + return $this; + } + + /** + * Unsets splits field. + */ + public function unsetSplits(): self + { + $this->instance->unsetSplits(); + return $this; + } + + /** + * Sets next attempt field. + */ + public function nextAttempt(?\DateTime $value): self + { + $this->instance->setNextAttempt($value); + return $this; + } + + /** + * Unsets next attempt field. + */ + public function unsetNextAttempt(): self + { + $this->instance->unsetNextAttempt(); + return $this; + } + + /** + * Sets transaction type field. + */ + public function transactionType(?string $value): self + { + $this->instance->setTransactionType($value); + return $this; + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets gateway response field. + */ + public function gatewayResponse(?GetGatewayResponseResponse $value): self + { + $this->instance->setGatewayResponse($value); + return $this; + } + + /** + * Unsets gateway response field. + */ + public function unsetGatewayResponse(): self + { + $this->instance->unsetGatewayResponse(); + return $this; + } + + /** + * Sets antifraud response field. + */ + public function antifraudResponse(?GetAntifraudResponse $value): self + { + $this->instance->setAntifraudResponse($value); + return $this; + } + + /** + * Unsets antifraud response field. + */ + public function unsetAntifraudResponse(): self + { + $this->instance->unsetAntifraudResponse(); + return $this; + } + + /** + * Sets metadata field. + */ + public function metadata(?array $value): self + { + $this->instance->setMetadata($value); + return $this; + } + + /** + * Unsets metadata field. + */ + public function unsetMetadata(): self + { + $this->instance->unsetMetadata(); + return $this; + } + + /** + * Sets split field. + */ + public function split(?array $value): self + { + $this->instance->setSplit($value); + return $this; + } + + /** + * Unsets split field. + */ + public function unsetSplit(): self + { + $this->instance->unsetSplit(); + return $this; + } + + /** + * Sets interest field. + */ + public function interest(?GetInterestResponse $value): self + { + $this->instance->setInterest($value); + return $this; + } + + /** + * Unsets interest field. + */ + public function unsetInterest(): self + { + $this->instance->unsetInterest(); + return $this; + } + + /** + * Sets fine field. + */ + public function fine(?GetFineResponse $value): self + { + $this->instance->setFine($value); + return $this; + } + + /** + * Unsets fine field. + */ + public function unsetFine(): self + { + $this->instance->unsetFine(); + return $this; + } + + /** + * Sets max days to pay past due field. + */ + public function maxDaysToPayPastDue(?int $value): self + { + $this->instance->setMaxDaysToPayPastDue($value); + return $this; + } + + /** + * Unsets max days to pay past due field. + */ + public function unsetMaxDaysToPayPastDue(): self + { + $this->instance->unsetMaxDaysToPayPastDue(); + return $this; + } + + /** + * Sets qr code field. + */ + public function qrCode(?string $value): self + { + $this->instance->setQrCode($value); + return $this; + } + + /** + * Unsets qr code field. + */ + public function unsetQrCode(): self + { + $this->instance->unsetQrCode(); + return $this; + } + + /** + * Sets qr code url field. + */ + public function qrCodeUrl(?string $value): self + { + $this->instance->setQrCodeUrl($value); + return $this; + } + + /** + * Unsets qr code url field. + */ + public function unsetQrCodeUrl(): self + { + $this->instance->unsetQrCodeUrl(); + return $this; + } + + /** + * Sets expires at field. + */ + public function expiresAt(?\DateTime $value): self + { + $this->instance->setExpiresAt($value); + return $this; + } + + /** + * Unsets expires at field. + */ + public function unsetExpiresAt(): self + { + $this->instance->unsetExpiresAt(); + return $this; + } + + /** + * Sets additional information field. + */ + public function additionalInformation(?array $value): self + { + $this->instance->setAdditionalInformation($value); + return $this; + } + + /** + * Unsets additional information field. + */ + public function unsetAdditionalInformation(): self + { + $this->instance->unsetAdditionalInformation(); + return $this; + } + + /** + * Sets end to end id field. + */ + public function endToEndId(?string $value): self + { + $this->instance->setEndToEndId($value); + return $this; + } + + /** + * Unsets end to end id field. + */ + public function unsetEndToEndId(): self + { + $this->instance->unsetEndToEndId(); + return $this; + } + + /** + * Sets payer field. + */ + public function payer(?GetPixPayerResponse $value): self + { + $this->instance->setPayer($value); + return $this; + } + + /** + * Unsets payer field. + */ + public function unsetPayer(): self + { + $this->instance->unsetPayer(); + return $this; + } + + /** + * Initializes a new get pix transaction response object. + */ + public function build(): GetPixTransactionResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetPlanItemResponseBuilder.php b/src/Models/Builders/GetPlanItemResponseBuilder.php new file mode 100644 index 0000000..9daad3a --- /dev/null +++ b/src/Models/Builders/GetPlanItemResponseBuilder.php @@ -0,0 +1,248 @@ +instance = $instance; + } + + /** + * Initializes a new get plan item response Builder object. + */ + public static function init(): self + { + return new self(new GetPlanItemResponse()); + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets name field. + */ + public function name(?string $value): self + { + $this->instance->setName($value); + return $this; + } + + /** + * Unsets name field. + */ + public function unsetName(): self + { + $this->instance->unsetName(); + return $this; + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Sets created at field. + */ + public function createdAt(?\DateTime $value): self + { + $this->instance->setCreatedAt($value); + return $this; + } + + /** + * Unsets created at field. + */ + public function unsetCreatedAt(): self + { + $this->instance->unsetCreatedAt(); + return $this; + } + + /** + * Sets updated at field. + */ + public function updatedAt(?\DateTime $value): self + { + $this->instance->setUpdatedAt($value); + return $this; + } + + /** + * Unsets updated at field. + */ + public function unsetUpdatedAt(): self + { + $this->instance->unsetUpdatedAt(); + return $this; + } + + /** + * Sets pricing scheme field. + */ + public function pricingScheme(?GetPricingSchemeResponse $value): self + { + $this->instance->setPricingScheme($value); + return $this; + } + + /** + * Unsets pricing scheme field. + */ + public function unsetPricingScheme(): self + { + $this->instance->unsetPricingScheme(); + return $this; + } + + /** + * Sets description field. + */ + public function description(?string $value): self + { + $this->instance->setDescription($value); + return $this; + } + + /** + * Unsets description field. + */ + public function unsetDescription(): self + { + $this->instance->unsetDescription(); + return $this; + } + + /** + * Sets plan field. + */ + public function plan(?GetPlanResponse $value): self + { + $this->instance->setPlan($value); + return $this; + } + + /** + * Unsets plan field. + */ + public function unsetPlan(): self + { + $this->instance->unsetPlan(); + return $this; + } + + /** + * Sets quantity field. + */ + public function quantity(?int $value): self + { + $this->instance->setQuantity($value); + return $this; + } + + /** + * Unsets quantity field. + */ + public function unsetQuantity(): self + { + $this->instance->unsetQuantity(); + return $this; + } + + /** + * Sets cycles field. + */ + public function cycles(?int $value): self + { + $this->instance->setCycles($value); + return $this; + } + + /** + * Unsets cycles field. + */ + public function unsetCycles(): self + { + $this->instance->unsetCycles(); + return $this; + } + + /** + * Sets deleted at field. + */ + public function deletedAt(?\DateTime $value): self + { + $this->instance->setDeletedAt($value); + return $this; + } + + /** + * Unsets deleted at field. + */ + public function unsetDeletedAt(): self + { + $this->instance->unsetDeletedAt(); + return $this; + } + + /** + * Initializes a new get plan item response object. + */ + public function build(): GetPlanItemResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetPlanResponseBuilder.php b/src/Models/Builders/GetPlanResponseBuilder.php new file mode 100644 index 0000000..4245b42 --- /dev/null +++ b/src/Models/Builders/GetPlanResponseBuilder.php @@ -0,0 +1,426 @@ +instance = $instance; + } + + /** + * Initializes a new get plan response Builder object. + */ + public static function init(): self + { + return new self(new GetPlanResponse()); + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets name field. + */ + public function name(?string $value): self + { + $this->instance->setName($value); + return $this; + } + + /** + * Unsets name field. + */ + public function unsetName(): self + { + $this->instance->unsetName(); + return $this; + } + + /** + * Sets description field. + */ + public function description(?string $value): self + { + $this->instance->setDescription($value); + return $this; + } + + /** + * Unsets description field. + */ + public function unsetDescription(): self + { + $this->instance->unsetDescription(); + return $this; + } + + /** + * Sets url field. + */ + public function url(?string $value): self + { + $this->instance->setUrl($value); + return $this; + } + + /** + * Unsets url field. + */ + public function unsetUrl(): self + { + $this->instance->unsetUrl(); + return $this; + } + + /** + * Sets statement descriptor field. + */ + public function statementDescriptor(?string $value): self + { + $this->instance->setStatementDescriptor($value); + return $this; + } + + /** + * Unsets statement descriptor field. + */ + public function unsetStatementDescriptor(): self + { + $this->instance->unsetStatementDescriptor(); + return $this; + } + + /** + * Sets interval field. + */ + public function interval(?string $value): self + { + $this->instance->setInterval($value); + return $this; + } + + /** + * Unsets interval field. + */ + public function unsetInterval(): self + { + $this->instance->unsetInterval(); + return $this; + } + + /** + * Sets interval count field. + */ + public function intervalCount(?int $value): self + { + $this->instance->setIntervalCount($value); + return $this; + } + + /** + * Unsets interval count field. + */ + public function unsetIntervalCount(): self + { + $this->instance->unsetIntervalCount(); + return $this; + } + + /** + * Sets billing type field. + */ + public function billingType(?string $value): self + { + $this->instance->setBillingType($value); + return $this; + } + + /** + * Unsets billing type field. + */ + public function unsetBillingType(): self + { + $this->instance->unsetBillingType(); + return $this; + } + + /** + * Sets payment methods field. + */ + public function paymentMethods(?array $value): self + { + $this->instance->setPaymentMethods($value); + return $this; + } + + /** + * Unsets payment methods field. + */ + public function unsetPaymentMethods(): self + { + $this->instance->unsetPaymentMethods(); + return $this; + } + + /** + * Sets installments field. + */ + public function installments(?array $value): self + { + $this->instance->setInstallments($value); + return $this; + } + + /** + * Unsets installments field. + */ + public function unsetInstallments(): self + { + $this->instance->unsetInstallments(); + return $this; + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Sets currency field. + */ + public function currency(?string $value): self + { + $this->instance->setCurrency($value); + return $this; + } + + /** + * Unsets currency field. + */ + public function unsetCurrency(): self + { + $this->instance->unsetCurrency(); + return $this; + } + + /** + * Sets created at field. + */ + public function createdAt(?\DateTime $value): self + { + $this->instance->setCreatedAt($value); + return $this; + } + + /** + * Unsets created at field. + */ + public function unsetCreatedAt(): self + { + $this->instance->unsetCreatedAt(); + return $this; + } + + /** + * Sets updated at field. + */ + public function updatedAt(?\DateTime $value): self + { + $this->instance->setUpdatedAt($value); + return $this; + } + + /** + * Unsets updated at field. + */ + public function unsetUpdatedAt(): self + { + $this->instance->unsetUpdatedAt(); + return $this; + } + + /** + * Sets items field. + */ + public function items(?array $value): self + { + $this->instance->setItems($value); + return $this; + } + + /** + * Unsets items field. + */ + public function unsetItems(): self + { + $this->instance->unsetItems(); + return $this; + } + + /** + * Sets billing days field. + */ + public function billingDays(?array $value): self + { + $this->instance->setBillingDays($value); + return $this; + } + + /** + * Unsets billing days field. + */ + public function unsetBillingDays(): self + { + $this->instance->unsetBillingDays(); + return $this; + } + + /** + * Sets shippable field. + */ + public function shippable(?bool $value): self + { + $this->instance->setShippable($value); + return $this; + } + + /** + * Unsets shippable field. + */ + public function unsetShippable(): self + { + $this->instance->unsetShippable(); + return $this; + } + + /** + * Sets metadata field. + */ + public function metadata(?array $value): self + { + $this->instance->setMetadata($value); + return $this; + } + + /** + * Unsets metadata field. + */ + public function unsetMetadata(): self + { + $this->instance->unsetMetadata(); + return $this; + } + + /** + * Sets trial period days field. + */ + public function trialPeriodDays(?int $value): self + { + $this->instance->setTrialPeriodDays($value); + return $this; + } + + /** + * Unsets trial period days field. + */ + public function unsetTrialPeriodDays(): self + { + $this->instance->unsetTrialPeriodDays(); + return $this; + } + + /** + * Sets minimum price field. + */ + public function minimumPrice(?int $value): self + { + $this->instance->setMinimumPrice($value); + return $this; + } + + /** + * Unsets minimum price field. + */ + public function unsetMinimumPrice(): self + { + $this->instance->unsetMinimumPrice(); + return $this; + } + + /** + * Sets deleted at field. + */ + public function deletedAt(?\DateTime $value): self + { + $this->instance->setDeletedAt($value); + return $this; + } + + /** + * Unsets deleted at field. + */ + public function unsetDeletedAt(): self + { + $this->instance->unsetDeletedAt(); + return $this; + } + + /** + * Initializes a new get plan response object. + */ + public function build(): GetPlanResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetPriceBracketResponseBuilder.php b/src/Models/Builders/GetPriceBracketResponseBuilder.php new file mode 100644 index 0000000..1bba417 --- /dev/null +++ b/src/Models/Builders/GetPriceBracketResponseBuilder.php @@ -0,0 +1,120 @@ +instance = $instance; + } + + /** + * Initializes a new get price bracket response Builder object. + */ + public static function init(): self + { + return new self(new GetPriceBracketResponse()); + } + + /** + * Sets start quantity field. + */ + public function startQuantity(?int $value): self + { + $this->instance->setStartQuantity($value); + return $this; + } + + /** + * Unsets start quantity field. + */ + public function unsetStartQuantity(): self + { + $this->instance->unsetStartQuantity(); + return $this; + } + + /** + * Sets price field. + */ + public function price(?int $value): self + { + $this->instance->setPrice($value); + return $this; + } + + /** + * Unsets price field. + */ + public function unsetPrice(): self + { + $this->instance->unsetPrice(); + return $this; + } + + /** + * Sets end quantity field. + */ + public function endQuantity(?int $value): self + { + $this->instance->setEndQuantity($value); + return $this; + } + + /** + * Unsets end quantity field. + */ + public function unsetEndQuantity(): self + { + $this->instance->unsetEndQuantity(); + return $this; + } + + /** + * Sets overage price field. + */ + public function overagePrice(?int $value): self + { + $this->instance->setOveragePrice($value); + return $this; + } + + /** + * Unsets overage price field. + */ + public function unsetOveragePrice(): self + { + $this->instance->unsetOveragePrice(); + return $this; + } + + /** + * Initializes a new get price bracket response object. + */ + public function build(): GetPriceBracketResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetPricingSchemeResponseBuilder.php b/src/Models/Builders/GetPricingSchemeResponseBuilder.php new file mode 100644 index 0000000..5a63f1a --- /dev/null +++ b/src/Models/Builders/GetPricingSchemeResponseBuilder.php @@ -0,0 +1,138 @@ +instance = $instance; + } + + /** + * Initializes a new get pricing scheme response Builder object. + */ + public static function init(): self + { + return new self(new GetPricingSchemeResponse()); + } + + /** + * Sets price field. + */ + public function price(?int $value): self + { + $this->instance->setPrice($value); + return $this; + } + + /** + * Unsets price field. + */ + public function unsetPrice(): self + { + $this->instance->unsetPrice(); + return $this; + } + + /** + * Sets scheme type field. + */ + public function schemeType(?string $value): self + { + $this->instance->setSchemeType($value); + return $this; + } + + /** + * Unsets scheme type field. + */ + public function unsetSchemeType(): self + { + $this->instance->unsetSchemeType(); + return $this; + } + + /** + * Sets price brackets field. + */ + public function priceBrackets(?array $value): self + { + $this->instance->setPriceBrackets($value); + return $this; + } + + /** + * Unsets price brackets field. + */ + public function unsetPriceBrackets(): self + { + $this->instance->unsetPriceBrackets(); + return $this; + } + + /** + * Sets minimum price field. + */ + public function minimumPrice(?int $value): self + { + $this->instance->setMinimumPrice($value); + return $this; + } + + /** + * Unsets minimum price field. + */ + public function unsetMinimumPrice(): self + { + $this->instance->unsetMinimumPrice(); + return $this; + } + + /** + * Sets percentage field. + */ + public function percentage(?float $value): self + { + $this->instance->setPercentage($value); + return $this; + } + + /** + * Unsets percentage field. + */ + public function unsetPercentage(): self + { + $this->instance->unsetPercentage(); + return $this; + } + + /** + * Initializes a new get pricing scheme response object. + */ + public function build(): GetPricingSchemeResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetPrivateLabelTransactionResponseBuilder.php b/src/Models/Builders/GetPrivateLabelTransactionResponseBuilder.php new file mode 100644 index 0000000..1e04bf0 --- /dev/null +++ b/src/Models/Builders/GetPrivateLabelTransactionResponseBuilder.php @@ -0,0 +1,584 @@ +instance = $instance; + } + + /** + * Initializes a new get private label transaction response Builder object. + */ + public static function init(): self + { + return new self(new GetPrivateLabelTransactionResponse()); + } + + /** + * Sets gateway id field. + */ + public function gatewayId(?string $value): self + { + $this->instance->setGatewayId($value); + return $this; + } + + /** + * Unsets gateway id field. + */ + public function unsetGatewayId(): self + { + $this->instance->unsetGatewayId(); + return $this; + } + + /** + * Sets amount field. + */ + public function amount(?int $value): self + { + $this->instance->setAmount($value); + return $this; + } + + /** + * Unsets amount field. + */ + public function unsetAmount(): self + { + $this->instance->unsetAmount(); + return $this; + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Sets success field. + */ + public function success(?bool $value): self + { + $this->instance->setSuccess($value); + return $this; + } + + /** + * Unsets success field. + */ + public function unsetSuccess(): self + { + $this->instance->unsetSuccess(); + return $this; + } + + /** + * Sets created at field. + */ + public function createdAt(?\DateTime $value): self + { + $this->instance->setCreatedAt($value); + return $this; + } + + /** + * Unsets created at field. + */ + public function unsetCreatedAt(): self + { + $this->instance->unsetCreatedAt(); + return $this; + } + + /** + * Sets updated at field. + */ + public function updatedAt(?\DateTime $value): self + { + $this->instance->setUpdatedAt($value); + return $this; + } + + /** + * Unsets updated at field. + */ + public function unsetUpdatedAt(): self + { + $this->instance->unsetUpdatedAt(); + return $this; + } + + /** + * Sets attempt count field. + */ + public function attemptCount(?int $value): self + { + $this->instance->setAttemptCount($value); + return $this; + } + + /** + * Unsets attempt count field. + */ + public function unsetAttemptCount(): self + { + $this->instance->unsetAttemptCount(); + return $this; + } + + /** + * Sets max attempts field. + */ + public function maxAttempts(?int $value): self + { + $this->instance->setMaxAttempts($value); + return $this; + } + + /** + * Unsets max attempts field. + */ + public function unsetMaxAttempts(): self + { + $this->instance->unsetMaxAttempts(); + return $this; + } + + /** + * Sets splits field. + */ + public function splits(?array $value): self + { + $this->instance->setSplits($value); + return $this; + } + + /** + * Unsets splits field. + */ + public function unsetSplits(): self + { + $this->instance->unsetSplits(); + return $this; + } + + /** + * Sets next attempt field. + */ + public function nextAttempt(?\DateTime $value): self + { + $this->instance->setNextAttempt($value); + return $this; + } + + /** + * Unsets next attempt field. + */ + public function unsetNextAttempt(): self + { + $this->instance->unsetNextAttempt(); + return $this; + } + + /** + * Sets transaction type field. + */ + public function transactionType(?string $value): self + { + $this->instance->setTransactionType($value); + return $this; + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets gateway response field. + */ + public function gatewayResponse(?GetGatewayResponseResponse $value): self + { + $this->instance->setGatewayResponse($value); + return $this; + } + + /** + * Unsets gateway response field. + */ + public function unsetGatewayResponse(): self + { + $this->instance->unsetGatewayResponse(); + return $this; + } + + /** + * Sets antifraud response field. + */ + public function antifraudResponse(?GetAntifraudResponse $value): self + { + $this->instance->setAntifraudResponse($value); + return $this; + } + + /** + * Unsets antifraud response field. + */ + public function unsetAntifraudResponse(): self + { + $this->instance->unsetAntifraudResponse(); + return $this; + } + + /** + * Sets metadata field. + */ + public function metadata(?array $value): self + { + $this->instance->setMetadata($value); + return $this; + } + + /** + * Unsets metadata field. + */ + public function unsetMetadata(): self + { + $this->instance->unsetMetadata(); + return $this; + } + + /** + * Sets split field. + */ + public function split(?array $value): self + { + $this->instance->setSplit($value); + return $this; + } + + /** + * Unsets split field. + */ + public function unsetSplit(): self + { + $this->instance->unsetSplit(); + return $this; + } + + /** + * Sets interest field. + */ + public function interest(?GetInterestResponse $value): self + { + $this->instance->setInterest($value); + return $this; + } + + /** + * Unsets interest field. + */ + public function unsetInterest(): self + { + $this->instance->unsetInterest(); + return $this; + } + + /** + * Sets fine field. + */ + public function fine(?GetFineResponse $value): self + { + $this->instance->setFine($value); + return $this; + } + + /** + * Unsets fine field. + */ + public function unsetFine(): self + { + $this->instance->unsetFine(); + return $this; + } + + /** + * Sets max days to pay past due field. + */ + public function maxDaysToPayPastDue(?int $value): self + { + $this->instance->setMaxDaysToPayPastDue($value); + return $this; + } + + /** + * Unsets max days to pay past due field. + */ + public function unsetMaxDaysToPayPastDue(): self + { + $this->instance->unsetMaxDaysToPayPastDue(); + return $this; + } + + /** + * Sets statement descriptor field. + */ + public function statementDescriptor(?string $value): self + { + $this->instance->setStatementDescriptor($value); + return $this; + } + + /** + * Unsets statement descriptor field. + */ + public function unsetStatementDescriptor(): self + { + $this->instance->unsetStatementDescriptor(); + return $this; + } + + /** + * Sets acquirer name field. + */ + public function acquirerName(?string $value): self + { + $this->instance->setAcquirerName($value); + return $this; + } + + /** + * Unsets acquirer name field. + */ + public function unsetAcquirerName(): self + { + $this->instance->unsetAcquirerName(); + return $this; + } + + /** + * Sets acquirer affiliation code field. + */ + public function acquirerAffiliationCode(?string $value): self + { + $this->instance->setAcquirerAffiliationCode($value); + return $this; + } + + /** + * Unsets acquirer affiliation code field. + */ + public function unsetAcquirerAffiliationCode(): self + { + $this->instance->unsetAcquirerAffiliationCode(); + return $this; + } + + /** + * Sets acquirer tid field. + */ + public function acquirerTid(?string $value): self + { + $this->instance->setAcquirerTid($value); + return $this; + } + + /** + * Unsets acquirer tid field. + */ + public function unsetAcquirerTid(): self + { + $this->instance->unsetAcquirerTid(); + return $this; + } + + /** + * Sets acquirer nsu field. + */ + public function acquirerNsu(?string $value): self + { + $this->instance->setAcquirerNsu($value); + return $this; + } + + /** + * Unsets acquirer nsu field. + */ + public function unsetAcquirerNsu(): self + { + $this->instance->unsetAcquirerNsu(); + return $this; + } + + /** + * Sets acquirer auth code field. + */ + public function acquirerAuthCode(?string $value): self + { + $this->instance->setAcquirerAuthCode($value); + return $this; + } + + /** + * Unsets acquirer auth code field. + */ + public function unsetAcquirerAuthCode(): self + { + $this->instance->unsetAcquirerAuthCode(); + return $this; + } + + /** + * Sets operation type field. + */ + public function operationType(?string $value): self + { + $this->instance->setOperationType($value); + return $this; + } + + /** + * Unsets operation type field. + */ + public function unsetOperationType(): self + { + $this->instance->unsetOperationType(); + return $this; + } + + /** + * Sets card field. + */ + public function card(?GetCardResponse $value): self + { + $this->instance->setCard($value); + return $this; + } + + /** + * Unsets card field. + */ + public function unsetCard(): self + { + $this->instance->unsetCard(); + return $this; + } + + /** + * Sets acquirer message field. + */ + public function acquirerMessage(?string $value): self + { + $this->instance->setAcquirerMessage($value); + return $this; + } + + /** + * Unsets acquirer message field. + */ + public function unsetAcquirerMessage(): self + { + $this->instance->unsetAcquirerMessage(); + return $this; + } + + /** + * Sets acquirer return code field. + */ + public function acquirerReturnCode(?string $value): self + { + $this->instance->setAcquirerReturnCode($value); + return $this; + } + + /** + * Unsets acquirer return code field. + */ + public function unsetAcquirerReturnCode(): self + { + $this->instance->unsetAcquirerReturnCode(); + return $this; + } + + /** + * Sets installments field. + */ + public function installments(?int $value): self + { + $this->instance->setInstallments($value); + return $this; + } + + /** + * Unsets installments field. + */ + public function unsetInstallments(): self + { + $this->instance->unsetInstallments(); + return $this; + } + + /** + * Initializes a new get private label transaction response object. + */ + public function build(): GetPrivateLabelTransactionResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetRecipientResponseBuilder.php b/src/Models/Builders/GetRecipientResponseBuilder.php new file mode 100644 index 0000000..f8a5b3a --- /dev/null +++ b/src/Models/Builders/GetRecipientResponseBuilder.php @@ -0,0 +1,357 @@ +instance = $instance; + } + + /** + * Initializes a new get recipient response Builder object. + */ + public static function init(): self + { + return new self(new GetRecipientResponse()); + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets name field. + */ + public function name(?string $value): self + { + $this->instance->setName($value); + return $this; + } + + /** + * Unsets name field. + */ + public function unsetName(): self + { + $this->instance->unsetName(); + return $this; + } + + /** + * Sets email field. + */ + public function email(?string $value): self + { + $this->instance->setEmail($value); + return $this; + } + + /** + * Unsets email field. + */ + public function unsetEmail(): self + { + $this->instance->unsetEmail(); + return $this; + } + + /** + * Sets document field. + */ + public function document(?string $value): self + { + $this->instance->setDocument($value); + return $this; + } + + /** + * Unsets document field. + */ + public function unsetDocument(): self + { + $this->instance->unsetDocument(); + return $this; + } + + /** + * Sets description field. + */ + public function description(?string $value): self + { + $this->instance->setDescription($value); + return $this; + } + + /** + * Unsets description field. + */ + public function unsetDescription(): self + { + $this->instance->unsetDescription(); + return $this; + } + + /** + * Sets type field. + */ + public function type(?string $value): self + { + $this->instance->setType($value); + return $this; + } + + /** + * Unsets type field. + */ + public function unsetType(): self + { + $this->instance->unsetType(); + return $this; + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Sets created at field. + */ + public function createdAt(?\DateTime $value): self + { + $this->instance->setCreatedAt($value); + return $this; + } + + /** + * Unsets created at field. + */ + public function unsetCreatedAt(): self + { + $this->instance->unsetCreatedAt(); + return $this; + } + + /** + * Sets updated at field. + */ + public function updatedAt(?\DateTime $value): self + { + $this->instance->setUpdatedAt($value); + return $this; + } + + /** + * Unsets updated at field. + */ + public function unsetUpdatedAt(): self + { + $this->instance->unsetUpdatedAt(); + return $this; + } + + /** + * Sets deleted at field. + */ + public function deletedAt(?\DateTime $value): self + { + $this->instance->setDeletedAt($value); + return $this; + } + + /** + * Unsets deleted at field. + */ + public function unsetDeletedAt(): self + { + $this->instance->unsetDeletedAt(); + return $this; + } + + /** + * Sets default bank account field. + */ + public function defaultBankAccount(?GetBankAccountResponse $value): self + { + $this->instance->setDefaultBankAccount($value); + return $this; + } + + /** + * Unsets default bank account field. + */ + public function unsetDefaultBankAccount(): self + { + $this->instance->unsetDefaultBankAccount(); + return $this; + } + + /** + * Sets gateway recipients field. + */ + public function gatewayRecipients(?array $value): self + { + $this->instance->setGatewayRecipients($value); + return $this; + } + + /** + * Unsets gateway recipients field. + */ + public function unsetGatewayRecipients(): self + { + $this->instance->unsetGatewayRecipients(); + return $this; + } + + /** + * Sets metadata field. + */ + public function metadata(?array $value): self + { + $this->instance->setMetadata($value); + return $this; + } + + /** + * Unsets metadata field. + */ + public function unsetMetadata(): self + { + $this->instance->unsetMetadata(); + return $this; + } + + /** + * Sets automatic anticipation settings field. + */ + public function automaticAnticipationSettings(?GetAutomaticAnticipationResponse $value): self + { + $this->instance->setAutomaticAnticipationSettings($value); + return $this; + } + + /** + * Unsets automatic anticipation settings field. + */ + public function unsetAutomaticAnticipationSettings(): self + { + $this->instance->unsetAutomaticAnticipationSettings(); + return $this; + } + + /** + * Sets transfer settings field. + */ + public function transferSettings(?GetTransferSettingsResponse $value): self + { + $this->instance->setTransferSettings($value); + return $this; + } + + /** + * Unsets transfer settings field. + */ + public function unsetTransferSettings(): self + { + $this->instance->unsetTransferSettings(); + return $this; + } + + /** + * Sets code field. + */ + public function code(?string $value): self + { + $this->instance->setCode($value); + return $this; + } + + /** + * Unsets code field. + */ + public function unsetCode(): self + { + $this->instance->unsetCode(); + return $this; + } + + /** + * Sets payment mode field. + */ + public function paymentMode(?string $value): self + { + $this->instance->setPaymentMode($value); + return $this; + } + + /** + * Unsets payment mode field. + */ + public function unsetPaymentMode(): self + { + $this->instance->unsetPaymentMode(); + return $this; + } + + /** + * Initializes a new get recipient response object. + */ + public function build(): GetRecipientResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetSafetyPayTransactionResponseBuilder.php b/src/Models/Builders/GetSafetyPayTransactionResponseBuilder.php new file mode 100644 index 0000000..420defc --- /dev/null +++ b/src/Models/Builders/GetSafetyPayTransactionResponseBuilder.php @@ -0,0 +1,457 @@ +instance = $instance; + } + + /** + * Initializes a new get safety pay transaction response Builder object. + */ + public static function init(): self + { + return new self(new GetSafetyPayTransactionResponse()); + } + + /** + * Sets gateway id field. + */ + public function gatewayId(?string $value): self + { + $this->instance->setGatewayId($value); + return $this; + } + + /** + * Unsets gateway id field. + */ + public function unsetGatewayId(): self + { + $this->instance->unsetGatewayId(); + return $this; + } + + /** + * Sets amount field. + */ + public function amount(?int $value): self + { + $this->instance->setAmount($value); + return $this; + } + + /** + * Unsets amount field. + */ + public function unsetAmount(): self + { + $this->instance->unsetAmount(); + return $this; + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Sets success field. + */ + public function success(?bool $value): self + { + $this->instance->setSuccess($value); + return $this; + } + + /** + * Unsets success field. + */ + public function unsetSuccess(): self + { + $this->instance->unsetSuccess(); + return $this; + } + + /** + * Sets created at field. + */ + public function createdAt(?\DateTime $value): self + { + $this->instance->setCreatedAt($value); + return $this; + } + + /** + * Unsets created at field. + */ + public function unsetCreatedAt(): self + { + $this->instance->unsetCreatedAt(); + return $this; + } + + /** + * Sets updated at field. + */ + public function updatedAt(?\DateTime $value): self + { + $this->instance->setUpdatedAt($value); + return $this; + } + + /** + * Unsets updated at field. + */ + public function unsetUpdatedAt(): self + { + $this->instance->unsetUpdatedAt(); + return $this; + } + + /** + * Sets attempt count field. + */ + public function attemptCount(?int $value): self + { + $this->instance->setAttemptCount($value); + return $this; + } + + /** + * Unsets attempt count field. + */ + public function unsetAttemptCount(): self + { + $this->instance->unsetAttemptCount(); + return $this; + } + + /** + * Sets max attempts field. + */ + public function maxAttempts(?int $value): self + { + $this->instance->setMaxAttempts($value); + return $this; + } + + /** + * Unsets max attempts field. + */ + public function unsetMaxAttempts(): self + { + $this->instance->unsetMaxAttempts(); + return $this; + } + + /** + * Sets splits field. + */ + public function splits(?array $value): self + { + $this->instance->setSplits($value); + return $this; + } + + /** + * Unsets splits field. + */ + public function unsetSplits(): self + { + $this->instance->unsetSplits(); + return $this; + } + + /** + * Sets next attempt field. + */ + public function nextAttempt(?\DateTime $value): self + { + $this->instance->setNextAttempt($value); + return $this; + } + + /** + * Unsets next attempt field. + */ + public function unsetNextAttempt(): self + { + $this->instance->unsetNextAttempt(); + return $this; + } + + /** + * Sets transaction type field. + */ + public function transactionType(?string $value): self + { + $this->instance->setTransactionType($value); + return $this; + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets gateway response field. + */ + public function gatewayResponse(?GetGatewayResponseResponse $value): self + { + $this->instance->setGatewayResponse($value); + return $this; + } + + /** + * Unsets gateway response field. + */ + public function unsetGatewayResponse(): self + { + $this->instance->unsetGatewayResponse(); + return $this; + } + + /** + * Sets antifraud response field. + */ + public function antifraudResponse(?GetAntifraudResponse $value): self + { + $this->instance->setAntifraudResponse($value); + return $this; + } + + /** + * Unsets antifraud response field. + */ + public function unsetAntifraudResponse(): self + { + $this->instance->unsetAntifraudResponse(); + return $this; + } + + /** + * Sets metadata field. + */ + public function metadata(?array $value): self + { + $this->instance->setMetadata($value); + return $this; + } + + /** + * Unsets metadata field. + */ + public function unsetMetadata(): self + { + $this->instance->unsetMetadata(); + return $this; + } + + /** + * Sets split field. + */ + public function split(?array $value): self + { + $this->instance->setSplit($value); + return $this; + } + + /** + * Unsets split field. + */ + public function unsetSplit(): self + { + $this->instance->unsetSplit(); + return $this; + } + + /** + * Sets interest field. + */ + public function interest(?GetInterestResponse $value): self + { + $this->instance->setInterest($value); + return $this; + } + + /** + * Unsets interest field. + */ + public function unsetInterest(): self + { + $this->instance->unsetInterest(); + return $this; + } + + /** + * Sets fine field. + */ + public function fine(?GetFineResponse $value): self + { + $this->instance->setFine($value); + return $this; + } + + /** + * Unsets fine field. + */ + public function unsetFine(): self + { + $this->instance->unsetFine(); + return $this; + } + + /** + * Sets max days to pay past due field. + */ + public function maxDaysToPayPastDue(?int $value): self + { + $this->instance->setMaxDaysToPayPastDue($value); + return $this; + } + + /** + * Unsets max days to pay past due field. + */ + public function unsetMaxDaysToPayPastDue(): self + { + $this->instance->unsetMaxDaysToPayPastDue(); + return $this; + } + + /** + * Sets url field. + */ + public function url(?string $value): self + { + $this->instance->setUrl($value); + return $this; + } + + /** + * Unsets url field. + */ + public function unsetUrl(): self + { + $this->instance->unsetUrl(); + return $this; + } + + /** + * Sets bank tid field. + */ + public function bankTid(?string $value): self + { + $this->instance->setBankTid($value); + return $this; + } + + /** + * Unsets bank tid field. + */ + public function unsetBankTid(): self + { + $this->instance->unsetBankTid(); + return $this; + } + + /** + * Sets paid at field. + */ + public function paidAt(?\DateTime $value): self + { + $this->instance->setPaidAt($value); + return $this; + } + + /** + * Unsets paid at field. + */ + public function unsetPaidAt(): self + { + $this->instance->unsetPaidAt(); + return $this; + } + + /** + * Sets paid amount field. + */ + public function paidAmount(?int $value): self + { + $this->instance->setPaidAmount($value); + return $this; + } + + /** + * Unsets paid amount field. + */ + public function unsetPaidAmount(): self + { + $this->instance->unsetPaidAmount(); + return $this; + } + + /** + * Initializes a new get safety pay transaction response object. + */ + public function build(): GetSafetyPayTransactionResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetSetupResponseBuilder.php b/src/Models/Builders/GetSetupResponseBuilder.php new file mode 100644 index 0000000..b31173a --- /dev/null +++ b/src/Models/Builders/GetSetupResponseBuilder.php @@ -0,0 +1,120 @@ +instance = $instance; + } + + /** + * Initializes a new get setup response Builder object. + */ + public static function init(): self + { + return new self(new GetSetupResponse()); + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets description field. + */ + public function description(?string $value): self + { + $this->instance->setDescription($value); + return $this; + } + + /** + * Unsets description field. + */ + public function unsetDescription(): self + { + $this->instance->unsetDescription(); + return $this; + } + + /** + * Sets amount field. + */ + public function amount(?int $value): self + { + $this->instance->setAmount($value); + return $this; + } + + /** + * Unsets amount field. + */ + public function unsetAmount(): self + { + $this->instance->unsetAmount(); + return $this; + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Initializes a new get setup response object. + */ + public function build(): GetSetupResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetShippingResponseBuilder.php b/src/Models/Builders/GetShippingResponseBuilder.php new file mode 100644 index 0000000..f7b3037 --- /dev/null +++ b/src/Models/Builders/GetShippingResponseBuilder.php @@ -0,0 +1,193 @@ +instance = $instance; + } + + /** + * Initializes a new get shipping response Builder object. + */ + public static function init(): self + { + return new self(new GetShippingResponse()); + } + + /** + * Sets amount field. + */ + public function amount(?int $value): self + { + $this->instance->setAmount($value); + return $this; + } + + /** + * Unsets amount field. + */ + public function unsetAmount(): self + { + $this->instance->unsetAmount(); + return $this; + } + + /** + * Sets description field. + */ + public function description(?string $value): self + { + $this->instance->setDescription($value); + return $this; + } + + /** + * Unsets description field. + */ + public function unsetDescription(): self + { + $this->instance->unsetDescription(); + return $this; + } + + /** + * Sets recipient name field. + */ + public function recipientName(?string $value): self + { + $this->instance->setRecipientName($value); + return $this; + } + + /** + * Unsets recipient name field. + */ + public function unsetRecipientName(): self + { + $this->instance->unsetRecipientName(); + return $this; + } + + /** + * Sets recipient phone field. + */ + public function recipientPhone(?string $value): self + { + $this->instance->setRecipientPhone($value); + return $this; + } + + /** + * Unsets recipient phone field. + */ + public function unsetRecipientPhone(): self + { + $this->instance->unsetRecipientPhone(); + return $this; + } + + /** + * Sets address field. + */ + public function address(?GetAddressResponse $value): self + { + $this->instance->setAddress($value); + return $this; + } + + /** + * Unsets address field. + */ + public function unsetAddress(): self + { + $this->instance->unsetAddress(); + return $this; + } + + /** + * Sets max delivery date field. + */ + public function maxDeliveryDate(?\DateTime $value): self + { + $this->instance->setMaxDeliveryDate($value); + return $this; + } + + /** + * Unsets max delivery date field. + */ + public function unsetMaxDeliveryDate(): self + { + $this->instance->unsetMaxDeliveryDate(); + return $this; + } + + /** + * Sets estimated delivery date field. + */ + public function estimatedDeliveryDate(?\DateTime $value): self + { + $this->instance->setEstimatedDeliveryDate($value); + return $this; + } + + /** + * Unsets estimated delivery date field. + */ + public function unsetEstimatedDeliveryDate(): self + { + $this->instance->unsetEstimatedDeliveryDate(); + return $this; + } + + /** + * Sets type field. + */ + public function type(?string $value): self + { + $this->instance->setType($value); + return $this; + } + + /** + * Unsets type field. + */ + public function unsetType(): self + { + $this->instance->unsetType(); + return $this; + } + + /** + * Initializes a new get shipping response object. + */ + public function build(): GetShippingResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetSplitOptionsResponseBuilder.php b/src/Models/Builders/GetSplitOptionsResponseBuilder.php new file mode 100644 index 0000000..ef7eced --- /dev/null +++ b/src/Models/Builders/GetSplitOptionsResponseBuilder.php @@ -0,0 +1,102 @@ +instance = $instance; + } + + /** + * Initializes a new get split options response Builder object. + */ + public static function init(): self + { + return new self(new GetSplitOptionsResponse()); + } + + /** + * Sets liable field. + */ + public function liable(?bool $value): self + { + $this->instance->setLiable($value); + return $this; + } + + /** + * Unsets liable field. + */ + public function unsetLiable(): self + { + $this->instance->unsetLiable(); + return $this; + } + + /** + * Sets charge processing fee field. + */ + public function chargeProcessingFee(?bool $value): self + { + $this->instance->setChargeProcessingFee($value); + return $this; + } + + /** + * Unsets charge processing fee field. + */ + public function unsetChargeProcessingFee(): self + { + $this->instance->unsetChargeProcessingFee(); + return $this; + } + + /** + * Sets charge remainder fee field. + */ + public function chargeRemainderFee(?string $value): self + { + $this->instance->setChargeRemainderFee($value); + return $this; + } + + /** + * Unsets charge remainder fee field. + */ + public function unsetChargeRemainderFee(): self + { + $this->instance->unsetChargeRemainderFee(); + return $this; + } + + /** + * Initializes a new get split options response object. + */ + public function build(): GetSplitOptionsResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetSplitResponseBuilder.php b/src/Models/Builders/GetSplitResponseBuilder.php new file mode 100644 index 0000000..16d83cc --- /dev/null +++ b/src/Models/Builders/GetSplitResponseBuilder.php @@ -0,0 +1,158 @@ +instance = $instance; + } + + /** + * Initializes a new get split response Builder object. + */ + public static function init(): self + { + return new self(new GetSplitResponse()); + } + + /** + * Sets type field. + */ + public function type(?string $value): self + { + $this->instance->setType($value); + return $this; + } + + /** + * Unsets type field. + */ + public function unsetType(): self + { + $this->instance->unsetType(); + return $this; + } + + /** + * Sets amount field. + */ + public function amount(?int $value): self + { + $this->instance->setAmount($value); + return $this; + } + + /** + * Unsets amount field. + */ + public function unsetAmount(): self + { + $this->instance->unsetAmount(); + return $this; + } + + /** + * Sets recipient field. + */ + public function recipient(?GetRecipientResponse $value): self + { + $this->instance->setRecipient($value); + return $this; + } + + /** + * Unsets recipient field. + */ + public function unsetRecipient(): self + { + $this->instance->unsetRecipient(); + return $this; + } + + /** + * Sets gateway id field. + */ + public function gatewayId(?string $value): self + { + $this->instance->setGatewayId($value); + return $this; + } + + /** + * Unsets gateway id field. + */ + public function unsetGatewayId(): self + { + $this->instance->unsetGatewayId(); + return $this; + } + + /** + * Sets options field. + */ + public function options(?GetSplitOptionsResponse $value): self + { + $this->instance->setOptions($value); + return $this; + } + + /** + * Unsets options field. + */ + public function unsetOptions(): self + { + $this->instance->unsetOptions(); + return $this; + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Initializes a new get split response object. + */ + public function build(): GetSplitResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetSubscriptionBoletoResponseBuilder.php b/src/Models/Builders/GetSubscriptionBoletoResponseBuilder.php new file mode 100644 index 0000000..5232ea8 --- /dev/null +++ b/src/Models/Builders/GetSubscriptionBoletoResponseBuilder.php @@ -0,0 +1,104 @@ +instance = $instance; + } + + /** + * Initializes a new get subscription boleto response Builder object. + */ + public static function init(): self + { + return new self(new GetSubscriptionBoletoResponse()); + } + + /** + * Sets interest field. + */ + public function interest(?GetInterestResponse $value): self + { + $this->instance->setInterest($value); + return $this; + } + + /** + * Unsets interest field. + */ + public function unsetInterest(): self + { + $this->instance->unsetInterest(); + return $this; + } + + /** + * Sets fine field. + */ + public function fine(?GetFineResponse $value): self + { + $this->instance->setFine($value); + return $this; + } + + /** + * Unsets fine field. + */ + public function unsetFine(): self + { + $this->instance->unsetFine(); + return $this; + } + + /** + * Sets max days to pay past due field. + */ + public function maxDaysToPayPastDue(?int $value): self + { + $this->instance->setMaxDaysToPayPastDue($value); + return $this; + } + + /** + * Unsets max days to pay past due field. + */ + public function unsetMaxDaysToPayPastDue(): self + { + $this->instance->unsetMaxDaysToPayPastDue(); + return $this; + } + + /** + * Initializes a new get subscription boleto response object. + */ + public function build(): GetSubscriptionBoletoResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetSubscriptionItemResponseBuilder.php b/src/Models/Builders/GetSubscriptionItemResponseBuilder.php new file mode 100644 index 0000000..fc52975 --- /dev/null +++ b/src/Models/Builders/GetSubscriptionItemResponseBuilder.php @@ -0,0 +1,284 @@ +instance = $instance; + } + + /** + * Initializes a new get subscription item response Builder object. + */ + public static function init(): self + { + return new self(new GetSubscriptionItemResponse()); + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets description field. + */ + public function description(?string $value): self + { + $this->instance->setDescription($value); + return $this; + } + + /** + * Unsets description field. + */ + public function unsetDescription(): self + { + $this->instance->unsetDescription(); + return $this; + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Sets created at field. + */ + public function createdAt(?\DateTime $value): self + { + $this->instance->setCreatedAt($value); + return $this; + } + + /** + * Unsets created at field. + */ + public function unsetCreatedAt(): self + { + $this->instance->unsetCreatedAt(); + return $this; + } + + /** + * Sets updated at field. + */ + public function updatedAt(?\DateTime $value): self + { + $this->instance->setUpdatedAt($value); + return $this; + } + + /** + * Unsets updated at field. + */ + public function unsetUpdatedAt(): self + { + $this->instance->unsetUpdatedAt(); + return $this; + } + + /** + * Sets pricing scheme field. + */ + public function pricingScheme(?GetPricingSchemeResponse $value): self + { + $this->instance->setPricingScheme($value); + return $this; + } + + /** + * Unsets pricing scheme field. + */ + public function unsetPricingScheme(): self + { + $this->instance->unsetPricingScheme(); + return $this; + } + + /** + * Sets discounts field. + */ + public function discounts(?array $value): self + { + $this->instance->setDiscounts($value); + return $this; + } + + /** + * Unsets discounts field. + */ + public function unsetDiscounts(): self + { + $this->instance->unsetDiscounts(); + return $this; + } + + /** + * Sets increments field. + */ + public function increments(?array $value): self + { + $this->instance->setIncrements($value); + return $this; + } + + /** + * Unsets increments field. + */ + public function unsetIncrements(): self + { + $this->instance->unsetIncrements(); + return $this; + } + + /** + * Sets subscription field. + */ + public function subscription(?GetSubscriptionResponse $value): self + { + $this->instance->setSubscription($value); + return $this; + } + + /** + * Unsets subscription field. + */ + public function unsetSubscription(): self + { + $this->instance->unsetSubscription(); + return $this; + } + + /** + * Sets name field. + */ + public function name(?string $value): self + { + $this->instance->setName($value); + return $this; + } + + /** + * Unsets name field. + */ + public function unsetName(): self + { + $this->instance->unsetName(); + return $this; + } + + /** + * Sets quantity field. + */ + public function quantity(?int $value): self + { + $this->instance->setQuantity($value); + return $this; + } + + /** + * Unsets quantity field. + */ + public function unsetQuantity(): self + { + $this->instance->unsetQuantity(); + return $this; + } + + /** + * Sets cycles field. + */ + public function cycles(?int $value): self + { + $this->instance->setCycles($value); + return $this; + } + + /** + * Unsets cycles field. + */ + public function unsetCycles(): self + { + $this->instance->unsetCycles(); + return $this; + } + + /** + * Sets deleted at field. + */ + public function deletedAt(?\DateTime $value): self + { + $this->instance->setDeletedAt($value); + return $this; + } + + /** + * Unsets deleted at field. + */ + public function unsetDeletedAt(): self + { + $this->instance->unsetDeletedAt(); + return $this; + } + + /** + * Initializes a new get subscription item response object. + */ + public function build(): GetSubscriptionItemResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetSubscriptionResponseBuilder.php b/src/Models/Builders/GetSubscriptionResponseBuilder.php new file mode 100644 index 0000000..7d49cc6 --- /dev/null +++ b/src/Models/Builders/GetSubscriptionResponseBuilder.php @@ -0,0 +1,594 @@ +instance = $instance; + } + + /** + * Initializes a new get subscription response Builder object. + */ + public static function init(): self + { + return new self(new GetSubscriptionResponse()); + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets code field. + */ + public function code(?string $value): self + { + $this->instance->setCode($value); + return $this; + } + + /** + * Unsets code field. + */ + public function unsetCode(): self + { + $this->instance->unsetCode(); + return $this; + } + + /** + * Sets start at field. + */ + public function startAt(?\DateTime $value): self + { + $this->instance->setStartAt($value); + return $this; + } + + /** + * Unsets start at field. + */ + public function unsetStartAt(): self + { + $this->instance->unsetStartAt(); + return $this; + } + + /** + * Sets interval field. + */ + public function interval(?string $value): self + { + $this->instance->setInterval($value); + return $this; + } + + /** + * Unsets interval field. + */ + public function unsetInterval(): self + { + $this->instance->unsetInterval(); + return $this; + } + + /** + * Sets interval count field. + */ + public function intervalCount(?int $value): self + { + $this->instance->setIntervalCount($value); + return $this; + } + + /** + * Unsets interval count field. + */ + public function unsetIntervalCount(): self + { + $this->instance->unsetIntervalCount(); + return $this; + } + + /** + * Sets billing type field. + */ + public function billingType(?string $value): self + { + $this->instance->setBillingType($value); + return $this; + } + + /** + * Unsets billing type field. + */ + public function unsetBillingType(): self + { + $this->instance->unsetBillingType(); + return $this; + } + + /** + * Sets current cycle field. + */ + public function currentCycle(?GetPeriodResponse $value): self + { + $this->instance->setCurrentCycle($value); + return $this; + } + + /** + * Unsets current cycle field. + */ + public function unsetCurrentCycle(): self + { + $this->instance->unsetCurrentCycle(); + return $this; + } + + /** + * Sets payment method field. + */ + public function paymentMethod(?string $value): self + { + $this->instance->setPaymentMethod($value); + return $this; + } + + /** + * Unsets payment method field. + */ + public function unsetPaymentMethod(): self + { + $this->instance->unsetPaymentMethod(); + return $this; + } + + /** + * Sets currency field. + */ + public function currency(?string $value): self + { + $this->instance->setCurrency($value); + return $this; + } + + /** + * Unsets currency field. + */ + public function unsetCurrency(): self + { + $this->instance->unsetCurrency(); + return $this; + } + + /** + * Sets installments field. + */ + public function installments(?int $value): self + { + $this->instance->setInstallments($value); + return $this; + } + + /** + * Unsets installments field. + */ + public function unsetInstallments(): self + { + $this->instance->unsetInstallments(); + return $this; + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Sets created at field. + */ + public function createdAt(?\DateTime $value): self + { + $this->instance->setCreatedAt($value); + return $this; + } + + /** + * Unsets created at field. + */ + public function unsetCreatedAt(): self + { + $this->instance->unsetCreatedAt(); + return $this; + } + + /** + * Sets updated at field. + */ + public function updatedAt(?\DateTime $value): self + { + $this->instance->setUpdatedAt($value); + return $this; + } + + /** + * Unsets updated at field. + */ + public function unsetUpdatedAt(): self + { + $this->instance->unsetUpdatedAt(); + return $this; + } + + /** + * Sets customer field. + */ + public function customer(?GetCustomerResponse $value): self + { + $this->instance->setCustomer($value); + return $this; + } + + /** + * Unsets customer field. + */ + public function unsetCustomer(): self + { + $this->instance->unsetCustomer(); + return $this; + } + + /** + * Sets card field. + */ + public function card(?GetCardResponse $value): self + { + $this->instance->setCard($value); + return $this; + } + + /** + * Unsets card field. + */ + public function unsetCard(): self + { + $this->instance->unsetCard(); + return $this; + } + + /** + * Sets items field. + */ + public function items(?array $value): self + { + $this->instance->setItems($value); + return $this; + } + + /** + * Unsets items field. + */ + public function unsetItems(): self + { + $this->instance->unsetItems(); + return $this; + } + + /** + * Sets statement descriptor field. + */ + public function statementDescriptor(?string $value): self + { + $this->instance->setStatementDescriptor($value); + return $this; + } + + /** + * Unsets statement descriptor field. + */ + public function unsetStatementDescriptor(): self + { + $this->instance->unsetStatementDescriptor(); + return $this; + } + + /** + * Sets metadata field. + */ + public function metadata(?array $value): self + { + $this->instance->setMetadata($value); + return $this; + } + + /** + * Unsets metadata field. + */ + public function unsetMetadata(): self + { + $this->instance->unsetMetadata(); + return $this; + } + + /** + * Sets setup field. + */ + public function setup(?GetSetupResponse $value): self + { + $this->instance->setSetup($value); + return $this; + } + + /** + * Unsets setup field. + */ + public function unsetSetup(): self + { + $this->instance->unsetSetup(); + return $this; + } + + /** + * Sets gateway affiliation id field. + */ + public function gatewayAffiliationId(?string $value): self + { + $this->instance->setGatewayAffiliationId($value); + return $this; + } + + /** + * Unsets gateway affiliation id field. + */ + public function unsetGatewayAffiliationId(): self + { + $this->instance->unsetGatewayAffiliationId(); + return $this; + } + + /** + * Sets next billing at field. + */ + public function nextBillingAt(?\DateTime $value): self + { + $this->instance->setNextBillingAt($value); + return $this; + } + + /** + * Unsets next billing at field. + */ + public function unsetNextBillingAt(): self + { + $this->instance->unsetNextBillingAt(); + return $this; + } + + /** + * Sets billing day field. + */ + public function billingDay(?int $value): self + { + $this->instance->setBillingDay($value); + return $this; + } + + /** + * Unsets billing day field. + */ + public function unsetBillingDay(): self + { + $this->instance->unsetBillingDay(); + return $this; + } + + /** + * Sets minimum price field. + */ + public function minimumPrice(?int $value): self + { + $this->instance->setMinimumPrice($value); + return $this; + } + + /** + * Unsets minimum price field. + */ + public function unsetMinimumPrice(): self + { + $this->instance->unsetMinimumPrice(); + return $this; + } + + /** + * Sets canceled at field. + */ + public function canceledAt(?\DateTime $value): self + { + $this->instance->setCanceledAt($value); + return $this; + } + + /** + * Unsets canceled at field. + */ + public function unsetCanceledAt(): self + { + $this->instance->unsetCanceledAt(); + return $this; + } + + /** + * Sets discounts field. + */ + public function discounts(?array $value): self + { + $this->instance->setDiscounts($value); + return $this; + } + + /** + * Unsets discounts field. + */ + public function unsetDiscounts(): self + { + $this->instance->unsetDiscounts(); + return $this; + } + + /** + * Sets increments field. + */ + public function increments(?array $value): self + { + $this->instance->setIncrements($value); + return $this; + } + + /** + * Unsets increments field. + */ + public function unsetIncrements(): self + { + $this->instance->unsetIncrements(); + return $this; + } + + /** + * Sets boleto due days field. + */ + public function boletoDueDays(?int $value): self + { + $this->instance->setBoletoDueDays($value); + return $this; + } + + /** + * Unsets boleto due days field. + */ + public function unsetBoletoDueDays(): self + { + $this->instance->unsetBoletoDueDays(); + return $this; + } + + /** + * Sets split field. + */ + public function split(?GetSubscriptionSplitResponse $value): self + { + $this->instance->setSplit($value); + return $this; + } + + /** + * Unsets split field. + */ + public function unsetSplit(): self + { + $this->instance->unsetSplit(); + return $this; + } + + /** + * Sets boleto field. + */ + public function boleto(?GetSubscriptionBoletoResponse $value): self + { + $this->instance->setBoleto($value); + return $this; + } + + /** + * Unsets boleto field. + */ + public function unsetBoleto(): self + { + $this->instance->unsetBoleto(); + return $this; + } + + /** + * Sets manual billing field. + */ + public function manualBilling(?bool $value): self + { + $this->instance->setManualBilling($value); + return $this; + } + + /** + * Unsets manual billing field. + */ + public function unsetManualBilling(): self + { + $this->instance->unsetManualBilling(); + return $this; + } + + /** + * Initializes a new get subscription response object. + */ + public function build(): GetSubscriptionResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetSubscriptionSplitResponseBuilder.php b/src/Models/Builders/GetSubscriptionSplitResponseBuilder.php new file mode 100644 index 0000000..f11e519 --- /dev/null +++ b/src/Models/Builders/GetSubscriptionSplitResponseBuilder.php @@ -0,0 +1,84 @@ +instance = $instance; + } + + /** + * Initializes a new get subscription split response Builder object. + */ + public static function init(): self + { + return new self(new GetSubscriptionSplitResponse()); + } + + /** + * Sets enabled field. + */ + public function enabled(?bool $value): self + { + $this->instance->setEnabled($value); + return $this; + } + + /** + * Unsets enabled field. + */ + public function unsetEnabled(): self + { + $this->instance->unsetEnabled(); + return $this; + } + + /** + * Sets rules field. + */ + public function rules(?array $value): self + { + $this->instance->setRules($value); + return $this; + } + + /** + * Unsets rules field. + */ + public function unsetRules(): self + { + $this->instance->unsetRules(); + return $this; + } + + /** + * Initializes a new get subscription split response object. + */ + public function build(): GetSubscriptionSplitResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetThreeDSecureResponseBuilder.php b/src/Models/Builders/GetThreeDSecureResponseBuilder.php new file mode 100644 index 0000000..74ec4f1 --- /dev/null +++ b/src/Models/Builders/GetThreeDSecureResponseBuilder.php @@ -0,0 +1,138 @@ +instance = $instance; + } + + /** + * Initializes a new get three dsecure response Builder object. + */ + public static function init(): self + { + return new self(new GetThreeDSecureResponse()); + } + + /** + * Sets mpi field. + */ + public function mpi(?string $value): self + { + $this->instance->setMpi($value); + return $this; + } + + /** + * Unsets mpi field. + */ + public function unsetMpi(): self + { + $this->instance->unsetMpi(); + return $this; + } + + /** + * Sets eci field. + */ + public function eci(?string $value): self + { + $this->instance->setEci($value); + return $this; + } + + /** + * Unsets eci field. + */ + public function unsetEci(): self + { + $this->instance->unsetEci(); + return $this; + } + + /** + * Sets cavv field. + */ + public function cavv(?string $value): self + { + $this->instance->setCavv($value); + return $this; + } + + /** + * Unsets cavv field. + */ + public function unsetCavv(): self + { + $this->instance->unsetCavv(); + return $this; + } + + /** + * Sets transaction id field. + */ + public function transactionId(?string $value): self + { + $this->instance->setTransactionId($value); + return $this; + } + + /** + * Unsets transaction id field. + */ + public function unsetTransactionId(): self + { + $this->instance->unsetTransactionId(); + return $this; + } + + /** + * Sets success url field. + */ + public function successUrl(?string $value): self + { + $this->instance->setSuccessUrl($value); + return $this; + } + + /** + * Unsets success url field. + */ + public function unsetSuccessUrl(): self + { + $this->instance->unsetSuccessUrl(); + return $this; + } + + /** + * Initializes a new get three dsecure response object. + */ + public function build(): GetThreeDSecureResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetTokenResponseBuilder.php b/src/Models/Builders/GetTokenResponseBuilder.php new file mode 100644 index 0000000..2b7c863 --- /dev/null +++ b/src/Models/Builders/GetTokenResponseBuilder.php @@ -0,0 +1,139 @@ +instance = $instance; + } + + /** + * Initializes a new get token response Builder object. + */ + public static function init(): self + { + return new self(new GetTokenResponse()); + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets type field. + */ + public function type(?string $value): self + { + $this->instance->setType($value); + return $this; + } + + /** + * Unsets type field. + */ + public function unsetType(): self + { + $this->instance->unsetType(); + return $this; + } + + /** + * Sets created at field. + */ + public function createdAt(?\DateTime $value): self + { + $this->instance->setCreatedAt($value); + return $this; + } + + /** + * Unsets created at field. + */ + public function unsetCreatedAt(): self + { + $this->instance->unsetCreatedAt(); + return $this; + } + + /** + * Sets expires at field. + */ + public function expiresAt(?string $value): self + { + $this->instance->setExpiresAt($value); + return $this; + } + + /** + * Unsets expires at field. + */ + public function unsetExpiresAt(): self + { + $this->instance->unsetExpiresAt(); + return $this; + } + + /** + * Sets card field. + */ + public function card(?GetCardTokenResponse $value): self + { + $this->instance->setCard($value); + return $this; + } + + /** + * Unsets card field. + */ + public function unsetCard(): self + { + $this->instance->unsetCard(); + return $this; + } + + /** + * Initializes a new get token response object. + */ + public function build(): GetTokenResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetTransactionReportFileResponseBuilder.php b/src/Models/Builders/GetTransactionReportFileResponseBuilder.php new file mode 100644 index 0000000..85fc462 --- /dev/null +++ b/src/Models/Builders/GetTransactionReportFileResponseBuilder.php @@ -0,0 +1,84 @@ +instance = $instance; + } + + /** + * Initializes a new get transaction report file response Builder object. + */ + public static function init(): self + { + return new self(new GetTransactionReportFileResponse()); + } + + /** + * Sets name field. + */ + public function name(?string $value): self + { + $this->instance->setName($value); + return $this; + } + + /** + * Unsets name field. + */ + public function unsetName(): self + { + $this->instance->unsetName(); + return $this; + } + + /** + * Sets date field. + */ + public function date(?\DateTime $value): self + { + $this->instance->setDate($value); + return $this; + } + + /** + * Unsets date field. + */ + public function unsetDate(): self + { + $this->instance->unsetDate(); + return $this; + } + + /** + * Initializes a new get transaction report file response object. + */ + public function build(): GetTransactionReportFileResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetTransactionResponseBuilder.php b/src/Models/Builders/GetTransactionResponseBuilder.php new file mode 100644 index 0000000..7c0e1c0 --- /dev/null +++ b/src/Models/Builders/GetTransactionResponseBuilder.php @@ -0,0 +1,385 @@ +instance = $instance; + } + + /** + * Initializes a new get transaction response Builder object. + */ + public static function init(): self + { + return new self(new GetTransactionResponse()); + } + + /** + * Sets gateway id field. + */ + public function gatewayId(?string $value): self + { + $this->instance->setGatewayId($value); + return $this; + } + + /** + * Unsets gateway id field. + */ + public function unsetGatewayId(): self + { + $this->instance->unsetGatewayId(); + return $this; + } + + /** + * Sets amount field. + */ + public function amount(?int $value): self + { + $this->instance->setAmount($value); + return $this; + } + + /** + * Unsets amount field. + */ + public function unsetAmount(): self + { + $this->instance->unsetAmount(); + return $this; + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Sets success field. + */ + public function success(?bool $value): self + { + $this->instance->setSuccess($value); + return $this; + } + + /** + * Unsets success field. + */ + public function unsetSuccess(): self + { + $this->instance->unsetSuccess(); + return $this; + } + + /** + * Sets created at field. + */ + public function createdAt(?\DateTime $value): self + { + $this->instance->setCreatedAt($value); + return $this; + } + + /** + * Unsets created at field. + */ + public function unsetCreatedAt(): self + { + $this->instance->unsetCreatedAt(); + return $this; + } + + /** + * Sets updated at field. + */ + public function updatedAt(?\DateTime $value): self + { + $this->instance->setUpdatedAt($value); + return $this; + } + + /** + * Unsets updated at field. + */ + public function unsetUpdatedAt(): self + { + $this->instance->unsetUpdatedAt(); + return $this; + } + + /** + * Sets attempt count field. + */ + public function attemptCount(?int $value): self + { + $this->instance->setAttemptCount($value); + return $this; + } + + /** + * Unsets attempt count field. + */ + public function unsetAttemptCount(): self + { + $this->instance->unsetAttemptCount(); + return $this; + } + + /** + * Sets max attempts field. + */ + public function maxAttempts(?int $value): self + { + $this->instance->setMaxAttempts($value); + return $this; + } + + /** + * Unsets max attempts field. + */ + public function unsetMaxAttempts(): self + { + $this->instance->unsetMaxAttempts(); + return $this; + } + + /** + * Sets splits field. + */ + public function splits(?array $value): self + { + $this->instance->setSplits($value); + return $this; + } + + /** + * Unsets splits field. + */ + public function unsetSplits(): self + { + $this->instance->unsetSplits(); + return $this; + } + + /** + * Sets next attempt field. + */ + public function nextAttempt(?\DateTime $value): self + { + $this->instance->setNextAttempt($value); + return $this; + } + + /** + * Unsets next attempt field. + */ + public function unsetNextAttempt(): self + { + $this->instance->unsetNextAttempt(); + return $this; + } + + /** + * Sets transaction type field. + */ + public function transactionType(?string $value): self + { + $this->instance->setTransactionType($value); + return $this; + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets gateway response field. + */ + public function gatewayResponse(?GetGatewayResponseResponse $value): self + { + $this->instance->setGatewayResponse($value); + return $this; + } + + /** + * Unsets gateway response field. + */ + public function unsetGatewayResponse(): self + { + $this->instance->unsetGatewayResponse(); + return $this; + } + + /** + * Sets antifraud response field. + */ + public function antifraudResponse(?GetAntifraudResponse $value): self + { + $this->instance->setAntifraudResponse($value); + return $this; + } + + /** + * Unsets antifraud response field. + */ + public function unsetAntifraudResponse(): self + { + $this->instance->unsetAntifraudResponse(); + return $this; + } + + /** + * Sets metadata field. + */ + public function metadata(?array $value): self + { + $this->instance->setMetadata($value); + return $this; + } + + /** + * Unsets metadata field. + */ + public function unsetMetadata(): self + { + $this->instance->unsetMetadata(); + return $this; + } + + /** + * Sets split field. + */ + public function split(?array $value): self + { + $this->instance->setSplit($value); + return $this; + } + + /** + * Unsets split field. + */ + public function unsetSplit(): self + { + $this->instance->unsetSplit(); + return $this; + } + + /** + * Sets interest field. + */ + public function interest(?GetInterestResponse $value): self + { + $this->instance->setInterest($value); + return $this; + } + + /** + * Unsets interest field. + */ + public function unsetInterest(): self + { + $this->instance->unsetInterest(); + return $this; + } + + /** + * Sets fine field. + */ + public function fine(?GetFineResponse $value): self + { + $this->instance->setFine($value); + return $this; + } + + /** + * Unsets fine field. + */ + public function unsetFine(): self + { + $this->instance->unsetFine(); + return $this; + } + + /** + * Sets max days to pay past due field. + */ + public function maxDaysToPayPastDue(?int $value): self + { + $this->instance->setMaxDaysToPayPastDue($value); + return $this; + } + + /** + * Unsets max days to pay past due field. + */ + public function unsetMaxDaysToPayPastDue(): self + { + $this->instance->unsetMaxDaysToPayPastDue(); + return $this; + } + + /** + * Initializes a new get transaction response object. + */ + public function build(): GetTransactionResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetTransferBuilder.php b/src/Models/Builders/GetTransferBuilder.php new file mode 100644 index 0000000..60dedce --- /dev/null +++ b/src/Models/Builders/GetTransferBuilder.php @@ -0,0 +1,97 @@ +instance = $instance; + } + + /** + * Initializes a new get transfer Builder object. + */ + public static function init( + string $id, + string $gatewayId, + int $amount, + string $status, + \DateTime $createdAt, + \DateTime $updatedAt, + string $type, + GetTransferSourceResponse $source, + GetTransferTargetResponse $target + ): self { + return new self( + new GetTransfer($id, $gatewayId, $amount, $status, $createdAt, $updatedAt, $type, $source, $target) + ); + } + + /** + * Sets metadata field. + */ + public function metadata(?array $value): self + { + $this->instance->setMetadata($value); + return $this; + } + + /** + * Sets fee field. + */ + public function fee(?int $value): self + { + $this->instance->setFee($value); + return $this; + } + + /** + * Sets funding date field. + */ + public function fundingDate(?\DateTime $value): self + { + $this->instance->setFundingDate($value); + return $this; + } + + /** + * Sets funding estimated date field. + */ + public function fundingEstimatedDate(?\DateTime $value): self + { + $this->instance->setFundingEstimatedDate($value); + return $this; + } + + /** + * Initializes a new get transfer object. + */ + public function build(): GetTransfer + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetTransferResponseBuilder.php b/src/Models/Builders/GetTransferResponseBuilder.php new file mode 100644 index 0000000..56c4b97 --- /dev/null +++ b/src/Models/Builders/GetTransferResponseBuilder.php @@ -0,0 +1,175 @@ +instance = $instance; + } + + /** + * Initializes a new get transfer response Builder object. + */ + public static function init(): self + { + return new self(new GetTransferResponse()); + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets amount field. + */ + public function amount(?int $value): self + { + $this->instance->setAmount($value); + return $this; + } + + /** + * Unsets amount field. + */ + public function unsetAmount(): self + { + $this->instance->unsetAmount(); + return $this; + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Sets created at field. + */ + public function createdAt(?\DateTime $value): self + { + $this->instance->setCreatedAt($value); + return $this; + } + + /** + * Unsets created at field. + */ + public function unsetCreatedAt(): self + { + $this->instance->unsetCreatedAt(); + return $this; + } + + /** + * Sets updated at field. + */ + public function updatedAt(?\DateTime $value): self + { + $this->instance->setUpdatedAt($value); + return $this; + } + + /** + * Unsets updated at field. + */ + public function unsetUpdatedAt(): self + { + $this->instance->unsetUpdatedAt(); + return $this; + } + + /** + * Sets bank account field. + */ + public function bankAccount(?GetBankAccountResponse $value): self + { + $this->instance->setBankAccount($value); + return $this; + } + + /** + * Unsets bank account field. + */ + public function unsetBankAccount(): self + { + $this->instance->unsetBankAccount(); + return $this; + } + + /** + * Sets metadata field. + */ + public function metadata(?array $value): self + { + $this->instance->setMetadata($value); + return $this; + } + + /** + * Unsets metadata field. + */ + public function unsetMetadata(): self + { + $this->instance->unsetMetadata(); + return $this; + } + + /** + * Initializes a new get transfer response object. + */ + public function build(): GetTransferResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetTransferSettingsResponseBuilder.php b/src/Models/Builders/GetTransferSettingsResponseBuilder.php new file mode 100644 index 0000000..7da5a79 --- /dev/null +++ b/src/Models/Builders/GetTransferSettingsResponseBuilder.php @@ -0,0 +1,102 @@ +instance = $instance; + } + + /** + * Initializes a new get transfer settings response Builder object. + */ + public static function init(): self + { + return new self(new GetTransferSettingsResponse()); + } + + /** + * Sets transfer enabled field. + */ + public function transferEnabled(?bool $value): self + { + $this->instance->setTransferEnabled($value); + return $this; + } + + /** + * Unsets transfer enabled field. + */ + public function unsetTransferEnabled(): self + { + $this->instance->unsetTransferEnabled(); + return $this; + } + + /** + * Sets transfer interval field. + */ + public function transferInterval(?string $value): self + { + $this->instance->setTransferInterval($value); + return $this; + } + + /** + * Unsets transfer interval field. + */ + public function unsetTransferInterval(): self + { + $this->instance->unsetTransferInterval(); + return $this; + } + + /** + * Sets transfer day field. + */ + public function transferDay(?int $value): self + { + $this->instance->setTransferDay($value); + return $this; + } + + /** + * Unsets transfer day field. + */ + public function unsetTransferDay(): self + { + $this->instance->unsetTransferDay(); + return $this; + } + + /** + * Initializes a new get transfer settings response object. + */ + public function build(): GetTransferSettingsResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetTransferSourceResponseBuilder.php b/src/Models/Builders/GetTransferSourceResponseBuilder.php new file mode 100644 index 0000000..164a2c3 --- /dev/null +++ b/src/Models/Builders/GetTransferSourceResponseBuilder.php @@ -0,0 +1,84 @@ +instance = $instance; + } + + /** + * Initializes a new get transfer source response Builder object. + */ + public static function init(): self + { + return new self(new GetTransferSourceResponse()); + } + + /** + * Sets source id field. + */ + public function sourceId(?string $value): self + { + $this->instance->setSourceId($value); + return $this; + } + + /** + * Unsets source id field. + */ + public function unsetSourceId(): self + { + $this->instance->unsetSourceId(); + return $this; + } + + /** + * Sets type field. + */ + public function type(?string $value): self + { + $this->instance->setType($value); + return $this; + } + + /** + * Unsets type field. + */ + public function unsetType(): self + { + $this->instance->unsetType(); + return $this; + } + + /** + * Initializes a new get transfer source response object. + */ + public function build(): GetTransferSourceResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetTransferTargetResponseBuilder.php b/src/Models/Builders/GetTransferTargetResponseBuilder.php new file mode 100644 index 0000000..6706db8 --- /dev/null +++ b/src/Models/Builders/GetTransferTargetResponseBuilder.php @@ -0,0 +1,84 @@ +instance = $instance; + } + + /** + * Initializes a new get transfer target response Builder object. + */ + public static function init(): self + { + return new self(new GetTransferTargetResponse()); + } + + /** + * Sets target id field. + */ + public function targetId(?string $value): self + { + $this->instance->setTargetId($value); + return $this; + } + + /** + * Unsets target id field. + */ + public function unsetTargetId(): self + { + $this->instance->unsetTargetId(); + return $this; + } + + /** + * Sets type field. + */ + public function type(?string $value): self + { + $this->instance->setType($value); + return $this; + } + + /** + * Unsets type field. + */ + public function unsetType(): self + { + $this->instance->unsetType(); + return $this; + } + + /** + * Initializes a new get transfer target response object. + */ + public function build(): GetTransferTargetResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetUsageReportResponseBuilder.php b/src/Models/Builders/GetUsageReportResponseBuilder.php new file mode 100644 index 0000000..feeb714 --- /dev/null +++ b/src/Models/Builders/GetUsageReportResponseBuilder.php @@ -0,0 +1,102 @@ +instance = $instance; + } + + /** + * Initializes a new get usage report response Builder object. + */ + public static function init(): self + { + return new self(new GetUsageReportResponse()); + } + + /** + * Sets url field. + */ + public function url(?string $value): self + { + $this->instance->setUrl($value); + return $this; + } + + /** + * Unsets url field. + */ + public function unsetUrl(): self + { + $this->instance->unsetUrl(); + return $this; + } + + /** + * Sets usage report url field. + */ + public function usageReportUrl(?string $value): self + { + $this->instance->setUsageReportUrl($value); + return $this; + } + + /** + * Unsets usage report url field. + */ + public function unsetUsageReportUrl(): self + { + $this->instance->unsetUsageReportUrl(); + return $this; + } + + /** + * Sets grouped report url field. + */ + public function groupedReportUrl(?string $value): self + { + $this->instance->setGroupedReportUrl($value); + return $this; + } + + /** + * Unsets grouped report url field. + */ + public function unsetGroupedReportUrl(): self + { + $this->instance->unsetGroupedReportUrl(); + return $this; + } + + /** + * Initializes a new get usage report response object. + */ + public function build(): GetUsageReportResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetUsageResponseBuilder.php b/src/Models/Builders/GetUsageResponseBuilder.php new file mode 100644 index 0000000..610cb9f --- /dev/null +++ b/src/Models/Builders/GetUsageResponseBuilder.php @@ -0,0 +1,247 @@ +instance = $instance; + } + + /** + * Initializes a new get usage response Builder object. + */ + public static function init(): self + { + return new self(new GetUsageResponse()); + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets quantity field. + */ + public function quantity(?int $value): self + { + $this->instance->setQuantity($value); + return $this; + } + + /** + * Unsets quantity field. + */ + public function unsetQuantity(): self + { + $this->instance->unsetQuantity(); + return $this; + } + + /** + * Sets description field. + */ + public function description(?string $value): self + { + $this->instance->setDescription($value); + return $this; + } + + /** + * Unsets description field. + */ + public function unsetDescription(): self + { + $this->instance->unsetDescription(); + return $this; + } + + /** + * Sets used at field. + */ + public function usedAt(?\DateTime $value): self + { + $this->instance->setUsedAt($value); + return $this; + } + + /** + * Unsets used at field. + */ + public function unsetUsedAt(): self + { + $this->instance->unsetUsedAt(); + return $this; + } + + /** + * Sets created at field. + */ + public function createdAt(?\DateTime $value): self + { + $this->instance->setCreatedAt($value); + return $this; + } + + /** + * Unsets created at field. + */ + public function unsetCreatedAt(): self + { + $this->instance->unsetCreatedAt(); + return $this; + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Sets deleted at field. + */ + public function deletedAt(?\DateTime $value): self + { + $this->instance->setDeletedAt($value); + return $this; + } + + /** + * Unsets deleted at field. + */ + public function unsetDeletedAt(): self + { + $this->instance->unsetDeletedAt(); + return $this; + } + + /** + * Sets subscription item field. + */ + public function subscriptionItem(?GetSubscriptionItemResponse $value): self + { + $this->instance->setSubscriptionItem($value); + return $this; + } + + /** + * Unsets subscription item field. + */ + public function unsetSubscriptionItem(): self + { + $this->instance->unsetSubscriptionItem(); + return $this; + } + + /** + * Sets code field. + */ + public function code(?string $value): self + { + $this->instance->setCode($value); + return $this; + } + + /** + * Unsets code field. + */ + public function unsetCode(): self + { + $this->instance->unsetCode(); + return $this; + } + + /** + * Sets group field. + */ + public function group(?string $value): self + { + $this->instance->setGroup($value); + return $this; + } + + /** + * Unsets group field. + */ + public function unsetGroup(): self + { + $this->instance->unsetGroup(); + return $this; + } + + /** + * Sets amount field. + */ + public function amount(?int $value): self + { + $this->instance->setAmount($value); + return $this; + } + + /** + * Unsets amount field. + */ + public function unsetAmount(): self + { + $this->instance->unsetAmount(); + return $this; + } + + /** + * Initializes a new get usage response object. + */ + public function build(): GetUsageResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetVoucherTransactionResponseBuilder.php b/src/Models/Builders/GetVoucherTransactionResponseBuilder.php new file mode 100644 index 0000000..f2f2905 --- /dev/null +++ b/src/Models/Builders/GetVoucherTransactionResponseBuilder.php @@ -0,0 +1,566 @@ +instance = $instance; + } + + /** + * Initializes a new get voucher transaction response Builder object. + */ + public static function init(): self + { + return new self(new GetVoucherTransactionResponse()); + } + + /** + * Sets gateway id field. + */ + public function gatewayId(?string $value): self + { + $this->instance->setGatewayId($value); + return $this; + } + + /** + * Unsets gateway id field. + */ + public function unsetGatewayId(): self + { + $this->instance->unsetGatewayId(); + return $this; + } + + /** + * Sets amount field. + */ + public function amount(?int $value): self + { + $this->instance->setAmount($value); + return $this; + } + + /** + * Unsets amount field. + */ + public function unsetAmount(): self + { + $this->instance->unsetAmount(); + return $this; + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Sets success field. + */ + public function success(?bool $value): self + { + $this->instance->setSuccess($value); + return $this; + } + + /** + * Unsets success field. + */ + public function unsetSuccess(): self + { + $this->instance->unsetSuccess(); + return $this; + } + + /** + * Sets created at field. + */ + public function createdAt(?\DateTime $value): self + { + $this->instance->setCreatedAt($value); + return $this; + } + + /** + * Unsets created at field. + */ + public function unsetCreatedAt(): self + { + $this->instance->unsetCreatedAt(); + return $this; + } + + /** + * Sets updated at field. + */ + public function updatedAt(?\DateTime $value): self + { + $this->instance->setUpdatedAt($value); + return $this; + } + + /** + * Unsets updated at field. + */ + public function unsetUpdatedAt(): self + { + $this->instance->unsetUpdatedAt(); + return $this; + } + + /** + * Sets attempt count field. + */ + public function attemptCount(?int $value): self + { + $this->instance->setAttemptCount($value); + return $this; + } + + /** + * Unsets attempt count field. + */ + public function unsetAttemptCount(): self + { + $this->instance->unsetAttemptCount(); + return $this; + } + + /** + * Sets max attempts field. + */ + public function maxAttempts(?int $value): self + { + $this->instance->setMaxAttempts($value); + return $this; + } + + /** + * Unsets max attempts field. + */ + public function unsetMaxAttempts(): self + { + $this->instance->unsetMaxAttempts(); + return $this; + } + + /** + * Sets splits field. + */ + public function splits(?array $value): self + { + $this->instance->setSplits($value); + return $this; + } + + /** + * Unsets splits field. + */ + public function unsetSplits(): self + { + $this->instance->unsetSplits(); + return $this; + } + + /** + * Sets next attempt field. + */ + public function nextAttempt(?\DateTime $value): self + { + $this->instance->setNextAttempt($value); + return $this; + } + + /** + * Unsets next attempt field. + */ + public function unsetNextAttempt(): self + { + $this->instance->unsetNextAttempt(); + return $this; + } + + /** + * Sets transaction type field. + */ + public function transactionType(?string $value): self + { + $this->instance->setTransactionType($value); + return $this; + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets gateway response field. + */ + public function gatewayResponse(?GetGatewayResponseResponse $value): self + { + $this->instance->setGatewayResponse($value); + return $this; + } + + /** + * Unsets gateway response field. + */ + public function unsetGatewayResponse(): self + { + $this->instance->unsetGatewayResponse(); + return $this; + } + + /** + * Sets antifraud response field. + */ + public function antifraudResponse(?GetAntifraudResponse $value): self + { + $this->instance->setAntifraudResponse($value); + return $this; + } + + /** + * Unsets antifraud response field. + */ + public function unsetAntifraudResponse(): self + { + $this->instance->unsetAntifraudResponse(); + return $this; + } + + /** + * Sets metadata field. + */ + public function metadata(?array $value): self + { + $this->instance->setMetadata($value); + return $this; + } + + /** + * Unsets metadata field. + */ + public function unsetMetadata(): self + { + $this->instance->unsetMetadata(); + return $this; + } + + /** + * Sets split field. + */ + public function split(?array $value): self + { + $this->instance->setSplit($value); + return $this; + } + + /** + * Unsets split field. + */ + public function unsetSplit(): self + { + $this->instance->unsetSplit(); + return $this; + } + + /** + * Sets interest field. + */ + public function interest(?GetInterestResponse $value): self + { + $this->instance->setInterest($value); + return $this; + } + + /** + * Unsets interest field. + */ + public function unsetInterest(): self + { + $this->instance->unsetInterest(); + return $this; + } + + /** + * Sets fine field. + */ + public function fine(?GetFineResponse $value): self + { + $this->instance->setFine($value); + return $this; + } + + /** + * Unsets fine field. + */ + public function unsetFine(): self + { + $this->instance->unsetFine(); + return $this; + } + + /** + * Sets max days to pay past due field. + */ + public function maxDaysToPayPastDue(?int $value): self + { + $this->instance->setMaxDaysToPayPastDue($value); + return $this; + } + + /** + * Unsets max days to pay past due field. + */ + public function unsetMaxDaysToPayPastDue(): self + { + $this->instance->unsetMaxDaysToPayPastDue(); + return $this; + } + + /** + * Sets statement descriptor field. + */ + public function statementDescriptor(?string $value): self + { + $this->instance->setStatementDescriptor($value); + return $this; + } + + /** + * Unsets statement descriptor field. + */ + public function unsetStatementDescriptor(): self + { + $this->instance->unsetStatementDescriptor(); + return $this; + } + + /** + * Sets acquirer name field. + */ + public function acquirerName(?string $value): self + { + $this->instance->setAcquirerName($value); + return $this; + } + + /** + * Unsets acquirer name field. + */ + public function unsetAcquirerName(): self + { + $this->instance->unsetAcquirerName(); + return $this; + } + + /** + * Sets acquirer affiliation code field. + */ + public function acquirerAffiliationCode(?string $value): self + { + $this->instance->setAcquirerAffiliationCode($value); + return $this; + } + + /** + * Unsets acquirer affiliation code field. + */ + public function unsetAcquirerAffiliationCode(): self + { + $this->instance->unsetAcquirerAffiliationCode(); + return $this; + } + + /** + * Sets acquirer tid field. + */ + public function acquirerTid(?string $value): self + { + $this->instance->setAcquirerTid($value); + return $this; + } + + /** + * Unsets acquirer tid field. + */ + public function unsetAcquirerTid(): self + { + $this->instance->unsetAcquirerTid(); + return $this; + } + + /** + * Sets acquirer nsu field. + */ + public function acquirerNsu(?string $value): self + { + $this->instance->setAcquirerNsu($value); + return $this; + } + + /** + * Unsets acquirer nsu field. + */ + public function unsetAcquirerNsu(): self + { + $this->instance->unsetAcquirerNsu(); + return $this; + } + + /** + * Sets acquirer auth code field. + */ + public function acquirerAuthCode(?string $value): self + { + $this->instance->setAcquirerAuthCode($value); + return $this; + } + + /** + * Unsets acquirer auth code field. + */ + public function unsetAcquirerAuthCode(): self + { + $this->instance->unsetAcquirerAuthCode(); + return $this; + } + + /** + * Sets acquirer message field. + */ + public function acquirerMessage(?string $value): self + { + $this->instance->setAcquirerMessage($value); + return $this; + } + + /** + * Unsets acquirer message field. + */ + public function unsetAcquirerMessage(): self + { + $this->instance->unsetAcquirerMessage(); + return $this; + } + + /** + * Sets acquirer return code field. + */ + public function acquirerReturnCode(?string $value): self + { + $this->instance->setAcquirerReturnCode($value); + return $this; + } + + /** + * Unsets acquirer return code field. + */ + public function unsetAcquirerReturnCode(): self + { + $this->instance->unsetAcquirerReturnCode(); + return $this; + } + + /** + * Sets operation type field. + */ + public function operationType(?string $value): self + { + $this->instance->setOperationType($value); + return $this; + } + + /** + * Unsets operation type field. + */ + public function unsetOperationType(): self + { + $this->instance->unsetOperationType(); + return $this; + } + + /** + * Sets card field. + */ + public function card(?GetCardResponse $value): self + { + $this->instance->setCard($value); + return $this; + } + + /** + * Unsets card field. + */ + public function unsetCard(): self + { + $this->instance->unsetCard(); + return $this; + } + + /** + * Initializes a new get voucher transaction response object. + */ + public function build(): GetVoucherTransactionResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetWithdrawResponseBuilder.php b/src/Models/Builders/GetWithdrawResponseBuilder.php new file mode 100644 index 0000000..14fec33 --- /dev/null +++ b/src/Models/Builders/GetWithdrawResponseBuilder.php @@ -0,0 +1,284 @@ +instance = $instance; + } + + /** + * Initializes a new get withdraw response Builder object. + */ + public static function init(): self + { + return new self(new GetWithdrawResponse()); + } + + /** + * Sets id field. + */ + public function id(?string $value): self + { + $this->instance->setId($value); + return $this; + } + + /** + * Unsets id field. + */ + public function unsetId(): self + { + $this->instance->unsetId(); + return $this; + } + + /** + * Sets gateway id field. + */ + public function gatewayId(?string $value): self + { + $this->instance->setGatewayId($value); + return $this; + } + + /** + * Unsets gateway id field. + */ + public function unsetGatewayId(): self + { + $this->instance->unsetGatewayId(); + return $this; + } + + /** + * Sets amount field. + */ + public function amount(?int $value): self + { + $this->instance->setAmount($value); + return $this; + } + + /** + * Unsets amount field. + */ + public function unsetAmount(): self + { + $this->instance->unsetAmount(); + return $this; + } + + /** + * Sets status field. + */ + public function status(?string $value): self + { + $this->instance->setStatus($value); + return $this; + } + + /** + * Unsets status field. + */ + public function unsetStatus(): self + { + $this->instance->unsetStatus(); + return $this; + } + + /** + * Sets created at field. + */ + public function createdAt(?\DateTime $value): self + { + $this->instance->setCreatedAt($value); + return $this; + } + + /** + * Unsets created at field. + */ + public function unsetCreatedAt(): self + { + $this->instance->unsetCreatedAt(); + return $this; + } + + /** + * Sets updated at field. + */ + public function updatedAt(?\DateTime $value): self + { + $this->instance->setUpdatedAt($value); + return $this; + } + + /** + * Unsets updated at field. + */ + public function unsetUpdatedAt(): self + { + $this->instance->unsetUpdatedAt(); + return $this; + } + + /** + * Sets metadata field. + */ + public function metadata(?array $value): self + { + $this->instance->setMetadata($value); + return $this; + } + + /** + * Unsets metadata field. + */ + public function unsetMetadata(): self + { + $this->instance->unsetMetadata(); + return $this; + } + + /** + * Sets fee field. + */ + public function fee(?int $value): self + { + $this->instance->setFee($value); + return $this; + } + + /** + * Unsets fee field. + */ + public function unsetFee(): self + { + $this->instance->unsetFee(); + return $this; + } + + /** + * Sets funding date field. + */ + public function fundingDate(?\DateTime $value): self + { + $this->instance->setFundingDate($value); + return $this; + } + + /** + * Unsets funding date field. + */ + public function unsetFundingDate(): self + { + $this->instance->unsetFundingDate(); + return $this; + } + + /** + * Sets funding estimated date field. + */ + public function fundingEstimatedDate(?\DateTime $value): self + { + $this->instance->setFundingEstimatedDate($value); + return $this; + } + + /** + * Unsets funding estimated date field. + */ + public function unsetFundingEstimatedDate(): self + { + $this->instance->unsetFundingEstimatedDate(); + return $this; + } + + /** + * Sets type field. + */ + public function type(?string $value): self + { + $this->instance->setType($value); + return $this; + } + + /** + * Unsets type field. + */ + public function unsetType(): self + { + $this->instance->unsetType(); + return $this; + } + + /** + * Sets source field. + */ + public function source(?GetWithdrawSourceResponse $value): self + { + $this->instance->setSource($value); + return $this; + } + + /** + * Unsets source field. + */ + public function unsetSource(): self + { + $this->instance->unsetSource(); + return $this; + } + + /** + * Sets target field. + */ + public function target(?GetWithdrawTargetResponse $value): self + { + $this->instance->setTarget($value); + return $this; + } + + /** + * Unsets target field. + */ + public function unsetTarget(): self + { + $this->instance->unsetTarget(); + return $this; + } + + /** + * Initializes a new get withdraw response object. + */ + public function build(): GetWithdrawResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetWithdrawSourceResponseBuilder.php b/src/Models/Builders/GetWithdrawSourceResponseBuilder.php new file mode 100644 index 0000000..1e9c5f6 --- /dev/null +++ b/src/Models/Builders/GetWithdrawSourceResponseBuilder.php @@ -0,0 +1,84 @@ +instance = $instance; + } + + /** + * Initializes a new get withdraw source response Builder object. + */ + public static function init(): self + { + return new self(new GetWithdrawSourceResponse()); + } + + /** + * Sets source id field. + */ + public function sourceId(?string $value): self + { + $this->instance->setSourceId($value); + return $this; + } + + /** + * Unsets source id field. + */ + public function unsetSourceId(): self + { + $this->instance->unsetSourceId(); + return $this; + } + + /** + * Sets type field. + */ + public function type(?string $value): self + { + $this->instance->setType($value); + return $this; + } + + /** + * Unsets type field. + */ + public function unsetType(): self + { + $this->instance->unsetType(); + return $this; + } + + /** + * Initializes a new get withdraw source response object. + */ + public function build(): GetWithdrawSourceResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/GetWithdrawTargetResponseBuilder.php b/src/Models/Builders/GetWithdrawTargetResponseBuilder.php new file mode 100644 index 0000000..17cd2e6 --- /dev/null +++ b/src/Models/Builders/GetWithdrawTargetResponseBuilder.php @@ -0,0 +1,84 @@ +instance = $instance; + } + + /** + * Initializes a new get withdraw target response Builder object. + */ + public static function init(): self + { + return new self(new GetWithdrawTargetResponse()); + } + + /** + * Sets target id field. + */ + public function targetId(?string $value): self + { + $this->instance->setTargetId($value); + return $this; + } + + /** + * Unsets target id field. + */ + public function unsetTargetId(): self + { + $this->instance->unsetTargetId(); + return $this; + } + + /** + * Sets type field. + */ + public function type(?string $value): self + { + $this->instance->setType($value); + return $this; + } + + /** + * Unsets type field. + */ + public function unsetType(): self + { + $this->instance->unsetType(); + return $this; + } + + /** + * Initializes a new get withdraw target response object. + */ + public function build(): GetWithdrawTargetResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/ListAccessTokensResponseBuilder.php b/src/Models/Builders/ListAccessTokensResponseBuilder.php new file mode 100644 index 0000000..edf1ebb --- /dev/null +++ b/src/Models/Builders/ListAccessTokensResponseBuilder.php @@ -0,0 +1,85 @@ +instance = $instance; + } + + /** + * Initializes a new list access tokens response Builder object. + */ + public static function init(): self + { + return new self(new ListAccessTokensResponse()); + } + + /** + * Sets data field. + */ + public function data(?array $value): self + { + $this->instance->setData($value); + return $this; + } + + /** + * Unsets data field. + */ + public function unsetData(): self + { + $this->instance->unsetData(); + return $this; + } + + /** + * Sets paging field. + */ + public function paging(?PagingResponse $value): self + { + $this->instance->setPaging($value); + return $this; + } + + /** + * Unsets paging field. + */ + public function unsetPaging(): self + { + $this->instance->unsetPaging(); + return $this; + } + + /** + * Initializes a new list access tokens response object. + */ + public function build(): ListAccessTokensResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/ListAddressesResponseBuilder.php b/src/Models/Builders/ListAddressesResponseBuilder.php new file mode 100644 index 0000000..0ef9476 --- /dev/null +++ b/src/Models/Builders/ListAddressesResponseBuilder.php @@ -0,0 +1,85 @@ +instance = $instance; + } + + /** + * Initializes a new list addresses response Builder object. + */ + public static function init(): self + { + return new self(new ListAddressesResponse()); + } + + /** + * Sets data field. + */ + public function data(?array $value): self + { + $this->instance->setData($value); + return $this; + } + + /** + * Unsets data field. + */ + public function unsetData(): self + { + $this->instance->unsetData(); + return $this; + } + + /** + * Sets paging field. + */ + public function paging(?PagingResponse $value): self + { + $this->instance->setPaging($value); + return $this; + } + + /** + * Unsets paging field. + */ + public function unsetPaging(): self + { + $this->instance->unsetPaging(); + return $this; + } + + /** + * Initializes a new list addresses response object. + */ + public function build(): ListAddressesResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/ListAnticipationResponseBuilder.php b/src/Models/Builders/ListAnticipationResponseBuilder.php new file mode 100644 index 0000000..a9bf63c --- /dev/null +++ b/src/Models/Builders/ListAnticipationResponseBuilder.php @@ -0,0 +1,85 @@ +instance = $instance; + } + + /** + * Initializes a new list anticipation response Builder object. + */ + public static function init(): self + { + return new self(new ListAnticipationResponse()); + } + + /** + * Sets data field. + */ + public function data(?array $value): self + { + $this->instance->setData($value); + return $this; + } + + /** + * Unsets data field. + */ + public function unsetData(): self + { + $this->instance->unsetData(); + return $this; + } + + /** + * Sets paging field. + */ + public function paging(?PagingResponse $value): self + { + $this->instance->setPaging($value); + return $this; + } + + /** + * Unsets paging field. + */ + public function unsetPaging(): self + { + $this->instance->unsetPaging(); + return $this; + } + + /** + * Initializes a new list anticipation response object. + */ + public function build(): ListAnticipationResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/ListCardsResponseBuilder.php b/src/Models/Builders/ListCardsResponseBuilder.php new file mode 100644 index 0000000..b066cbe --- /dev/null +++ b/src/Models/Builders/ListCardsResponseBuilder.php @@ -0,0 +1,85 @@ +instance = $instance; + } + + /** + * Initializes a new list cards response Builder object. + */ + public static function init(): self + { + return new self(new ListCardsResponse()); + } + + /** + * Sets data field. + */ + public function data(?array $value): self + { + $this->instance->setData($value); + return $this; + } + + /** + * Unsets data field. + */ + public function unsetData(): self + { + $this->instance->unsetData(); + return $this; + } + + /** + * Sets paging field. + */ + public function paging(?PagingResponse $value): self + { + $this->instance->setPaging($value); + return $this; + } + + /** + * Unsets paging field. + */ + public function unsetPaging(): self + { + $this->instance->unsetPaging(); + return $this; + } + + /** + * Initializes a new list cards response object. + */ + public function build(): ListCardsResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/ListChargeTransactionsResponseBuilder.php b/src/Models/Builders/ListChargeTransactionsResponseBuilder.php new file mode 100644 index 0000000..1422cc7 --- /dev/null +++ b/src/Models/Builders/ListChargeTransactionsResponseBuilder.php @@ -0,0 +1,85 @@ +instance = $instance; + } + + /** + * Initializes a new list charge transactions response Builder object. + */ + public static function init(): self + { + return new self(new ListChargeTransactionsResponse()); + } + + /** + * Sets data field. + */ + public function data(?array $value): self + { + $this->instance->setData($value); + return $this; + } + + /** + * Unsets data field. + */ + public function unsetData(): self + { + $this->instance->unsetData(); + return $this; + } + + /** + * Sets paging field. + */ + public function paging(?PagingResponse $value): self + { + $this->instance->setPaging($value); + return $this; + } + + /** + * Unsets paging field. + */ + public function unsetPaging(): self + { + $this->instance->unsetPaging(); + return $this; + } + + /** + * Initializes a new list charge transactions response object. + */ + public function build(): ListChargeTransactionsResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/ListChargesResponseBuilder.php b/src/Models/Builders/ListChargesResponseBuilder.php new file mode 100644 index 0000000..538d7cc --- /dev/null +++ b/src/Models/Builders/ListChargesResponseBuilder.php @@ -0,0 +1,85 @@ +instance = $instance; + } + + /** + * Initializes a new list charges response Builder object. + */ + public static function init(): self + { + return new self(new ListChargesResponse()); + } + + /** + * Sets data field. + */ + public function data(?array $value): self + { + $this->instance->setData($value); + return $this; + } + + /** + * Unsets data field. + */ + public function unsetData(): self + { + $this->instance->unsetData(); + return $this; + } + + /** + * Sets paging field. + */ + public function paging(?PagingResponse $value): self + { + $this->instance->setPaging($value); + return $this; + } + + /** + * Unsets paging field. + */ + public function unsetPaging(): self + { + $this->instance->unsetPaging(); + return $this; + } + + /** + * Initializes a new list charges response object. + */ + public function build(): ListChargesResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/ListCustomersResponseBuilder.php b/src/Models/Builders/ListCustomersResponseBuilder.php new file mode 100644 index 0000000..bb1befb --- /dev/null +++ b/src/Models/Builders/ListCustomersResponseBuilder.php @@ -0,0 +1,85 @@ +instance = $instance; + } + + /** + * Initializes a new list customers response Builder object. + */ + public static function init(): self + { + return new self(new ListCustomersResponse()); + } + + /** + * Sets data field. + */ + public function data(?array $value): self + { + $this->instance->setData($value); + return $this; + } + + /** + * Unsets data field. + */ + public function unsetData(): self + { + $this->instance->unsetData(); + return $this; + } + + /** + * Sets paging field. + */ + public function paging(?PagingResponse $value): self + { + $this->instance->setPaging($value); + return $this; + } + + /** + * Unsets paging field. + */ + public function unsetPaging(): self + { + $this->instance->unsetPaging(); + return $this; + } + + /** + * Initializes a new list customers response object. + */ + public function build(): ListCustomersResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/ListCyclesResponseBuilder.php b/src/Models/Builders/ListCyclesResponseBuilder.php new file mode 100644 index 0000000..0a296b8 --- /dev/null +++ b/src/Models/Builders/ListCyclesResponseBuilder.php @@ -0,0 +1,85 @@ +instance = $instance; + } + + /** + * Initializes a new list cycles response Builder object. + */ + public static function init(): self + { + return new self(new ListCyclesResponse()); + } + + /** + * Sets data field. + */ + public function data(?array $value): self + { + $this->instance->setData($value); + return $this; + } + + /** + * Unsets data field. + */ + public function unsetData(): self + { + $this->instance->unsetData(); + return $this; + } + + /** + * Sets paging field. + */ + public function paging(?PagingResponse $value): self + { + $this->instance->setPaging($value); + return $this; + } + + /** + * Unsets paging field. + */ + public function unsetPaging(): self + { + $this->instance->unsetPaging(); + return $this; + } + + /** + * Initializes a new list cycles response object. + */ + public function build(): ListCyclesResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/ListDiscountsResponseBuilder.php b/src/Models/Builders/ListDiscountsResponseBuilder.php new file mode 100644 index 0000000..8f33854 --- /dev/null +++ b/src/Models/Builders/ListDiscountsResponseBuilder.php @@ -0,0 +1,85 @@ +instance = $instance; + } + + /** + * Initializes a new list discounts response Builder object. + */ + public static function init(): self + { + return new self(new ListDiscountsResponse()); + } + + /** + * Sets data field. + */ + public function data(?array $value): self + { + $this->instance->setData($value); + return $this; + } + + /** + * Unsets data field. + */ + public function unsetData(): self + { + $this->instance->unsetData(); + return $this; + } + + /** + * Sets paging field. + */ + public function paging(?PagingResponse $value): self + { + $this->instance->setPaging($value); + return $this; + } + + /** + * Unsets paging field. + */ + public function unsetPaging(): self + { + $this->instance->unsetPaging(); + return $this; + } + + /** + * Initializes a new list discounts response object. + */ + public function build(): ListDiscountsResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/ListIncrementsResponseBuilder.php b/src/Models/Builders/ListIncrementsResponseBuilder.php new file mode 100644 index 0000000..64a91f5 --- /dev/null +++ b/src/Models/Builders/ListIncrementsResponseBuilder.php @@ -0,0 +1,85 @@ +instance = $instance; + } + + /** + * Initializes a new list increments response Builder object. + */ + public static function init(): self + { + return new self(new ListIncrementsResponse()); + } + + /** + * Sets data field. + */ + public function data(?array $value): self + { + $this->instance->setData($value); + return $this; + } + + /** + * Unsets data field. + */ + public function unsetData(): self + { + $this->instance->unsetData(); + return $this; + } + + /** + * Sets paging field. + */ + public function paging(?PagingResponse $value): self + { + $this->instance->setPaging($value); + return $this; + } + + /** + * Unsets paging field. + */ + public function unsetPaging(): self + { + $this->instance->unsetPaging(); + return $this; + } + + /** + * Initializes a new list increments response object. + */ + public function build(): ListIncrementsResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/ListInvoicesResponseBuilder.php b/src/Models/Builders/ListInvoicesResponseBuilder.php new file mode 100644 index 0000000..22de5bd --- /dev/null +++ b/src/Models/Builders/ListInvoicesResponseBuilder.php @@ -0,0 +1,85 @@ +instance = $instance; + } + + /** + * Initializes a new list invoices response Builder object. + */ + public static function init(): self + { + return new self(new ListInvoicesResponse()); + } + + /** + * Sets data field. + */ + public function data(?array $value): self + { + $this->instance->setData($value); + return $this; + } + + /** + * Unsets data field. + */ + public function unsetData(): self + { + $this->instance->unsetData(); + return $this; + } + + /** + * Sets paging field. + */ + public function paging(?PagingResponse $value): self + { + $this->instance->setPaging($value); + return $this; + } + + /** + * Unsets paging field. + */ + public function unsetPaging(): self + { + $this->instance->unsetPaging(); + return $this; + } + + /** + * Initializes a new list invoices response object. + */ + public function build(): ListInvoicesResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/ListOrderResponseBuilder.php b/src/Models/Builders/ListOrderResponseBuilder.php new file mode 100644 index 0000000..23cd2f3 --- /dev/null +++ b/src/Models/Builders/ListOrderResponseBuilder.php @@ -0,0 +1,85 @@ +instance = $instance; + } + + /** + * Initializes a new list order response Builder object. + */ + public static function init(): self + { + return new self(new ListOrderResponse()); + } + + /** + * Sets data field. + */ + public function data(?array $value): self + { + $this->instance->setData($value); + return $this; + } + + /** + * Unsets data field. + */ + public function unsetData(): self + { + $this->instance->unsetData(); + return $this; + } + + /** + * Sets paging field. + */ + public function paging(?PagingResponse $value): self + { + $this->instance->setPaging($value); + return $this; + } + + /** + * Unsets paging field. + */ + public function unsetPaging(): self + { + $this->instance->unsetPaging(); + return $this; + } + + /** + * Initializes a new list order response object. + */ + public function build(): ListOrderResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/ListPlansResponseBuilder.php b/src/Models/Builders/ListPlansResponseBuilder.php new file mode 100644 index 0000000..285a67e --- /dev/null +++ b/src/Models/Builders/ListPlansResponseBuilder.php @@ -0,0 +1,85 @@ +instance = $instance; + } + + /** + * Initializes a new list plans response Builder object. + */ + public static function init(): self + { + return new self(new ListPlansResponse()); + } + + /** + * Sets data field. + */ + public function data(?array $value): self + { + $this->instance->setData($value); + return $this; + } + + /** + * Unsets data field. + */ + public function unsetData(): self + { + $this->instance->unsetData(); + return $this; + } + + /** + * Sets paging field. + */ + public function paging(?PagingResponse $value): self + { + $this->instance->setPaging($value); + return $this; + } + + /** + * Unsets paging field. + */ + public function unsetPaging(): self + { + $this->instance->unsetPaging(); + return $this; + } + + /** + * Initializes a new list plans response object. + */ + public function build(): ListPlansResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/ListRecipientResponseBuilder.php b/src/Models/Builders/ListRecipientResponseBuilder.php new file mode 100644 index 0000000..a1c05f5 --- /dev/null +++ b/src/Models/Builders/ListRecipientResponseBuilder.php @@ -0,0 +1,85 @@ +instance = $instance; + } + + /** + * Initializes a new list recipient response Builder object. + */ + public static function init(): self + { + return new self(new ListRecipientResponse()); + } + + /** + * Sets data field. + */ + public function data(?array $value): self + { + $this->instance->setData($value); + return $this; + } + + /** + * Unsets data field. + */ + public function unsetData(): self + { + $this->instance->unsetData(); + return $this; + } + + /** + * Sets paging field. + */ + public function paging(?PagingResponse $value): self + { + $this->instance->setPaging($value); + return $this; + } + + /** + * Unsets paging field. + */ + public function unsetPaging(): self + { + $this->instance->unsetPaging(); + return $this; + } + + /** + * Initializes a new list recipient response object. + */ + public function build(): ListRecipientResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/ListSubscriptionItemsResponseBuilder.php b/src/Models/Builders/ListSubscriptionItemsResponseBuilder.php new file mode 100644 index 0000000..9710e73 --- /dev/null +++ b/src/Models/Builders/ListSubscriptionItemsResponseBuilder.php @@ -0,0 +1,85 @@ +instance = $instance; + } + + /** + * Initializes a new list subscription items response Builder object. + */ + public static function init(): self + { + return new self(new ListSubscriptionItemsResponse()); + } + + /** + * Sets data field. + */ + public function data(?array $value): self + { + $this->instance->setData($value); + return $this; + } + + /** + * Unsets data field. + */ + public function unsetData(): self + { + $this->instance->unsetData(); + return $this; + } + + /** + * Sets paging field. + */ + public function paging(?PagingResponse $value): self + { + $this->instance->setPaging($value); + return $this; + } + + /** + * Unsets paging field. + */ + public function unsetPaging(): self + { + $this->instance->unsetPaging(); + return $this; + } + + /** + * Initializes a new list subscription items response object. + */ + public function build(): ListSubscriptionItemsResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/ListSubscriptionsResponseBuilder.php b/src/Models/Builders/ListSubscriptionsResponseBuilder.php new file mode 100644 index 0000000..e1fc918 --- /dev/null +++ b/src/Models/Builders/ListSubscriptionsResponseBuilder.php @@ -0,0 +1,85 @@ +instance = $instance; + } + + /** + * Initializes a new list subscriptions response Builder object. + */ + public static function init(): self + { + return new self(new ListSubscriptionsResponse()); + } + + /** + * Sets data field. + */ + public function data(?array $value): self + { + $this->instance->setData($value); + return $this; + } + + /** + * Unsets data field. + */ + public function unsetData(): self + { + $this->instance->unsetData(); + return $this; + } + + /** + * Sets paging field. + */ + public function paging(?PagingResponse $value): self + { + $this->instance->setPaging($value); + return $this; + } + + /** + * Unsets paging field. + */ + public function unsetPaging(): self + { + $this->instance->unsetPaging(); + return $this; + } + + /** + * Initializes a new list subscriptions response object. + */ + public function build(): ListSubscriptionsResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/ListTransactionsFilesResponseBuilder.php b/src/Models/Builders/ListTransactionsFilesResponseBuilder.php new file mode 100644 index 0000000..e4ee74b --- /dev/null +++ b/src/Models/Builders/ListTransactionsFilesResponseBuilder.php @@ -0,0 +1,85 @@ +instance = $instance; + } + + /** + * Initializes a new list transactions files response Builder object. + */ + public static function init(): self + { + return new self(new ListTransactionsFilesResponse()); + } + + /** + * Sets data field. + */ + public function data(?array $value): self + { + $this->instance->setData($value); + return $this; + } + + /** + * Unsets data field. + */ + public function unsetData(): self + { + $this->instance->unsetData(); + return $this; + } + + /** + * Sets paging field. + */ + public function paging(?PagingResponse $value): self + { + $this->instance->setPaging($value); + return $this; + } + + /** + * Unsets paging field. + */ + public function unsetPaging(): self + { + $this->instance->unsetPaging(); + return $this; + } + + /** + * Initializes a new list transactions files response object. + */ + public function build(): ListTransactionsFilesResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/ListTransactionsResponseBuilder.php b/src/Models/Builders/ListTransactionsResponseBuilder.php new file mode 100644 index 0000000..1c82bfb --- /dev/null +++ b/src/Models/Builders/ListTransactionsResponseBuilder.php @@ -0,0 +1,85 @@ +instance = $instance; + } + + /** + * Initializes a new list transactions response Builder object. + */ + public static function init(): self + { + return new self(new ListTransactionsResponse()); + } + + /** + * Sets data field. + */ + public function data(?array $value): self + { + $this->instance->setData($value); + return $this; + } + + /** + * Unsets data field. + */ + public function unsetData(): self + { + $this->instance->unsetData(); + return $this; + } + + /** + * Sets paging field. + */ + public function paging(?PagingResponse $value): self + { + $this->instance->setPaging($value); + return $this; + } + + /** + * Unsets paging field. + */ + public function unsetPaging(): self + { + $this->instance->unsetPaging(); + return $this; + } + + /** + * Initializes a new list transactions response object. + */ + public function build(): ListTransactionsResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/ListTransferResponseBuilder.php b/src/Models/Builders/ListTransferResponseBuilder.php new file mode 100644 index 0000000..afd6d6e --- /dev/null +++ b/src/Models/Builders/ListTransferResponseBuilder.php @@ -0,0 +1,85 @@ +instance = $instance; + } + + /** + * Initializes a new list transfer response Builder object. + */ + public static function init(): self + { + return new self(new ListTransferResponse()); + } + + /** + * Sets data field. + */ + public function data(?array $value): self + { + $this->instance->setData($value); + return $this; + } + + /** + * Unsets data field. + */ + public function unsetData(): self + { + $this->instance->unsetData(); + return $this; + } + + /** + * Sets paging field. + */ + public function paging(?PagingResponse $value): self + { + $this->instance->setPaging($value); + return $this; + } + + /** + * Unsets paging field. + */ + public function unsetPaging(): self + { + $this->instance->unsetPaging(); + return $this; + } + + /** + * Initializes a new list transfer response object. + */ + public function build(): ListTransferResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/ListTransfersBuilder.php b/src/Models/Builders/ListTransfersBuilder.php new file mode 100644 index 0000000..b8a6027 --- /dev/null +++ b/src/Models/Builders/ListTransfersBuilder.php @@ -0,0 +1,49 @@ +instance = $instance; + } + + /** + * Initializes a new list transfers Builder object. + */ + public static function init(array $data, PagingResponse $paging): self + { + return new self(new ListTransfers($data, $paging)); + } + + /** + * Initializes a new list transfers object. + */ + public function build(): ListTransfers + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/ListUsagesResponseBuilder.php b/src/Models/Builders/ListUsagesResponseBuilder.php new file mode 100644 index 0000000..040d0dd --- /dev/null +++ b/src/Models/Builders/ListUsagesResponseBuilder.php @@ -0,0 +1,85 @@ +instance = $instance; + } + + /** + * Initializes a new list usages response Builder object. + */ + public static function init(): self + { + return new self(new ListUsagesResponse()); + } + + /** + * Sets data field. + */ + public function data(?array $value): self + { + $this->instance->setData($value); + return $this; + } + + /** + * Unsets data field. + */ + public function unsetData(): self + { + $this->instance->unsetData(); + return $this; + } + + /** + * Sets paging field. + */ + public function paging(?PagingResponse $value): self + { + $this->instance->setPaging($value); + return $this; + } + + /** + * Unsets paging field. + */ + public function unsetPaging(): self + { + $this->instance->unsetPaging(); + return $this; + } + + /** + * Initializes a new list usages response object. + */ + public function build(): ListUsagesResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/ListWithdrawalsBuilder.php b/src/Models/Builders/ListWithdrawalsBuilder.php new file mode 100644 index 0000000..35eb0fb --- /dev/null +++ b/src/Models/Builders/ListWithdrawalsBuilder.php @@ -0,0 +1,49 @@ +instance = $instance; + } + + /** + * Initializes a new list withdrawals Builder object. + */ + public static function init(array $data, PagingResponse $paging): self + { + return new self(new ListWithdrawals($data, $paging)); + } + + /** + * Initializes a new list withdrawals object. + */ + public function build(): ListWithdrawals + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/PagingResponseBuilder.php b/src/Models/Builders/PagingResponseBuilder.php new file mode 100644 index 0000000..9c8dc95 --- /dev/null +++ b/src/Models/Builders/PagingResponseBuilder.php @@ -0,0 +1,102 @@ +instance = $instance; + } + + /** + * Initializes a new paging response Builder object. + */ + public static function init(): self + { + return new self(new PagingResponse()); + } + + /** + * Sets total field. + */ + public function total(?int $value): self + { + $this->instance->setTotal($value); + return $this; + } + + /** + * Unsets total field. + */ + public function unsetTotal(): self + { + $this->instance->unsetTotal(); + return $this; + } + + /** + * Sets previous field. + */ + public function previous(?string $value): self + { + $this->instance->setPrevious($value); + return $this; + } + + /** + * Unsets previous field. + */ + public function unsetPrevious(): self + { + $this->instance->unsetPrevious(); + return $this; + } + + /** + * Sets next field. + */ + public function next(?string $value): self + { + $this->instance->setNext($value); + return $this; + } + + /** + * Unsets next field. + */ + public function unsetNext(): self + { + $this->instance->unsetNext(); + return $this; + } + + /** + * Initializes a new paging response object. + */ + public function build(): PagingResponse + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/PixAdditionalInformationBuilder.php b/src/Models/Builders/PixAdditionalInformationBuilder.php new file mode 100644 index 0000000..fba954e --- /dev/null +++ b/src/Models/Builders/PixAdditionalInformationBuilder.php @@ -0,0 +1,84 @@ +instance = $instance; + } + + /** + * Initializes a new pix additional information Builder object. + */ + public static function init(): self + { + return new self(new PixAdditionalInformation()); + } + + /** + * Sets name field. + */ + public function name(?string $value): self + { + $this->instance->setName($value); + return $this; + } + + /** + * Unsets name field. + */ + public function unsetName(): self + { + $this->instance->unsetName(); + return $this; + } + + /** + * Sets value field. + */ + public function value(?string $value): self + { + $this->instance->setValue($value); + return $this; + } + + /** + * Unsets value field. + */ + public function unsetValue(): self + { + $this->instance->unsetValue(); + return $this; + } + + /** + * Initializes a new pix additional information object. + */ + public function build(): PixAdditionalInformation + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/UpdateAddressRequestBuilder.php b/src/Models/Builders/UpdateAddressRequestBuilder.php new file mode 100644 index 0000000..a91d825 --- /dev/null +++ b/src/Models/Builders/UpdateAddressRequestBuilder.php @@ -0,0 +1,48 @@ +instance = $instance; + } + + /** + * Initializes a new update address request Builder object. + */ + public static function init(string $number, string $complement, array $metadata, string $line2): self + { + return new self(new UpdateAddressRequest($number, $complement, $metadata, $line2)); + } + + /** + * Initializes a new update address request object. + */ + public function build(): UpdateAddressRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/UpdateAutomaticAnticipationSettingsRequestBuilder.php b/src/Models/Builders/UpdateAutomaticAnticipationSettingsRequestBuilder.php new file mode 100644 index 0000000..28b67de --- /dev/null +++ b/src/Models/Builders/UpdateAutomaticAnticipationSettingsRequestBuilder.php @@ -0,0 +1,93 @@ +instance = $instance; + } + + /** + * Initializes a new update automatic anticipation settings request Builder object. + */ + public static function init(): self + { + return new self(new UpdateAutomaticAnticipationSettingsRequest()); + } + + /** + * Sets enabled field. + */ + public function enabled(?bool $value): self + { + $this->instance->setEnabled($value); + return $this; + } + + /** + * Sets type field. + */ + public function type(?string $value): self + { + $this->instance->setType($value); + return $this; + } + + /** + * Sets volume percentage field. + */ + public function volumePercentage(?int $value): self + { + $this->instance->setVolumePercentage($value); + return $this; + } + + /** + * Sets delay field. + */ + public function delay(?int $value): self + { + $this->instance->setDelay($value); + return $this; + } + + /** + * Sets days field. + */ + public function days(?int $value): self + { + $this->instance->setDays($value); + return $this; + } + + /** + * Initializes a new update automatic anticipation settings request object. + */ + public function build(): UpdateAutomaticAnticipationSettingsRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/UpdateCardRequestBuilder.php b/src/Models/Builders/UpdateCardRequestBuilder.php new file mode 100644 index 0000000..00091bf --- /dev/null +++ b/src/Models/Builders/UpdateCardRequestBuilder.php @@ -0,0 +1,75 @@ +instance = $instance; + } + + /** + * Initializes a new update card request Builder object. + */ + public static function init( + string $holderName, + int $expMonth, + int $expYear, + CreateAddressRequest $billingAddress, + array $metadata, + string $label + ): self { + return new self( + new UpdateCardRequest($holderName, $expMonth, $expYear, $billingAddress, $metadata, $label) + ); + } + + /** + * Sets billing address id field. + */ + public function billingAddressId(?string $value): self + { + $this->instance->setBillingAddressId($value); + return $this; + } + + /** + * Unsets billing address id field. + */ + public function unsetBillingAddressId(): self + { + $this->instance->unsetBillingAddressId(); + return $this; + } + + /** + * Initializes a new update card request object. + */ + public function build(): UpdateCardRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/UpdateChargeCardRequestBuilder.php b/src/Models/Builders/UpdateChargeCardRequestBuilder.php new file mode 100644 index 0000000..d57b1f0 --- /dev/null +++ b/src/Models/Builders/UpdateChargeCardRequestBuilder.php @@ -0,0 +1,53 @@ +instance = $instance; + } + + /** + * Initializes a new update charge card request Builder object. + */ + public static function init( + bool $updateSubscription, + string $cardId, + CreateCardRequest $card, + bool $recurrence + ): self { + return new self(new UpdateChargeCardRequest($updateSubscription, $cardId, $card, $recurrence)); + } + + /** + * Initializes a new update charge card request object. + */ + public function build(): UpdateChargeCardRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/UpdateChargeDueDateRequestBuilder.php b/src/Models/Builders/UpdateChargeDueDateRequestBuilder.php new file mode 100644 index 0000000..2e3271c --- /dev/null +++ b/src/Models/Builders/UpdateChargeDueDateRequestBuilder.php @@ -0,0 +1,57 @@ +instance = $instance; + } + + /** + * Initializes a new update charge due date request Builder object. + */ + public static function init(): self + { + return new self(new UpdateChargeDueDateRequest()); + } + + /** + * Sets due at field. + */ + public function dueAt(?\DateTime $value): self + { + $this->instance->setDueAt($value); + return $this; + } + + /** + * Initializes a new update charge due date request object. + */ + public function build(): UpdateChargeDueDateRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/UpdateChargePaymentMethodRequestBuilder.php b/src/Models/Builders/UpdateChargePaymentMethodRequestBuilder.php new file mode 100644 index 0000000..f960702 --- /dev/null +++ b/src/Models/Builders/UpdateChargePaymentMethodRequestBuilder.php @@ -0,0 +1,74 @@ +instance = $instance; + } + + /** + * Initializes a new update charge payment method request Builder object. + */ + public static function init( + bool $updateSubscription, + string $paymentMethod, + CreateCreditCardPaymentRequest $creditCard, + CreateDebitCardPaymentRequest $debitCard, + CreateBoletoPaymentRequest $boleto, + CreateVoucherPaymentRequest $voucher, + CreateCashPaymentRequest $cash, + CreateBankTransferPaymentRequest $bankTransfer, + CreatePrivateLabelPaymentRequest $privateLabel + ): self { + return new self(new UpdateChargePaymentMethodRequest( + $updateSubscription, + $paymentMethod, + $creditCard, + $debitCard, + $boleto, + $voucher, + $cash, + $bankTransfer, + $privateLabel + )); + } + + /** + * Initializes a new update charge payment method request object. + */ + public function build(): UpdateChargePaymentMethodRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/UpdateCurrentCycleEndDateRequestBuilder.php b/src/Models/Builders/UpdateCurrentCycleEndDateRequestBuilder.php new file mode 100644 index 0000000..740d703 --- /dev/null +++ b/src/Models/Builders/UpdateCurrentCycleEndDateRequestBuilder.php @@ -0,0 +1,57 @@ +instance = $instance; + } + + /** + * Initializes a new update current cycle end date request Builder object. + */ + public static function init(): self + { + return new self(new UpdateCurrentCycleEndDateRequest()); + } + + /** + * Sets end at field. + */ + public function endAt(?\DateTime $value): self + { + $this->instance->setEndAt($value); + return $this; + } + + /** + * Initializes a new update current cycle end date request object. + */ + public function build(): UpdateCurrentCycleEndDateRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/UpdateCurrentCycleStatusRequestBuilder.php b/src/Models/Builders/UpdateCurrentCycleStatusRequestBuilder.php new file mode 100644 index 0000000..958a33b --- /dev/null +++ b/src/Models/Builders/UpdateCurrentCycleStatusRequestBuilder.php @@ -0,0 +1,48 @@ +instance = $instance; + } + + /** + * Initializes a new update current cycle status request Builder object. + */ + public static function init(string $status): self + { + return new self(new UpdateCurrentCycleStatusRequest($status)); + } + + /** + * Initializes a new update current cycle status request object. + */ + public function build(): UpdateCurrentCycleStatusRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/UpdateCustomerRequestBuilder.php b/src/Models/Builders/UpdateCustomerRequestBuilder.php new file mode 100644 index 0000000..be80c6e --- /dev/null +++ b/src/Models/Builders/UpdateCustomerRequestBuilder.php @@ -0,0 +1,140 @@ +instance = $instance; + } + + /** + * Initializes a new update customer request Builder object. + */ + public static function init(): self + { + return new self(new UpdateCustomerRequest()); + } + + /** + * Sets name field. + */ + public function name(?string $value): self + { + $this->instance->setName($value); + return $this; + } + + /** + * Sets email field. + */ + public function email(?string $value): self + { + $this->instance->setEmail($value); + return $this; + } + + /** + * Sets document field. + */ + public function document(?string $value): self + { + $this->instance->setDocument($value); + return $this; + } + + /** + * Sets type field. + */ + public function type(?string $value): self + { + $this->instance->setType($value); + return $this; + } + + /** + * Sets address field. + */ + public function address(?CreateAddressRequest $value): self + { + $this->instance->setAddress($value); + return $this; + } + + /** + * Sets metadata field. + */ + public function metadata(?array $value): self + { + $this->instance->setMetadata($value); + return $this; + } + + /** + * Sets phones field. + */ + public function phones(?CreatePhonesRequest $value): self + { + $this->instance->setPhones($value); + return $this; + } + + /** + * Sets code field. + */ + public function code(?string $value): self + { + $this->instance->setCode($value); + return $this; + } + + /** + * Sets gender field. + */ + public function gender(?string $value): self + { + $this->instance->setGender($value); + return $this; + } + + /** + * Sets document type field. + */ + public function documentType(?string $value): self + { + $this->instance->setDocumentType($value); + return $this; + } + + /** + * Initializes a new update customer request object. + */ + public function build(): UpdateCustomerRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/UpdateInvoiceStatusRequestBuilder.php b/src/Models/Builders/UpdateInvoiceStatusRequestBuilder.php new file mode 100644 index 0000000..7700922 --- /dev/null +++ b/src/Models/Builders/UpdateInvoiceStatusRequestBuilder.php @@ -0,0 +1,48 @@ +instance = $instance; + } + + /** + * Initializes a new update invoice status request Builder object. + */ + public static function init(string $status): self + { + return new self(new UpdateInvoiceStatusRequest($status)); + } + + /** + * Initializes a new update invoice status request object. + */ + public function build(): UpdateInvoiceStatusRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/UpdateMetadataRequestBuilder.php b/src/Models/Builders/UpdateMetadataRequestBuilder.php new file mode 100644 index 0000000..43c92bc --- /dev/null +++ b/src/Models/Builders/UpdateMetadataRequestBuilder.php @@ -0,0 +1,48 @@ +instance = $instance; + } + + /** + * Initializes a new update metadata request Builder object. + */ + public static function init(array $metadata): self + { + return new self(new UpdateMetadataRequest($metadata)); + } + + /** + * Initializes a new update metadata request object. + */ + public function build(): UpdateMetadataRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/UpdateOrderItemRequestBuilder.php b/src/Models/Builders/UpdateOrderItemRequestBuilder.php new file mode 100644 index 0000000..5f2538d --- /dev/null +++ b/src/Models/Builders/UpdateOrderItemRequestBuilder.php @@ -0,0 +1,48 @@ +instance = $instance; + } + + /** + * Initializes a new update order item request Builder object. + */ + public static function init(int $amount, string $description, int $quantity, string $category): self + { + return new self(new UpdateOrderItemRequest($amount, $description, $quantity, $category)); + } + + /** + * Initializes a new update order item request object. + */ + public function build(): UpdateOrderItemRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/UpdateOrderStatusRequestBuilder.php b/src/Models/Builders/UpdateOrderStatusRequestBuilder.php new file mode 100644 index 0000000..88fce55 --- /dev/null +++ b/src/Models/Builders/UpdateOrderStatusRequestBuilder.php @@ -0,0 +1,48 @@ +instance = $instance; + } + + /** + * Initializes a new update order status request Builder object. + */ + public static function init(string $status): self + { + return new self(new UpdateOrderStatusRequest($status)); + } + + /** + * Initializes a new update order status request object. + */ + public function build(): UpdateOrderStatusRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/UpdatePlanItemRequestBuilder.php b/src/Models/Builders/UpdatePlanItemRequestBuilder.php new file mode 100644 index 0000000..4c13780 --- /dev/null +++ b/src/Models/Builders/UpdatePlanItemRequestBuilder.php @@ -0,0 +1,71 @@ +instance = $instance; + } + + /** + * Initializes a new update plan item request Builder object. + */ + public static function init( + string $name, + string $description, + string $status, + UpdatePricingSchemeRequest $pricingScheme + ): self { + return new self(new UpdatePlanItemRequest($name, $description, $status, $pricingScheme)); + } + + /** + * Sets quantity field. + */ + public function quantity(?int $value): self + { + $this->instance->setQuantity($value); + return $this; + } + + /** + * Sets cycles field. + */ + public function cycles(?int $value): self + { + $this->instance->setCycles($value); + return $this; + } + + /** + * Initializes a new update plan item request object. + */ + public function build(): UpdatePlanItemRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/UpdatePlanRequestBuilder.php b/src/Models/Builders/UpdatePlanRequestBuilder.php new file mode 100644 index 0000000..f810bbf --- /dev/null +++ b/src/Models/Builders/UpdatePlanRequestBuilder.php @@ -0,0 +1,93 @@ +instance = $instance; + } + + /** + * Initializes a new update plan request Builder object. + */ + public static function init( + string $name, + string $description, + array $installments, + string $statementDescriptor, + string $currency, + string $interval, + int $intervalCount, + array $paymentMethods, + string $billingType, + string $status, + bool $shippable, + array $billingDays, + array $metadata + ): self { + return new self(new UpdatePlanRequest( + $name, + $description, + $installments, + $statementDescriptor, + $currency, + $interval, + $intervalCount, + $paymentMethods, + $billingType, + $status, + $shippable, + $billingDays, + $metadata + )); + } + + /** + * Sets minimum price field. + */ + public function minimumPrice(?int $value): self + { + $this->instance->setMinimumPrice($value); + return $this; + } + + /** + * Sets trial period days field. + */ + public function trialPeriodDays(?int $value): self + { + $this->instance->setTrialPeriodDays($value); + return $this; + } + + /** + * Initializes a new update plan request object. + */ + public function build(): UpdatePlanRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/UpdatePriceBracketRequestBuilder.php b/src/Models/Builders/UpdatePriceBracketRequestBuilder.php new file mode 100644 index 0000000..c0e28b8 --- /dev/null +++ b/src/Models/Builders/UpdatePriceBracketRequestBuilder.php @@ -0,0 +1,66 @@ +instance = $instance; + } + + /** + * Initializes a new update price bracket request Builder object. + */ + public static function init(int $startQuantity, int $price): self + { + return new self(new UpdatePriceBracketRequest($startQuantity, $price)); + } + + /** + * Sets end quantity field. + */ + public function endQuantity(?int $value): self + { + $this->instance->setEndQuantity($value); + return $this; + } + + /** + * Sets overage price field. + */ + public function overagePrice(?int $value): self + { + $this->instance->setOveragePrice($value); + return $this; + } + + /** + * Initializes a new update price bracket request object. + */ + public function build(): UpdatePriceBracketRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/UpdatePricingSchemeRequestBuilder.php b/src/Models/Builders/UpdatePricingSchemeRequestBuilder.php new file mode 100644 index 0000000..696f3c7 --- /dev/null +++ b/src/Models/Builders/UpdatePricingSchemeRequestBuilder.php @@ -0,0 +1,75 @@ +instance = $instance; + } + + /** + * Initializes a new update pricing scheme request Builder object. + */ + public static function init(string $schemeType, array $priceBrackets): self + { + return new self(new UpdatePricingSchemeRequest($schemeType, $priceBrackets)); + } + + /** + * Sets price field. + */ + public function price(?int $value): self + { + $this->instance->setPrice($value); + return $this; + } + + /** + * Sets minimum price field. + */ + public function minimumPrice(?int $value): self + { + $this->instance->setMinimumPrice($value); + return $this; + } + + /** + * Sets percentage field. + */ + public function percentage(?float $value): self + { + $this->instance->setPercentage($value); + return $this; + } + + /** + * Initializes a new update pricing scheme request object. + */ + public function build(): UpdatePricingSchemeRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/UpdateRecipientBankAccountRequestBuilder.php b/src/Models/Builders/UpdateRecipientBankAccountRequestBuilder.php new file mode 100644 index 0000000..31d2ee8 --- /dev/null +++ b/src/Models/Builders/UpdateRecipientBankAccountRequestBuilder.php @@ -0,0 +1,49 @@ +instance = $instance; + } + + /** + * Initializes a new update recipient bank account request Builder object. + */ + public static function init(CreateBankAccountRequest $bankAccount, string $paymentMode): self + { + return new self(new UpdateRecipientBankAccountRequest($bankAccount, $paymentMode)); + } + + /** + * Initializes a new update recipient bank account request object. + */ + public function build(): UpdateRecipientBankAccountRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/UpdateRecipientRequestBuilder.php b/src/Models/Builders/UpdateRecipientRequestBuilder.php new file mode 100644 index 0000000..6c1d7dd --- /dev/null +++ b/src/Models/Builders/UpdateRecipientRequestBuilder.php @@ -0,0 +1,54 @@ +instance = $instance; + } + + /** + * Initializes a new update recipient request Builder object. + */ + public static function init( + string $name, + string $email, + string $description, + string $type, + string $status, + array $metadata + ): self { + return new self(new UpdateRecipientRequest($name, $email, $description, $type, $status, $metadata)); + } + + /** + * Initializes a new update recipient request object. + */ + public function build(): UpdateRecipientRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/UpdateSubscriptionAffiliationIdRequestBuilder.php b/src/Models/Builders/UpdateSubscriptionAffiliationIdRequestBuilder.php new file mode 100644 index 0000000..258913a --- /dev/null +++ b/src/Models/Builders/UpdateSubscriptionAffiliationIdRequestBuilder.php @@ -0,0 +1,48 @@ +instance = $instance; + } + + /** + * Initializes a new update subscription affiliation id request Builder object. + */ + public static function init(string $gatewayAffiliationId): self + { + return new self(new UpdateSubscriptionAffiliationIdRequest($gatewayAffiliationId)); + } + + /** + * Initializes a new update subscription affiliation id request object. + */ + public function build(): UpdateSubscriptionAffiliationIdRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/UpdateSubscriptionBillingDateRequestBuilder.php b/src/Models/Builders/UpdateSubscriptionBillingDateRequestBuilder.php new file mode 100644 index 0000000..b936278 --- /dev/null +++ b/src/Models/Builders/UpdateSubscriptionBillingDateRequestBuilder.php @@ -0,0 +1,48 @@ +instance = $instance; + } + + /** + * Initializes a new update subscription billing date request Builder object. + */ + public static function init(\DateTime $nextBillingAt): self + { + return new self(new UpdateSubscriptionBillingDateRequest($nextBillingAt)); + } + + /** + * Initializes a new update subscription billing date request object. + */ + public function build(): UpdateSubscriptionBillingDateRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/UpdateSubscriptionCardRequestBuilder.php b/src/Models/Builders/UpdateSubscriptionCardRequestBuilder.php new file mode 100644 index 0000000..4bb2213 --- /dev/null +++ b/src/Models/Builders/UpdateSubscriptionCardRequestBuilder.php @@ -0,0 +1,49 @@ +instance = $instance; + } + + /** + * Initializes a new update subscription card request Builder object. + */ + public static function init(CreateCardRequest $card, string $cardId): self + { + return new self(new UpdateSubscriptionCardRequest($card, $cardId)); + } + + /** + * Initializes a new update subscription card request object. + */ + public function build(): UpdateSubscriptionCardRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/UpdateSubscriptionDueDaysRequestBuilder.php b/src/Models/Builders/UpdateSubscriptionDueDaysRequestBuilder.php new file mode 100644 index 0000000..cc12ac7 --- /dev/null +++ b/src/Models/Builders/UpdateSubscriptionDueDaysRequestBuilder.php @@ -0,0 +1,48 @@ +instance = $instance; + } + + /** + * Initializes a new update subscription due days request Builder object. + */ + public static function init(int $boletoDueDays): self + { + return new self(new UpdateSubscriptionDueDaysRequest($boletoDueDays)); + } + + /** + * Initializes a new update subscription due days request object. + */ + public function build(): UpdateSubscriptionDueDaysRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/UpdateSubscriptionItemRequestBuilder.php b/src/Models/Builders/UpdateSubscriptionItemRequestBuilder.php new file mode 100644 index 0000000..967de2e --- /dev/null +++ b/src/Models/Builders/UpdateSubscriptionItemRequestBuilder.php @@ -0,0 +1,80 @@ +instance = $instance; + } + + /** + * Initializes a new update subscription item request Builder object. + */ + public static function init( + string $description, + string $status, + UpdatePricingSchemeRequest $pricingScheme, + string $name + ): self { + return new self(new UpdateSubscriptionItemRequest($description, $status, $pricingScheme, $name)); + } + + /** + * Sets cycles field. + */ + public function cycles(?int $value): self + { + $this->instance->setCycles($value); + return $this; + } + + /** + * Sets quantity field. + */ + public function quantity(?int $value): self + { + $this->instance->setQuantity($value); + return $this; + } + + /** + * Sets minimum price field. + */ + public function minimumPrice(?int $value): self + { + $this->instance->setMinimumPrice($value); + return $this; + } + + /** + * Initializes a new update subscription item request object. + */ + public function build(): UpdateSubscriptionItemRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/UpdateSubscriptionMinimumPriceRequestBuilder.php b/src/Models/Builders/UpdateSubscriptionMinimumPriceRequestBuilder.php new file mode 100644 index 0000000..333a3e9 --- /dev/null +++ b/src/Models/Builders/UpdateSubscriptionMinimumPriceRequestBuilder.php @@ -0,0 +1,57 @@ +instance = $instance; + } + + /** + * Initializes a new update subscription minimum price request Builder object. + */ + public static function init(): self + { + return new self(new UpdateSubscriptionMinimumPriceRequest()); + } + + /** + * Sets minimum price field. + */ + public function minimumPrice(?int $value): self + { + $this->instance->setMinimumPrice($value); + return $this; + } + + /** + * Initializes a new update subscription minimum price request object. + */ + public function build(): UpdateSubscriptionMinimumPriceRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/UpdateSubscriptionPaymentMethodRequestBuilder.php b/src/Models/Builders/UpdateSubscriptionPaymentMethodRequestBuilder.php new file mode 100644 index 0000000..2f1c024 --- /dev/null +++ b/src/Models/Builders/UpdateSubscriptionPaymentMethodRequestBuilder.php @@ -0,0 +1,68 @@ +instance = $instance; + } + + /** + * Initializes a new update subscription payment method request Builder object. + */ + public static function init(string $paymentMethod, string $cardId, CreateCardRequest $card): self + { + return new self(new UpdateSubscriptionPaymentMethodRequest($paymentMethod, $cardId, $card)); + } + + /** + * Sets card token field. + */ + public function cardToken(?string $value): self + { + $this->instance->setCardToken($value); + return $this; + } + + /** + * Sets boleto field. + */ + public function boleto(?CreateSubscriptionBoletoRequest $value): self + { + $this->instance->setBoleto($value); + return $this; + } + + /** + * Initializes a new update subscription payment method request object. + */ + public function build(): UpdateSubscriptionPaymentMethodRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/UpdateSubscriptionSplitRequestBuilder.php b/src/Models/Builders/UpdateSubscriptionSplitRequestBuilder.php new file mode 100644 index 0000000..b0d9298 --- /dev/null +++ b/src/Models/Builders/UpdateSubscriptionSplitRequestBuilder.php @@ -0,0 +1,48 @@ +instance = $instance; + } + + /** + * Initializes a new update subscription split request Builder object. + */ + public static function init(bool $enabled, array $rules): self + { + return new self(new UpdateSubscriptionSplitRequest($enabled, $rules)); + } + + /** + * Initializes a new update subscription split request object. + */ + public function build(): UpdateSubscriptionSplitRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/UpdateSubscriptionStartAtRequestBuilder.php b/src/Models/Builders/UpdateSubscriptionStartAtRequestBuilder.php new file mode 100644 index 0000000..e860807 --- /dev/null +++ b/src/Models/Builders/UpdateSubscriptionStartAtRequestBuilder.php @@ -0,0 +1,48 @@ +instance = $instance; + } + + /** + * Initializes a new update subscription start at request Builder object. + */ + public static function init(\DateTime $startAt): self + { + return new self(new UpdateSubscriptionStartAtRequest($startAt)); + } + + /** + * Initializes a new update subscription start at request object. + */ + public function build(): UpdateSubscriptionStartAtRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/UpdateTransferSettingsRequestBuilder.php b/src/Models/Builders/UpdateTransferSettingsRequestBuilder.php new file mode 100644 index 0000000..7470438 --- /dev/null +++ b/src/Models/Builders/UpdateTransferSettingsRequestBuilder.php @@ -0,0 +1,48 @@ +instance = $instance; + } + + /** + * Initializes a new update transfer settings request Builder object. + */ + public static function init(string $transferEnabled, string $transferInterval, string $transferDay): self + { + return new self(new UpdateTransferSettingsRequest($transferEnabled, $transferInterval, $transferDay)); + } + + /** + * Initializes a new update transfer settings request object. + */ + public function build(): UpdateTransferSettingsRequest + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/CreateBankAccountRequest.php b/src/Models/CreateBankAccountRequest.php index 9339314..40fb3de 100644 --- a/src/Models/CreateBankAccountRequest.php +++ b/src/Models/CreateBankAccountRequest.php @@ -43,9 +43,9 @@ class CreateBankAccountRequest implements \JsonSerializable private $branchNumber; /** - * @var string + * @var array */ - private $branchCheckDigit; + private $branchCheckDigit = []; /** * @var string @@ -68,9 +68,9 @@ class CreateBankAccountRequest implements \JsonSerializable private $metadata; /** - * @var string + * @var array */ - private $pixKey; + private $pixKey = []; /** * @param string $holderName @@ -78,12 +78,10 @@ class CreateBankAccountRequest implements \JsonSerializable * @param string $holderDocument * @param string $bank * @param string $branchNumber - * @param string $branchCheckDigit * @param string $accountNumber * @param string $accountCheckDigit * @param string $type * @param array $metadata - * @param string $pixKey */ public function __construct( string $holderName, @@ -91,24 +89,20 @@ public function __construct( string $holderDocument, string $bank, string $branchNumber, - string $branchCheckDigit, string $accountNumber, string $accountCheckDigit, string $type, - array $metadata, - string $pixKey + array $metadata ) { $this->holderName = $holderName; $this->holderType = $holderType; $this->holderDocument = $holderDocument; $this->bank = $bank; $this->branchNumber = $branchNumber; - $this->branchCheckDigit = $branchCheckDigit; $this->accountNumber = $accountNumber; $this->accountCheckDigit = $accountCheckDigit; $this->type = $type; $this->metadata = $metadata; - $this->pixKey = $pixKey; } /** @@ -220,21 +214,32 @@ public function setBranchNumber(string $branchNumber): void * Returns Branch Check Digit. * Branch check digit */ - public function getBranchCheckDigit(): string + public function getBranchCheckDigit(): ?string { - return $this->branchCheckDigit; + if (count($this->branchCheckDigit) == 0) { + return null; + } + return $this->branchCheckDigit['value']; } /** * Sets Branch Check Digit. * Branch check digit * - * @required * @maps branch_check_digit */ - public function setBranchCheckDigit(string $branchCheckDigit): void + public function setBranchCheckDigit(?string $branchCheckDigit): void + { + $this->branchCheckDigit['value'] = $branchCheckDigit; + } + + /** + * Unsets Branch Check Digit. + * Branch check digit + */ + public function unsetBranchCheckDigit(): void { - $this->branchCheckDigit = $branchCheckDigit; + $this->branchCheckDigit = []; } /** @@ -329,21 +334,32 @@ public function setMetadata(array $metadata): void * Returns Pix Key. * Pix key */ - public function getPixKey(): string + public function getPixKey(): ?string { - return $this->pixKey; + if (count($this->pixKey) == 0) { + return null; + } + return $this->pixKey['value']; } /** * Sets Pix Key. * Pix key * - * @required * @maps pix_key */ - public function setPixKey(string $pixKey): void + public function setPixKey(?string $pixKey): void + { + $this->pixKey['value'] = $pixKey; + } + + /** + * Unsets Pix Key. + * Pix key + */ + public function unsetPixKey(): void { - $this->pixKey = $pixKey; + $this->pixKey = []; } /** @@ -358,17 +374,21 @@ public function setPixKey(string $pixKey): void public function jsonSerialize(bool $asArrayWhenEmpty = false) { $json = []; - $json['holder_name'] = $this->holderName; - $json['holder_type'] = $this->holderType; - $json['holder_document'] = $this->holderDocument; - $json['bank'] = $this->bank; - $json['branch_number'] = $this->branchNumber; - $json['branch_check_digit'] = $this->branchCheckDigit; - $json['account_number'] = $this->accountNumber; - $json['account_check_digit'] = $this->accountCheckDigit; - $json['type'] = $this->type; - $json['metadata'] = $this->metadata; - $json['pix_key'] = $this->pixKey; + $json['holder_name'] = $this->holderName; + $json['holder_type'] = $this->holderType; + $json['holder_document'] = $this->holderDocument; + $json['bank'] = $this->bank; + $json['branch_number'] = $this->branchNumber; + if (!empty($this->branchCheckDigit)) { + $json['branch_check_digit'] = $this->branchCheckDigit['value']; + } + $json['account_number'] = $this->accountNumber; + $json['account_check_digit'] = $this->accountCheckDigit; + $json['type'] = $this->type; + $json['metadata'] = $this->metadata; + if (!empty($this->pixKey)) { + $json['pix_key'] = $this->pixKey['value']; + } return (!$asArrayWhenEmpty && empty($json)) ? new stdClass() : $json; } diff --git a/src/Models/UpdateCardRequest.php b/src/Models/UpdateCardRequest.php index 884fdf2..0c50aa9 100644 --- a/src/Models/UpdateCardRequest.php +++ b/src/Models/UpdateCardRequest.php @@ -33,9 +33,9 @@ class UpdateCardRequest implements \JsonSerializable private $expYear; /** - * @var string + * @var array */ - private $billingAddressId; + private $billingAddressId = []; /** * @var CreateAddressRequest @@ -56,7 +56,6 @@ class UpdateCardRequest implements \JsonSerializable * @param string $holderName * @param int $expMonth * @param int $expYear - * @param string $billingAddressId * @param CreateAddressRequest $billingAddress * @param array $metadata * @param string $label @@ -65,7 +64,6 @@ public function __construct( string $holderName, int $expMonth, int $expYear, - string $billingAddressId, CreateAddressRequest $billingAddress, array $metadata, string $label @@ -73,7 +71,6 @@ public function __construct( $this->holderName = $holderName; $this->expMonth = $expMonth; $this->expYear = $expYear; - $this->billingAddressId = $billingAddressId; $this->billingAddress = $billingAddress; $this->metadata = $metadata; $this->label = $label; @@ -146,21 +143,32 @@ public function setExpYear(int $expYear): void * Returns Billing Address Id. * Id of the address to be used as billing address */ - public function getBillingAddressId(): string + public function getBillingAddressId(): ?string { - return $this->billingAddressId; + if (count($this->billingAddressId) == 0) { + return null; + } + return $this->billingAddressId['value']; } /** * Sets Billing Address Id. * Id of the address to be used as billing address * - * @required * @maps billing_address_id */ - public function setBillingAddressId(string $billingAddressId): void + public function setBillingAddressId(?string $billingAddressId): void + { + $this->billingAddressId['value'] = $billingAddressId; + } + + /** + * Unsets Billing Address Id. + * Id of the address to be used as billing address + */ + public function unsetBillingAddressId(): void { - $this->billingAddressId = $billingAddressId; + $this->billingAddressId = []; } /** @@ -240,13 +248,15 @@ public function setLabel(string $label): void public function jsonSerialize(bool $asArrayWhenEmpty = false) { $json = []; - $json['holder_name'] = $this->holderName; - $json['exp_month'] = $this->expMonth; - $json['exp_year'] = $this->expYear; - $json['billing_address_id'] = $this->billingAddressId; - $json['billing_address'] = $this->billingAddress; - $json['metadata'] = $this->metadata; - $json['label'] = $this->label; + $json['holder_name'] = $this->holderName; + $json['exp_month'] = $this->expMonth; + $json['exp_year'] = $this->expYear; + if (!empty($this->billingAddressId)) { + $json['billing_address_id'] = $this->billingAddressId['value']; + } + $json['billing_address'] = $this->billingAddress; + $json['metadata'] = $this->metadata; + $json['label'] = $this->label; return (!$asArrayWhenEmpty && empty($json)) ? new stdClass() : $json; } diff --git a/src/PagarmeApiSDKClient.php b/src/PagarmeApiSDKClient.php index e3a3f82..9eab8af 100644 --- a/src/PagarmeApiSDKClient.php +++ b/src/PagarmeApiSDKClient.php @@ -73,7 +73,7 @@ public function __construct(array $config = []) ->converter(new CompatibilityConverter()) ->jsonHelper(ApiHelper::getJsonHelper()) ->apiCallback($this->config['httpCallback'] ?? null) - ->userAgent('PagarmeApiSDK - PHP 6.7.7') + ->userAgent('PagarmeApiSDK - PHP 6.7.9') ->globalErrors($this->getGlobalErrors()) ->serverUrls(self::ENVIRONMENT_MAP[$this->getEnvironment()], Server::DEFAULT_) ->authManagers(['global' => $this->basicAuthManager]) diff --git a/src/Utils/DateTimeHelper.php b/src/Utils/DateTimeHelper.php index f4ed62d..af5bcaa 100644 --- a/src/Utils/DateTimeHelper.php +++ b/src/Utils/DateTimeHelper.php @@ -67,6 +67,19 @@ public static function fromSimpleDate(?string $date): ?DateTime return DateHelper::fromSimpleDate($date); } + /** + * Parse a datetime string in simple date format to a DateTime object + * + * @param string|null $date A datetime string in simple date format + * + * @return DateTime The parsed DateTime object + * @throws Exception + */ + public static function fromSimpleDateRequired(?string $date): DateTime + { + return DateHelper::fromSimpleDateRequired($date); + } + /** * Parse an array of datetime strings in simple date format to an array of DateTime objects * @@ -165,6 +178,19 @@ public static function fromRfc1123DateTime(?string $datetime): ?DateTime return DateHelper::fromRfc1123DateTime($datetime); } + /** + * Parse a datetime string in Rfc1123 format to a DateTime object + * + * @param string|null $datetime A datetime string in Rfc1123 format + * + * @return DateTime The parsed DateTime object + * @throws Exception + */ + public static function fromRfc1123DateTimeRequired(?string $datetime): DateTime + { + return DateHelper::fromRfc1123DateTimeRequired($datetime); + } + /** * Parse an array of datetime strings in Rfc1123 format to an array of DateTime objects * @@ -263,6 +289,19 @@ public static function fromRfc3339DateTime(?string $datetime): ?DateTime return DateHelper::fromRfc3339DateTime($datetime); } + /** + * Parse a datetime string in Rfc3339 format to a DateTime object + * + * @param string|null $datetime A datetime string in Rfc3339 format + * + * @return DateTime The parsed DateTime object + * @throws Exception + */ + public static function fromRfc3339DateTimeRequired(?string $datetime): DateTime + { + return DateHelper::fromRfc3339DateTimeRequired($datetime); + } + /** * Parse an array of datetime strings in Rfc3339 format to an array of DateTime objects * @@ -361,6 +400,19 @@ public static function fromUnixTimestamp(?string $datetime): ?DateTime return DateHelper::fromUnixTimestamp($datetime); } + /** + * Parse a Unix Timestamp to a DateTime object + * + * @param string|null $datetime The Unix Timestamp + * + * @return DateTime The parsed DateTime object + * @throws Exception + */ + public static function fromUnixTimestampRequired(?string $datetime): DateTime + { + return DateHelper::fromUnixTimestampRequired($datetime); + } + /** * Parse an array of Unix Timestamps to an array of DateTime objects *