connect-sdk-ruby 2.44.0 → 2.46.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/connect-sdk-ruby.gemspec +1 -1
- data/examples/merchant/captures/create_refund_capture_example.rb +1 -1
- data/examples/merchant/captures/get_capture_example.rb +1 -1
- data/examples/merchant/disputes/cancel_dispute_example.rb +1 -1
- data/examples/merchant/disputes/get_dispute_example.rb +1 -1
- data/examples/merchant/disputes/submit_dispute_example.rb +1 -1
- data/examples/merchant/disputes/upload_dispute_file_example.rb +1 -1
- data/examples/merchant/files/get_file_example.rb +1 -1
- data/examples/merchant/hostedcheckouts/create_hosted_checkout_example.rb +1 -1
- data/examples/merchant/hostedcheckouts/delete_hosted_checkout_example.rb +1 -1
- data/examples/merchant/hostedcheckouts/get_hosted_checkout_example.rb +1 -1
- data/examples/merchant/hostedmandatemanagements/create_hosted_mandate_management_example.rb +1 -1
- data/examples/merchant/hostedmandatemanagements/get_hosted_mandate_management_example.rb +1 -1
- data/examples/merchant/installments/get_installments_info_example.rb +1 -1
- data/examples/merchant/mandates/block_mandate_example.rb +1 -1
- data/examples/merchant/mandates/create_mandate_example.rb +1 -1
- data/examples/merchant/mandates/create_mandate_with_reference_example.rb +1 -1
- data/examples/merchant/mandates/get_mandate_example.rb +1 -1
- data/examples/merchant/mandates/revoke_mandate_example.rb +1 -1
- data/examples/merchant/mandates/unblock_mandate_example.rb +1 -1
- data/examples/merchant/payments/approve_payment_example.rb +1 -1
- data/examples/merchant/payments/cancel_approval_payment_example.rb +1 -1
- data/examples/merchant/payments/cancel_payment_example.rb +1 -1
- data/examples/merchant/payments/capture_payment_example.rb +1 -1
- data/examples/merchant/payments/complete_payment_example.rb +1 -1
- data/examples/merchant/payments/create_payment_dispute_example.rb +1 -1
- data/examples/merchant/payments/create_payment_example.rb +1 -1
- data/examples/merchant/payments/find_payments_example.rb +1 -1
- data/examples/merchant/payments/get_payment_captures_example.rb +1 -1
- data/examples/merchant/payments/get_payment_device_fingerprint_details_example.rb +1 -1
- data/examples/merchant/payments/get_payment_disputes_example.rb +1 -1
- data/examples/merchant/payments/get_payment_example.rb +1 -1
- data/examples/merchant/payments/get_refunds_example.rb +1 -1
- data/examples/merchant/payments/get_third_party_status_example.rb +1 -1
- data/examples/merchant/payments/process_challenged_payment_example.rb +1 -1
- data/examples/merchant/payments/refund_payment_example.rb +1 -1
- data/examples/merchant/payments/tokenize_payment_example.rb +1 -1
- data/examples/merchant/payouts/approve_payout_example.rb +1 -1
- data/examples/merchant/payouts/cancel_approval_payout_example.rb +1 -1
- data/examples/merchant/payouts/cancel_payout_example.rb +1 -1
- data/examples/merchant/payouts/create_payout_example.rb +1 -1
- data/examples/merchant/payouts/find_payouts_example.rb +1 -1
- data/examples/merchant/payouts/get_payout_example.rb +1 -1
- data/examples/merchant/productgroups/get_device_fingerprint_for_groups_example.rb +1 -1
- data/examples/merchant/productgroups/get_payment_product_group_example.rb +1 -1
- data/examples/merchant/productgroups/get_payment_product_groups_example.rb +1 -1
- data/examples/merchant/products/create_payment_product_session_example.rb +1 -1
- data/examples/merchant/products/get_customer_details_example.rb +1 -1
- data/examples/merchant/products/get_device_fingerprint_example.rb +1 -1
- data/examples/merchant/products/get_directory_example.rb +1 -1
- data/examples/merchant/products/get_networks_example.rb +1 -1
- data/examples/merchant/products/get_payment_product_example.rb +1 -1
- data/examples/merchant/products/get_payment_products_example.rb +1 -1
- data/examples/merchant/refunds/approve_refund_example.rb +1 -1
- data/examples/merchant/refunds/cancel_approval_refund_example.rb +1 -1
- data/examples/merchant/refunds/cancel_refund_example.rb +1 -1
- data/examples/merchant/refunds/find_refunds_example.rb +1 -1
- data/examples/merchant/refunds/get_refund_example.rb +1 -1
- data/examples/merchant/riskassessments/risk_assessment_bank_account_example.rb +1 -1
- data/examples/merchant/riskassessments/risk_assessment_cards_example.rb +1 -1
- data/examples/merchant/services/convert_amount_example.rb +1 -1
- data/examples/merchant/services/convert_bank_account_example.rb +1 -1
- data/examples/merchant/services/get_privacy_policy_example.rb +1 -1
- data/examples/merchant/services/iin_details_example.rb +1 -1
- data/examples/merchant/services/test_connection_example.rb +1 -1
- data/examples/merchant/sessions/create_session_example.rb +1 -1
- data/examples/merchant/tokens/approve_sepa_direct_debit_token_example.rb +1 -1
- data/examples/merchant/tokens/create_token_example.rb +1 -1
- data/examples/merchant/tokens/delete_token_example.rb +1 -1
- data/examples/merchant/tokens/get_token_example.rb +1 -1
- data/examples/merchant/tokens/update_token_example.rb +1 -1
- data/lib/ingenico/connect/sdk/api_exception.rb +46 -43
- data/lib/ingenico/connect/sdk/api_resource.rb +124 -107
- data/lib/ingenico/connect/sdk/authenticator.rb +15 -12
- data/lib/ingenico/connect/sdk/authorization_exception.rb +13 -8
- data/lib/ingenico/connect/sdk/call_context.rb +24 -21
- data/lib/ingenico/connect/sdk/client.rb +3 -4
- data/lib/ingenico/connect/sdk/communication_exception.rb +14 -11
- data/lib/ingenico/connect/sdk/communicator.rb +475 -471
- data/lib/ingenico/connect/sdk/communicator_configuration.rb +79 -73
- data/lib/ingenico/connect/sdk/connection.rb +38 -33
- data/lib/ingenico/connect/sdk/data_object.rb +26 -24
- data/lib/ingenico/connect/sdk/declined_payment_exception.rb +38 -35
- data/lib/ingenico/connect/sdk/declined_payout_exception.rb +38 -35
- data/lib/ingenico/connect/sdk/declined_refund_exception.rb +37 -36
- data/lib/ingenico/connect/sdk/declined_transaction_exception.rb +15 -10
- data/lib/ingenico/connect/sdk/defaultimpl/authorization_type.rb +16 -13
- data/lib/ingenico/connect/sdk/defaultimpl/default_authenticator.rb +98 -94
- data/lib/ingenico/connect/sdk/defaultimpl/default_connection.rb +365 -347
- data/lib/ingenico/connect/sdk/defaultimpl/default_marshaller.rb +30 -25
- data/lib/ingenico/connect/sdk/defaultimpl.rb +1 -6
- data/lib/ingenico/connect/sdk/domain/capture/capture.rb +35 -32
- data/lib/ingenico/connect/sdk/domain/capture/capture_output.rb +117 -114
- data/lib/ingenico/connect/sdk/domain/capture/capture_response.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/capture/capture_status_output.rb +36 -33
- data/lib/ingenico/connect/sdk/domain/capture/captures_response.rb +24 -21
- data/lib/ingenico/connect/sdk/domain/capture.rb +5 -0
- data/lib/ingenico/connect/sdk/domain/definitions/abstract_order_status.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/definitions/abstract_payment_method_specific_input.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/definitions/additional_order_input_airline_data.rb +29 -26
- data/lib/ingenico/connect/sdk/domain/definitions/address.rb +63 -60
- data/lib/ingenico/connect/sdk/domain/definitions/airline_data.rb +200 -197
- data/lib/ingenico/connect/sdk/domain/definitions/airline_flight_leg.rb +159 -156
- data/lib/ingenico/connect/sdk/domain/definitions/airline_passenger.rb +45 -42
- data/lib/ingenico/connect/sdk/domain/definitions/amount_of_money.rb +27 -24
- data/lib/ingenico/connect/sdk/domain/definitions/bank_account.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/definitions/bank_account_bban.rb +51 -48
- data/lib/ingenico/connect/sdk/domain/definitions/bank_account_iban.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/definitions/card.rb +27 -24
- data/lib/ingenico/connect/sdk/domain/definitions/card_essentials.rb +33 -30
- data/lib/ingenico/connect/sdk/domain/definitions/card_fraud_results.rb +47 -53
- data/lib/ingenico/connect/sdk/domain/definitions/card_without_cvv.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/definitions/company_information.rb +27 -24
- data/lib/ingenico/connect/sdk/domain/definitions/contact_details_base.rb +27 -24
- data/lib/ingenico/connect/sdk/domain/definitions/customer_base.rb +36 -33
- data/lib/ingenico/connect/sdk/domain/definitions/fraud_fields.rb +171 -168
- data/lib/ingenico/connect/sdk/domain/definitions/fraud_fields_shipping_details.rb +40 -37
- data/lib/ingenico/connect/sdk/domain/definitions/fraud_results.rb +36 -24
- data/lib/ingenico/connect/sdk/domain/definitions/fraud_results_retail_decisions.rb +33 -30
- data/lib/ingenico/connect/sdk/domain/definitions/fraugster_results.rb +27 -24
- data/lib/ingenico/connect/sdk/domain/definitions/in_auth.rb +52 -49
- data/lib/ingenico/connect/sdk/domain/definitions/key_value_pair.rb +27 -24
- data/lib/ingenico/connect/sdk/domain/definitions/lodging_charge.rb +33 -30
- data/lib/ingenico/connect/sdk/domain/definitions/lodging_data.rb +135 -132
- data/lib/ingenico/connect/sdk/domain/definitions/lodging_room.rb +69 -66
- data/lib/ingenico/connect/sdk/domain/definitions/microsoft_fraud_results.rb +57 -54
- data/lib/ingenico/connect/sdk/domain/definitions/order_status_output.rb +64 -61
- data/lib/ingenico/connect/sdk/domain/definitions/payment_product_filter.rb +34 -31
- data/lib/ingenico/connect/sdk/domain/definitions/personal_name_base.rb +33 -30
- data/lib/ingenico/connect/sdk/domain/definitions/redirect_data_base.rb +27 -24
- data/lib/ingenico/connect/sdk/domain/definitions/result_do_risk_assessment.rb +47 -44
- data/lib/ingenico/connect/sdk/domain/definitions/retail_decisions_cc_fraud_check_output.rb +33 -30
- data/lib/ingenico/connect/sdk/domain/definitions/validation_bank_account_check.rb +33 -30
- data/lib/ingenico/connect/sdk/domain/definitions/validation_bank_account_output.rb +48 -45
- data/lib/ingenico/connect/sdk/domain/definitions.rb +5 -0
- data/lib/ingenico/connect/sdk/domain/dispute/create_dispute_request.rb +46 -43
- data/lib/ingenico/connect/sdk/domain/dispute/dispute.rb +47 -44
- data/lib/ingenico/connect/sdk/domain/dispute/dispute_creation_detail.rb +33 -30
- data/lib/ingenico/connect/sdk/domain/dispute/dispute_output.rb +75 -72
- data/lib/ingenico/connect/sdk/domain/dispute/dispute_reference.rb +52 -49
- data/lib/ingenico/connect/sdk/domain/dispute/dispute_response.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/dispute/dispute_status_output.rb +45 -42
- data/lib/ingenico/connect/sdk/domain/dispute/disputes_response.rb +24 -21
- data/lib/ingenico/connect/sdk/domain/dispute/upload_dispute_file_response.rb +27 -24
- data/lib/ingenico/connect/sdk/domain/dispute.rb +5 -0
- data/lib/ingenico/connect/sdk/domain/errors/api_error.rb +57 -54
- data/lib/ingenico/connect/sdk/domain/errors/error_response.rb +30 -27
- data/lib/ingenico/connect/sdk/domain/errors.rb +5 -0
- data/lib/ingenico/connect/sdk/domain/file/hosted_file.rb +45 -42
- data/lib/ingenico/connect/sdk/domain/file.rb +5 -0
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/create_hosted_checkout_request.rb +92 -89
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/create_hosted_checkout_response.rb +48 -45
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/created_payment_output.rb +62 -59
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/displayed_data.rb +36 -33
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/frequency.rb +27 -24
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/get_hosted_checkout_response.rb +28 -25
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/hosted_checkout_specific_input.rb +77 -74
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/mobile_payment_method_specific_input_hosted_checkout.rb +53 -50
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/mobile_payment_product302_specific_input_hosted_checkout.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/mobile_payment_product320_specific_input_hosted_checkout.rb +34 -31
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/payment_product_filters_hosted_checkout.rb +35 -32
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/recurring_payments_data.rb +29 -26
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/trial_information.rb +48 -45
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/trial_period.rb +27 -24
- data/lib/ingenico/connect/sdk/domain/hostedcheckout.rb +5 -0
- data/lib/ingenico/connect/sdk/domain/hostedmandatemanagement/create_hosted_mandate_management_request.rb +29 -26
- data/lib/ingenico/connect/sdk/domain/hostedmandatemanagement/create_hosted_mandate_management_response.rb +33 -30
- data/lib/ingenico/connect/sdk/domain/hostedmandatemanagement/get_hosted_mandate_management_response.rb +28 -25
- data/lib/ingenico/connect/sdk/domain/hostedmandatemanagement/hosted_mandate_info.rb +52 -49
- data/lib/ingenico/connect/sdk/domain/hostedmandatemanagement/hosted_mandate_management_specific_input.rb +45 -42
- data/lib/ingenico/connect/sdk/domain/hostedmandatemanagement.rb +5 -0
- data/lib/ingenico/connect/sdk/domain/installments/get_installment_request.rb +46 -43
- data/lib/ingenico/connect/sdk/domain/installments/installment_display_hints.rb +33 -30
- data/lib/ingenico/connect/sdk/domain/installments/installment_options.rb +37 -34
- data/lib/ingenico/connect/sdk/domain/installments/installment_options_response.rb +24 -21
- data/lib/ingenico/connect/sdk/domain/installments.rb +5 -0
- data/lib/ingenico/connect/sdk/domain/mandates/create_mandate_base.rb +58 -55
- data/lib/ingenico/connect/sdk/domain/mandates/create_mandate_request.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/mandates/create_mandate_response.rb +29 -26
- data/lib/ingenico/connect/sdk/domain/mandates/create_mandate_with_return_url.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/mandates/get_mandate_response.rb +22 -19
- data/lib/ingenico/connect/sdk/domain/mandates/mandate_address.rb +52 -49
- data/lib/ingenico/connect/sdk/domain/mandates/mandate_contact_details.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/mandates/mandate_customer.rb +49 -46
- data/lib/ingenico/connect/sdk/domain/mandates/mandate_merchant_action.rb +28 -25
- data/lib/ingenico/connect/sdk/domain/mandates/mandate_personal_information.rb +28 -25
- data/lib/ingenico/connect/sdk/domain/mandates/mandate_personal_name.rb +27 -24
- data/lib/ingenico/connect/sdk/domain/mandates/mandate_redirect_data.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/mandates/mandate_response.rb +52 -49
- data/lib/ingenico/connect/sdk/domain/mandates.rb +5 -0
- data/lib/ingenico/connect/sdk/domain/metadata/shopping_cart_extension.rb +49 -42
- data/lib/ingenico/connect/sdk/domain/metadata.rb +1 -0
- data/lib/ingenico/connect/sdk/domain/payment/abstract_bank_transfer_payment_method_specific_input.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/payment/abstract_card_payment_method_specific_input.rb +129 -119
- data/lib/ingenico/connect/sdk/domain/payment/abstract_cash_payment_method_specific_input.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/payment/abstract_e_invoice_payment_method_specific_input.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/payment/abstract_payment_method_specific_output.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/payment/abstract_redirect_payment_method_specific_input.rb +52 -49
- data/lib/ingenico/connect/sdk/domain/payment/abstract_redirect_payment_product4101_specific_input.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/payment/abstract_redirect_payment_product840_specific_input.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/payment/abstract_sepa_direct_debit_payment_method_specific_input.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/payment/abstract_sepa_direct_debit_payment_product771_specific_input.rb +23 -20
- data/lib/ingenico/connect/sdk/domain/payment/abstract_three_d_secure.rb +72 -69
- data/lib/ingenico/connect/sdk/domain/payment/account_funding_recipient.rb +53 -50
- data/lib/ingenico/connect/sdk/domain/payment/additional_order_input.rb +82 -79
- data/lib/ingenico/connect/sdk/domain/payment/address_personal.rb +22 -19
- data/lib/ingenico/connect/sdk/domain/payment/afr_name.rb +27 -24
- data/lib/ingenico/connect/sdk/domain/payment/amount_breakdown.rb +27 -24
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_card_payment_method_specific_output.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_direct_debit_payment_method_specific_input.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_mobile_payment_method_specific_output.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_non_sepa_direct_debit_payment_method_specific_input.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_payment_method_specific_input.rb +27 -24
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_request.rb +48 -45
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_sepa_direct_debit_payment_method_specific_input.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/payment/bank_transfer_payment_method_specific_input.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/payment/bank_transfer_payment_method_specific_input_base.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/payment/bank_transfer_payment_method_specific_output.rb +22 -19
- data/lib/ingenico/connect/sdk/domain/payment/browser_data.rb +57 -54
- data/lib/ingenico/connect/sdk/domain/payment/cancel_approval_payment_response.rb +22 -19
- data/lib/ingenico/connect/sdk/domain/payment/cancel_payment_card_payment_method_specific_output.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/payment/cancel_payment_mobile_payment_method_specific_output.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/payment/cancel_payment_response.rb +36 -33
- data/lib/ingenico/connect/sdk/domain/payment/capture_payment_request.rb +27 -24
- data/lib/ingenico/connect/sdk/domain/payment/card_payment_method_specific_input.rb +65 -62
- data/lib/ingenico/connect/sdk/domain/payment/card_payment_method_specific_input_base.rb +22 -19
- data/lib/ingenico/connect/sdk/domain/payment/card_payment_method_specific_output.rb +60 -57
- data/lib/ingenico/connect/sdk/domain/payment/card_recurrence_details.rb +33 -30
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_method_specific_input.rb +66 -63
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_method_specific_input_base.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_method_specific_output.rb +22 -19
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1503_specific_input.rb +24 -21
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1504_specific_input.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1521_specific_input.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1522_specific_input.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1523_specific_input.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1524_specific_input.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1526_specific_input.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product_with_redirect_specific_input_base.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/payment/complete_payment_card_payment_method_specific_input.rb +22 -19
- data/lib/ingenico/connect/sdk/domain/payment/complete_payment_request.rb +36 -33
- data/lib/ingenico/connect/sdk/domain/payment/complete_payment_response.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/payment/contact_details.rb +45 -42
- data/lib/ingenico/connect/sdk/domain/payment/create_payment_request.rb +120 -117
- data/lib/ingenico/connect/sdk/domain/payment/create_payment_response.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/payment/create_payment_result.rb +36 -33
- data/lib/ingenico/connect/sdk/domain/payment/customer.rb +89 -86
- data/lib/ingenico/connect/sdk/domain/payment/customer_account.rb +104 -101
- data/lib/ingenico/connect/sdk/domain/payment/customer_account_authentication.rb +33 -30
- data/lib/ingenico/connect/sdk/domain/payment/customer_approve_payment.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/payment/customer_device.rb +64 -61
- data/lib/ingenico/connect/sdk/domain/payment/customer_payment_activity.rb +33 -30
- data/lib/ingenico/connect/sdk/domain/payment/decrypted_payment_data.rb +65 -62
- data/lib/ingenico/connect/sdk/domain/payment/device_fingerprint_details.rb +27 -24
- data/lib/ingenico/connect/sdk/domain/payment/device_render_options.rb +38 -35
- data/lib/ingenico/connect/sdk/domain/payment/e_invoice_payment_method_specific_input.rb +28 -25
- data/lib/ingenico/connect/sdk/domain/payment/e_invoice_payment_method_specific_input_base.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/payment/e_invoice_payment_method_specific_output.rb +30 -18
- data/lib/ingenico/connect/sdk/domain/payment/e_invoice_payment_product9000_specific_input.rb +28 -25
- data/lib/ingenico/connect/sdk/domain/payment/e_invoice_payment_product9000_specific_output.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/payment/exemption_output.rb +33 -30
- data/lib/ingenico/connect/sdk/domain/payment/external_cardholder_authentication_data.rb +83 -80
- data/lib/ingenico/connect/sdk/domain/payment/find_payments_response.rb +47 -44
- data/lib/ingenico/connect/sdk/domain/payment/g_pay_three_d_secure.rb +46 -43
- data/lib/ingenico/connect/sdk/domain/payment/gift_card_purchase.rb +28 -25
- data/lib/ingenico/connect/sdk/domain/payment/hosted_checkout_specific_output.rb +27 -24
- data/lib/ingenico/connect/sdk/domain/payment/installments.rb +53 -50
- data/lib/ingenico/connect/sdk/domain/payment/invoice_payment_method_specific_input.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/payment/invoice_payment_method_specific_output.rb +22 -19
- data/lib/ingenico/connect/sdk/domain/payment/level3_summary_data.rb +40 -37
- data/lib/ingenico/connect/sdk/domain/payment/line_item.rb +45 -42
- data/lib/ingenico/connect/sdk/domain/payment/line_item_invoice_data.rb +52 -49
- data/lib/ingenico/connect/sdk/domain/payment/line_item_level3_interchange_information.rb +63 -60
- data/lib/ingenico/connect/sdk/domain/payment/loan_recipient.rb +56 -53
- data/lib/ingenico/connect/sdk/domain/payment/merchant.rb +46 -43
- data/lib/ingenico/connect/sdk/domain/payment/merchant_action.rb +67 -64
- data/lib/ingenico/connect/sdk/domain/payment/mobile_payment_data.rb +27 -24
- data/lib/ingenico/connect/sdk/domain/payment/mobile_payment_method_specific_input.rb +59 -56
- data/lib/ingenico/connect/sdk/domain/payment/mobile_payment_method_specific_output.rb +48 -45
- data/lib/ingenico/connect/sdk/domain/payment/mobile_payment_product320_specific_input.rb +28 -25
- data/lib/ingenico/connect/sdk/domain/payment/mobile_three_d_secure_challenge_parameters.rb +45 -42
- data/lib/ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_method_specific_input.rb +71 -68
- data/lib/ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_method_specific_output.rb +22 -19
- data/lib/ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_product705_specific_input.rb +34 -31
- data/lib/ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_product730_specific_input.rb +22 -19
- data/lib/ingenico/connect/sdk/domain/payment/order.rb +77 -74
- data/lib/ingenico/connect/sdk/domain/payment/order_approve_payment.rb +36 -33
- data/lib/ingenico/connect/sdk/domain/payment/order_invoice_data.rb +47 -44
- data/lib/ingenico/connect/sdk/domain/payment/order_line_details.rb +101 -98
- data/lib/ingenico/connect/sdk/domain/payment/order_output.rb +29 -26
- data/lib/ingenico/connect/sdk/domain/payment/order_references.rb +52 -49
- data/lib/ingenico/connect/sdk/domain/payment/order_references_approve_payment.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/payment/order_type_information.rb +45 -42
- data/lib/ingenico/connect/sdk/domain/payment/payment.rb +48 -45
- data/lib/ingenico/connect/sdk/domain/payment/payment_account_on_file.rb +27 -24
- data/lib/ingenico/connect/sdk/domain/payment/payment_approval_response.rb +45 -42
- data/lib/ingenico/connect/sdk/domain/payment/payment_creation_output.rb +45 -42
- data/lib/ingenico/connect/sdk/domain/payment/payment_creation_references.rb +27 -24
- data/lib/ingenico/connect/sdk/domain/payment/payment_error_response.rb +37 -34
- data/lib/ingenico/connect/sdk/domain/payment/payment_output.rb +117 -114
- data/lib/ingenico/connect/sdk/domain/payment/payment_product3201_specific_output.rb +22 -19
- data/lib/ingenico/connect/sdk/domain/payment/payment_product771_specific_output.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/payment/payment_product806_specific_output.rb +29 -26
- data/lib/ingenico/connect/sdk/domain/payment/payment_product836_specific_output.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/payment/payment_product840_customer_account.rb +75 -72
- data/lib/ingenico/connect/sdk/domain/payment/payment_product840_specific_output.rb +49 -46
- data/lib/ingenico/connect/sdk/domain/payment/payment_product863_third_party_data.rb +57 -54
- data/lib/ingenico/connect/sdk/domain/payment/payment_references.rb +57 -54
- data/lib/ingenico/connect/sdk/domain/payment/payment_response.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/payment/payment_status_output.rb +33 -30
- data/lib/ingenico/connect/sdk/domain/payment/personal_identification.rb +33 -30
- data/lib/ingenico/connect/sdk/domain/payment/personal_information.rb +47 -44
- data/lib/ingenico/connect/sdk/domain/payment/personal_name.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/payment/protection_eligibility.rb +27 -24
- data/lib/ingenico/connect/sdk/domain/payment/redirect_data.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_method_specific_input.rb +92 -89
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_method_specific_input_base.rb +29 -26
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_method_specific_output.rb +76 -73
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product4101_specific_input.rb +33 -30
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product4101_specific_input_base.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product809_specific_input.rb +29 -26
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product816_specific_input.rb +22 -19
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product840_specific_input.rb +29 -26
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product840_specific_input_base.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product861_specific_input.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product863_specific_input.rb +27 -24
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product869_specific_input.rb +33 -30
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product882_specific_input.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/payment/redirection_data.rb +27 -24
- data/lib/ingenico/connect/sdk/domain/payment/refund_bank_method_specific_output.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/payment/refund_card_method_specific_output.rb +28 -25
- data/lib/ingenico/connect/sdk/domain/payment/refund_cash_method_specific_output.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/payment/refund_e_invoice_method_specific_output.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/payment/refund_e_wallet_method_specific_output.rb +22 -19
- data/lib/ingenico/connect/sdk/domain/payment/refund_method_specific_output.rb +33 -30
- data/lib/ingenico/connect/sdk/domain/payment/refund_mobile_method_specific_output.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/payment/refund_output.rb +69 -66
- data/lib/ingenico/connect/sdk/domain/payment/refund_payment_product840_customer_account.rb +33 -30
- data/lib/ingenico/connect/sdk/domain/payment/refund_payment_product840_specific_output.rb +22 -19
- data/lib/ingenico/connect/sdk/domain/payment/scheme_token_data.rb +52 -49
- data/lib/ingenico/connect/sdk/domain/payment/sdk_data_input.rb +58 -64
- data/lib/ingenico/connect/sdk/domain/payment/sdk_data_output.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/payment/seller.rb +102 -99
- data/lib/ingenico/connect/sdk/domain/payment/sepa_direct_debit_payment_method_specific_input.rb +64 -61
- data/lib/ingenico/connect/sdk/domain/payment/sepa_direct_debit_payment_method_specific_input_base.rb +22 -19
- data/lib/ingenico/connect/sdk/domain/payment/sepa_direct_debit_payment_method_specific_output.rb +35 -32
- data/lib/ingenico/connect/sdk/domain/payment/sepa_direct_debit_payment_product771_specific_input.rb +28 -25
- data/lib/ingenico/connect/sdk/domain/payment/sepa_direct_debit_payment_product771_specific_input_base.rb +28 -25
- data/lib/ingenico/connect/sdk/domain/payment/shipping.rb +64 -61
- data/lib/ingenico/connect/sdk/domain/payment/shopping_cart.rb +59 -56
- data/lib/ingenico/connect/sdk/domain/payment/third_party_data.rb +22 -19
- data/lib/ingenico/connect/sdk/domain/payment/third_party_status_response.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/payment/three_d_secure.rb +29 -26
- data/lib/ingenico/connect/sdk/domain/payment/three_d_secure_base.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/payment/three_d_secure_data.rb +33 -30
- data/lib/ingenico/connect/sdk/domain/payment/three_d_secure_results.rb +112 -109
- data/lib/ingenico/connect/sdk/domain/payment/tokenize_payment_request.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/payment/trustly_bank_account.rb +45 -42
- data/lib/ingenico/connect/sdk/domain/payment.rb +5 -0
- data/lib/ingenico/connect/sdk/domain/payout/abstract_payout_method_specific_input.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/payout/approve_payout_request.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/payout/bank_transfer_payout_method_specific_input.rb +56 -53
- data/lib/ingenico/connect/sdk/domain/payout/card_payout_method_specific_input.rb +47 -44
- data/lib/ingenico/connect/sdk/domain/payout/create_payout_request.rb +126 -123
- data/lib/ingenico/connect/sdk/domain/payout/find_payouts_response.rb +47 -44
- data/lib/ingenico/connect/sdk/domain/payout/payout_customer.rb +49 -46
- data/lib/ingenico/connect/sdk/domain/payout/payout_details.rb +36 -33
- data/lib/ingenico/connect/sdk/domain/payout/payout_error_response.rb +37 -34
- data/lib/ingenico/connect/sdk/domain/payout/payout_merchant.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/payout/payout_recipient.rb +33 -30
- data/lib/ingenico/connect/sdk/domain/payout/payout_references.rb +33 -30
- data/lib/ingenico/connect/sdk/domain/payout/payout_response.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/payout/payout_result.rb +35 -32
- data/lib/ingenico/connect/sdk/domain/payout.rb +5 -0
- data/lib/ingenico/connect/sdk/domain/product/abstract_indicator.rb +27 -24
- data/lib/ingenico/connect/sdk/domain/product/account_on_file.rb +48 -45
- data/lib/ingenico/connect/sdk/domain/product/account_on_file_attribute.rb +27 -24
- data/lib/ingenico/connect/sdk/domain/product/account_on_file_display_hints.rb +30 -27
- data/lib/ingenico/connect/sdk/domain/product/authentication_indicator.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/product/boleto_bancario_requiredness_validator.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/product/create_payment_product_session_request.rb +22 -19
- data/lib/ingenico/connect/sdk/domain/product/create_payment_product_session_response.rb +22 -19
- data/lib/ingenico/connect/sdk/domain/product/device_fingerprint_request.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/product/device_fingerprint_response.rb +27 -24
- data/lib/ingenico/connect/sdk/domain/product/directory.rb +24 -21
- data/lib/ingenico/connect/sdk/domain/product/directory_entry.rb +47 -44
- data/lib/ingenico/connect/sdk/domain/product/empty_validator.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/product/fixed_list_validator.rb +24 -21
- data/lib/ingenico/connect/sdk/domain/product/get_customer_details_request.rb +30 -27
- data/lib/ingenico/connect/sdk/domain/product/get_customer_details_response.rb +75 -72
- data/lib/ingenico/connect/sdk/domain/product/label_template_element.rb +27 -24
- data/lib/ingenico/connect/sdk/domain/product/length_validator.rb +27 -24
- data/lib/ingenico/connect/sdk/domain/product/mobile_payment_product_session302_specific_input.rb +33 -30
- data/lib/ingenico/connect/sdk/domain/product/mobile_payment_product_session302_specific_output.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/product/payment_product.rb +203 -193
- data/lib/ingenico/connect/sdk/domain/product/payment_product302_specific_data.rb +24 -21
- data/lib/ingenico/connect/sdk/domain/product/payment_product320_specific_data.rb +30 -27
- data/lib/ingenico/connect/sdk/domain/product/payment_product863_specific_data.rb +24 -21
- data/lib/ingenico/connect/sdk/domain/product/payment_product_display_hints.rb +33 -30
- data/lib/ingenico/connect/sdk/domain/product/payment_product_field.rb +47 -44
- data/lib/ingenico/connect/sdk/domain/product/payment_product_field_data_restrictions.rb +28 -25
- data/lib/ingenico/connect/sdk/domain/product/payment_product_field_display_element.rb +45 -42
- data/lib/ingenico/connect/sdk/domain/product/payment_product_field_display_hints.rb +77 -74
- data/lib/ingenico/connect/sdk/domain/product/payment_product_field_form_element.rb +30 -27
- data/lib/ingenico/connect/sdk/domain/product/payment_product_field_tooltip.rb +27 -24
- data/lib/ingenico/connect/sdk/domain/product/payment_product_field_validators.rb +92 -89
- data/lib/ingenico/connect/sdk/domain/product/payment_product_group.rb +59 -56
- data/lib/ingenico/connect/sdk/domain/product/payment_product_group_response.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/product/payment_product_groups.rb +24 -21
- data/lib/ingenico/connect/sdk/domain/product/payment_product_networks_response.rb +24 -21
- data/lib/ingenico/connect/sdk/domain/product/payment_product_response.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/product/payment_products.rb +24 -21
- data/lib/ingenico/connect/sdk/domain/product/range_validator.rb +27 -24
- data/lib/ingenico/connect/sdk/domain/product/regular_expression_validator.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/product/value_mapping_element.rb +38 -35
- data/lib/ingenico/connect/sdk/domain/product.rb +5 -0
- data/lib/ingenico/connect/sdk/domain/refund/approve_refund_request.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/refund/bank_account_bban_refund.rb +33 -30
- data/lib/ingenico/connect/sdk/domain/refund/bank_refund_method_specific_input.rb +35 -32
- data/lib/ingenico/connect/sdk/domain/refund/find_refunds_response.rb +47 -44
- data/lib/ingenico/connect/sdk/domain/refund/refund_customer.rb +48 -45
- data/lib/ingenico/connect/sdk/domain/refund/refund_error_response.rb +37 -34
- data/lib/ingenico/connect/sdk/domain/refund/refund_references.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/refund/refund_request.rb +49 -46
- data/lib/ingenico/connect/sdk/domain/refund/refund_response.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/refund/refund_result.rb +35 -32
- data/lib/ingenico/connect/sdk/domain/refund/refunds_response.rb +24 -21
- data/lib/ingenico/connect/sdk/domain/refund.rb +5 -0
- data/lib/ingenico/connect/sdk/domain/riskassessments/contact_details_risk_assessment.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/riskassessments/customer_account_risk_assessment.rb +27 -24
- data/lib/ingenico/connect/sdk/domain/riskassessments/customer_device_risk_assessment.rb +27 -24
- data/lib/ingenico/connect/sdk/domain/riskassessments/customer_risk_assessment.rb +77 -74
- data/lib/ingenico/connect/sdk/domain/riskassessments/merchant_risk_assessment.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/riskassessments/order_risk_assessment.rb +43 -40
- data/lib/ingenico/connect/sdk/domain/riskassessments/personal_information_risk_assessment.rb +22 -19
- data/lib/ingenico/connect/sdk/domain/riskassessments/personal_name_risk_assessment.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/riskassessments/risk_assessment.rb +48 -45
- data/lib/ingenico/connect/sdk/domain/riskassessments/risk_assessment_bank_account.rb +29 -26
- data/lib/ingenico/connect/sdk/domain/riskassessments/risk_assessment_card.rb +22 -19
- data/lib/ingenico/connect/sdk/domain/riskassessments/risk_assessment_response.rb +24 -21
- data/lib/ingenico/connect/sdk/domain/riskassessments/shipping_risk_assessment.rb +34 -31
- data/lib/ingenico/connect/sdk/domain/riskassessments.rb +5 -0
- data/lib/ingenico/connect/sdk/domain/services/bank_data.rb +45 -42
- data/lib/ingenico/connect/sdk/domain/services/bank_details.rb +29 -26
- data/lib/ingenico/connect/sdk/domain/services/bank_details_request.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/services/bank_details_response.rb +43 -40
- data/lib/ingenico/connect/sdk/domain/services/convert_amount.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/services/get_iin_details_request.rb +28 -25
- data/lib/ingenico/connect/sdk/domain/services/get_iin_details_response.rb +47 -44
- data/lib/ingenico/connect/sdk/domain/services/get_privacy_policy_response.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/services/iin_detail.rb +27 -24
- data/lib/ingenico/connect/sdk/domain/services/payment_context.rb +46 -43
- data/lib/ingenico/connect/sdk/domain/services/swift.rb +75 -72
- data/lib/ingenico/connect/sdk/domain/services/test_connection.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/services.rb +5 -0
- data/lib/ingenico/connect/sdk/domain/sessions/payment_product_filters_client_session.rb +29 -26
- data/lib/ingenico/connect/sdk/domain/sessions/session_request.rb +31 -28
- data/lib/ingenico/connect/sdk/domain/sessions/session_response.rb +54 -51
- data/lib/ingenico/connect/sdk/domain/sessions.rb +5 -0
- data/lib/ingenico/connect/sdk/domain/token/abstract_token.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/token/approve_token_request.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/token/contact_details_token.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/token/create_token_request.rb +55 -52
- data/lib/ingenico/connect/sdk/domain/token/create_token_response.rb +33 -30
- data/lib/ingenico/connect/sdk/domain/token/creditor.rb +81 -78
- data/lib/ingenico/connect/sdk/domain/token/customer_token.rb +29 -26
- data/lib/ingenico/connect/sdk/domain/token/customer_token_with_contact_details.rb +22 -19
- data/lib/ingenico/connect/sdk/domain/token/debtor.rb +81 -78
- data/lib/ingenico/connect/sdk/domain/token/mandate_approval.rb +33 -30
- data/lib/ingenico/connect/sdk/domain/token/mandate_non_sepa_direct_debit.rb +29 -26
- data/lib/ingenico/connect/sdk/domain/token/mandate_sepa_direct_debit.rb +22 -19
- data/lib/ingenico/connect/sdk/domain/token/mandate_sepa_direct_debit_with_mandate_id.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/token/mandate_sepa_direct_debit_without_creditor.rb +54 -51
- data/lib/ingenico/connect/sdk/domain/token/personal_information_token.rb +22 -19
- data/lib/ingenico/connect/sdk/domain/token/personal_name_token.rb +9 -6
- data/lib/ingenico/connect/sdk/domain/token/token_card.rb +29 -26
- data/lib/ingenico/connect/sdk/domain/token/token_card_data.rb +34 -31
- data/lib/ingenico/connect/sdk/domain/token/token_e_wallet.rb +29 -26
- data/lib/ingenico/connect/sdk/domain/token/token_e_wallet_data.rb +21 -18
- data/lib/ingenico/connect/sdk/domain/token/token_non_sepa_direct_debit.rb +29 -26
- data/lib/ingenico/connect/sdk/domain/token/token_non_sepa_direct_debit_payment_product705_specific_data.rb +28 -25
- data/lib/ingenico/connect/sdk/domain/token/token_non_sepa_direct_debit_payment_product730_specific_data.rb +22 -19
- data/lib/ingenico/connect/sdk/domain/token/token_response.rb +61 -58
- data/lib/ingenico/connect/sdk/domain/token/token_sepa_direct_debit.rb +29 -26
- data/lib/ingenico/connect/sdk/domain/token/token_sepa_direct_debit_without_creditor.rb +29 -26
- data/lib/ingenico/connect/sdk/domain/token/update_token_request.rb +49 -46
- data/lib/ingenico/connect/sdk/domain/token.rb +5 -0
- data/lib/ingenico/connect/sdk/domain.rb +1 -0
- data/lib/ingenico/connect/sdk/endpoint_configuration.rb +120 -116
- data/lib/ingenico/connect/sdk/exceptions.rb +1 -8
- data/lib/ingenico/connect/sdk/factory.rb +193 -182
- data/lib/ingenico/connect/sdk/global_collect_exception.rb +15 -10
- data/lib/ingenico/connect/sdk/idempotence_exception.rb +23 -19
- data/lib/ingenico/connect/sdk/logging/communicator_logger.rb +20 -16
- data/lib/ingenico/connect/sdk/logging/log_message_builder.rb +73 -67
- data/lib/ingenico/connect/sdk/logging/logging_capable.rb +12 -12
- data/lib/ingenico/connect/sdk/logging/logging_util.rb +304 -297
- data/lib/ingenico/connect/sdk/logging/obfuscation/body_obfuscator.rb +83 -79
- data/lib/ingenico/connect/sdk/logging/obfuscation/header_obfuscator.rb +42 -38
- data/lib/ingenico/connect/sdk/logging/obfuscation/obfuscation_capable.rb +17 -12
- data/lib/ingenico/connect/sdk/logging/obfuscation/obfuscation_rule.rb +40 -36
- data/lib/ingenico/connect/sdk/logging/obfuscation.rb +1 -0
- data/lib/ingenico/connect/sdk/logging/request_log_message_builder.rb +42 -34
- data/lib/ingenico/connect/sdk/logging/response_log_message_builder.rb +35 -29
- data/lib/ingenico/connect/sdk/logging/ruby_communicator_logger.rb +51 -47
- data/lib/ingenico/connect/sdk/logging/stdout_communicator_logger.rb +26 -22
- data/lib/ingenico/connect/sdk/logging.rb +1 -14
- data/lib/ingenico/connect/sdk/marshaller.rb +22 -19
- data/lib/ingenico/connect/sdk/marshaller_syntax_exception.rb +7 -4
- data/lib/ingenico/connect/sdk/merchant/captures/captures_client.rb +75 -72
- data/lib/ingenico/connect/sdk/merchant/captures.rb +5 -0
- data/lib/ingenico/connect/sdk/merchant/disputes/disputes_client.rb +134 -131
- data/lib/ingenico/connect/sdk/merchant/disputes/upload_file_request.rb +17 -14
- data/lib/ingenico/connect/sdk/merchant/disputes.rb +5 -0
- data/lib/ingenico/connect/sdk/merchant/files/files_client.rb +43 -40
- data/lib/ingenico/connect/sdk/merchant/files.rb +5 -0
- data/lib/ingenico/connect/sdk/merchant/hostedcheckouts/hostedcheckouts_client.rb +98 -95
- data/lib/ingenico/connect/sdk/merchant/hostedcheckouts.rb +5 -0
- data/lib/ingenico/connect/sdk/merchant/hostedmandatemanagements/hostedmandatemanagements_client.rb +70 -67
- data/lib/ingenico/connect/sdk/merchant/hostedmandatemanagements.rb +5 -0
- data/lib/ingenico/connect/sdk/merchant/installments/installments_client.rb +41 -38
- data/lib/ingenico/connect/sdk/merchant/installments.rb +5 -0
- data/lib/ingenico/connect/sdk/merchant/mandates/mandates_client.rb +191 -188
- data/lib/ingenico/connect/sdk/merchant/mandates.rb +5 -0
- data/lib/ingenico/connect/sdk/merchant/merchant_client.rb +110 -107
- data/lib/ingenico/connect/sdk/merchant/payments/find_payments_params.rb +35 -32
- data/lib/ingenico/connect/sdk/merchant/payments/payments_client.rb +519 -516
- data/lib/ingenico/connect/sdk/merchant/payments.rb +5 -0
- data/lib/ingenico/connect/sdk/merchant/payouts/find_payouts_params.rb +26 -23
- data/lib/ingenico/connect/sdk/merchant/payouts/payouts_client.rb +186 -183
- data/lib/ingenico/connect/sdk/merchant/payouts.rb +5 -0
- data/lib/ingenico/connect/sdk/merchant/productgroups/find_productgroups_params.rb +49 -46
- data/lib/ingenico/connect/sdk/merchant/productgroups/get_productgroup_params.rb +49 -46
- data/lib/ingenico/connect/sdk/merchant/productgroups/productgroups_client.rb +101 -98
- data/lib/ingenico/connect/sdk/merchant/productgroups.rb +5 -0
- data/lib/ingenico/connect/sdk/merchant/products/directory_params.rb +20 -17
- data/lib/ingenico/connect/sdk/merchant/products/find_products_params.rb +49 -46
- data/lib/ingenico/connect/sdk/merchant/products/get_product_params.rb +44 -41
- data/lib/ingenico/connect/sdk/merchant/products/networks_params.rb +26 -23
- data/lib/ingenico/connect/sdk/merchant/products/products_client.rb +223 -220
- data/lib/ingenico/connect/sdk/merchant/products.rb +5 -0
- data/lib/ingenico/connect/sdk/merchant/refunds/find_refunds_params.rb +35 -32
- data/lib/ingenico/connect/sdk/merchant/refunds/refunds_client.rb +157 -154
- data/lib/ingenico/connect/sdk/merchant/refunds.rb +5 -0
- data/lib/ingenico/connect/sdk/merchant/riskassessments/riskassessments_client.rb +68 -65
- data/lib/ingenico/connect/sdk/merchant/riskassessments.rb +5 -0
- data/lib/ingenico/connect/sdk/merchant/services/convert_amount_params.rb +23 -20
- data/lib/ingenico/connect/sdk/merchant/services/privacypolicy_params.rb +20 -17
- data/lib/ingenico/connect/sdk/merchant/services/services_client.rb +145 -142
- data/lib/ingenico/connect/sdk/merchant/services.rb +5 -0
- data/lib/ingenico/connect/sdk/merchant/sessions/sessions_client.rb +41 -38
- data/lib/ingenico/connect/sdk/merchant/sessions.rb +5 -0
- data/lib/ingenico/connect/sdk/merchant/tokens/delete_token_params.rb +17 -14
- data/lib/ingenico/connect/sdk/merchant/tokens/tokens_client.rb +159 -156
- data/lib/ingenico/connect/sdk/merchant/tokens.rb +5 -0
- data/lib/ingenico/connect/sdk/merchant.rb +5 -0
- data/lib/ingenico/connect/sdk/meta_data_provider.rb +151 -146
- data/lib/ingenico/connect/sdk/multipart_form_data_object.rb +36 -33
- data/lib/ingenico/connect/sdk/multipart_form_data_request.rb +10 -6
- data/lib/ingenico/connect/sdk/not_found_exception.rb +14 -11
- data/lib/ingenico/connect/sdk/param_request.rb +11 -8
- data/lib/ingenico/connect/sdk/pooled_connection.rb +20 -15
- data/lib/ingenico/connect/sdk/proxy_configuration.rb +63 -61
- data/lib/ingenico/connect/sdk/reference_exception.rb +14 -9
- data/lib/ingenico/connect/sdk/request_header.rb +52 -44
- data/lib/ingenico/connect/sdk/request_param.rb +22 -19
- data/lib/ingenico/connect/sdk/response_exception.rb +46 -41
- data/lib/ingenico/connect/sdk/response_header.rb +63 -55
- data/lib/ingenico/connect/sdk/session.rb +34 -31
- data/lib/ingenico/connect/sdk/uploadable_file.rb +23 -20
- data/lib/ingenico/connect/sdk/validation_exception.rb +14 -9
- data/lib/ingenico/connect/sdk/webhooks/api_version_mismatch_exception.rb +19 -15
- data/lib/ingenico/connect/sdk/webhooks/in_memory_secret_key_store.rb +49 -44
- data/lib/ingenico/connect/sdk/webhooks/secret_key_not_available_exception.rb +18 -12
- data/lib/ingenico/connect/sdk/webhooks/secret_key_store.rb +15 -11
- data/lib/ingenico/connect/sdk/webhooks/signature_validation_exception.rb +17 -14
- data/lib/ingenico/connect/sdk/webhooks/signature_validator.rb +83 -0
- data/lib/ingenico/connect/sdk/webhooks/webhooks.rb +20 -15
- data/lib/ingenico/connect/sdk/webhooks/webhooks_event.rb +60 -50
- data/lib/ingenico/connect/sdk/webhooks/webhooks_helper.rb +43 -94
- data/lib/ingenico/connect/sdk/webhooks/webhooks_helper_builder.rb +22 -17
- data/lib/ingenico/connect/sdk/webhooks.rb +1 -11
- data/lib/ingenico/connect/sdk.rb +1 -30
- data/spec/integration/connection_pooling_spec.rb +1 -1
- data/spec/lib/defaultimpl/default_connection_logger_spec.rb +17 -17
- data/spec/lib/webhooks/webhooks_spec.rb +2 -1
- metadata +40 -2
@@ -1,92 +1,95 @@
|
|
1
1
|
#
|
2
2
|
# This class was auto-generated from the API references found at
|
3
|
-
# https://epayments-api.developer-ingenico.com/
|
3
|
+
# https://epayments-api.developer-ingenico.com/
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/data_object'
|
6
6
|
|
7
|
-
module Ingenico
|
8
|
-
module
|
9
|
-
module
|
7
|
+
module Ingenico
|
8
|
+
module Connect
|
9
|
+
module SDK
|
10
|
+
module Domain
|
11
|
+
module Payment
|
12
|
+
# @attr [String] account_id
|
13
|
+
# @attr [String] billing_agreement_id
|
14
|
+
# @attr [String] company_name
|
15
|
+
# @attr [String] contact_phone
|
16
|
+
# @attr [String] country_code
|
17
|
+
# @attr [String] customer_account_status
|
18
|
+
# @attr [String] customer_address_status
|
19
|
+
# @attr [String] first_name
|
20
|
+
# @attr [String] payer_id
|
21
|
+
# @attr [String] surname
|
22
|
+
class PaymentProduct840CustomerAccount < Ingenico::Connect::SDK::DataObject
|
10
23
|
|
11
|
-
|
12
|
-
# @attr [String] billing_agreement_id
|
13
|
-
# @attr [String] company_name
|
14
|
-
# @attr [String] contact_phone
|
15
|
-
# @attr [String] country_code
|
16
|
-
# @attr [String] customer_account_status
|
17
|
-
# @attr [String] customer_address_status
|
18
|
-
# @attr [String] first_name
|
19
|
-
# @attr [String] payer_id
|
20
|
-
# @attr [String] surname
|
21
|
-
class PaymentProduct840CustomerAccount < Ingenico::Connect::SDK::DataObject
|
24
|
+
attr_accessor :account_id
|
22
25
|
|
23
|
-
|
26
|
+
attr_accessor :billing_agreement_id
|
24
27
|
|
25
|
-
|
28
|
+
attr_accessor :company_name
|
26
29
|
|
27
|
-
|
30
|
+
attr_accessor :contact_phone
|
28
31
|
|
29
|
-
|
32
|
+
attr_accessor :country_code
|
30
33
|
|
31
|
-
|
34
|
+
attr_accessor :customer_account_status
|
32
35
|
|
33
|
-
|
36
|
+
attr_accessor :customer_address_status
|
34
37
|
|
35
|
-
|
38
|
+
attr_accessor :first_name
|
36
39
|
|
37
|
-
|
40
|
+
attr_accessor :payer_id
|
38
41
|
|
39
|
-
|
42
|
+
attr_accessor :surname
|
40
43
|
|
41
|
-
|
44
|
+
# @return (Hash)
|
45
|
+
def to_h
|
46
|
+
hash = super
|
47
|
+
hash['accountId'] = @account_id unless @account_id.nil?
|
48
|
+
hash['billingAgreementId'] = @billing_agreement_id unless @billing_agreement_id.nil?
|
49
|
+
hash['companyName'] = @company_name unless @company_name.nil?
|
50
|
+
hash['contactPhone'] = @contact_phone unless @contact_phone.nil?
|
51
|
+
hash['countryCode'] = @country_code unless @country_code.nil?
|
52
|
+
hash['customerAccountStatus'] = @customer_account_status unless @customer_account_status.nil?
|
53
|
+
hash['customerAddressStatus'] = @customer_address_status unless @customer_address_status.nil?
|
54
|
+
hash['firstName'] = @first_name unless @first_name.nil?
|
55
|
+
hash['payerId'] = @payer_id unless @payer_id.nil?
|
56
|
+
hash['surname'] = @surname unless @surname.nil?
|
57
|
+
hash
|
58
|
+
end
|
42
59
|
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
if hash.has_key? 'customerAccountStatus'
|
77
|
-
@customer_account_status = hash['customerAccountStatus']
|
78
|
-
end
|
79
|
-
if hash.has_key? 'customerAddressStatus'
|
80
|
-
@customer_address_status = hash['customerAddressStatus']
|
81
|
-
end
|
82
|
-
if hash.has_key? 'firstName'
|
83
|
-
@first_name = hash['firstName']
|
84
|
-
end
|
85
|
-
if hash.has_key? 'payerId'
|
86
|
-
@payer_id = hash['payerId']
|
87
|
-
end
|
88
|
-
if hash.has_key? 'surname'
|
89
|
-
@surname = hash['surname']
|
60
|
+
def from_hash(hash)
|
61
|
+
super
|
62
|
+
if hash.has_key? 'accountId'
|
63
|
+
@account_id = hash['accountId']
|
64
|
+
end
|
65
|
+
if hash.has_key? 'billingAgreementId'
|
66
|
+
@billing_agreement_id = hash['billingAgreementId']
|
67
|
+
end
|
68
|
+
if hash.has_key? 'companyName'
|
69
|
+
@company_name = hash['companyName']
|
70
|
+
end
|
71
|
+
if hash.has_key? 'contactPhone'
|
72
|
+
@contact_phone = hash['contactPhone']
|
73
|
+
end
|
74
|
+
if hash.has_key? 'countryCode'
|
75
|
+
@country_code = hash['countryCode']
|
76
|
+
end
|
77
|
+
if hash.has_key? 'customerAccountStatus'
|
78
|
+
@customer_account_status = hash['customerAccountStatus']
|
79
|
+
end
|
80
|
+
if hash.has_key? 'customerAddressStatus'
|
81
|
+
@customer_address_status = hash['customerAddressStatus']
|
82
|
+
end
|
83
|
+
if hash.has_key? 'firstName'
|
84
|
+
@first_name = hash['firstName']
|
85
|
+
end
|
86
|
+
if hash.has_key? 'payerId'
|
87
|
+
@payer_id = hash['payerId']
|
88
|
+
end
|
89
|
+
if hash.has_key? 'surname'
|
90
|
+
@surname = hash['surname']
|
91
|
+
end
|
92
|
+
end
|
90
93
|
end
|
91
94
|
end
|
92
95
|
end
|
@@ -1,57 +1,60 @@
|
|
1
1
|
#
|
2
2
|
# This class was auto-generated from the API references found at
|
3
|
-
# https://epayments-api.developer-ingenico.com/
|
3
|
+
# https://epayments-api.developer-ingenico.com/
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/data_object'
|
6
6
|
require 'ingenico/connect/sdk/domain/definitions/address'
|
7
7
|
require 'ingenico/connect/sdk/domain/payment/payment_product840_customer_account'
|
8
8
|
require 'ingenico/connect/sdk/domain/payment/protection_eligibility'
|
9
9
|
|
10
|
-
module Ingenico
|
11
|
-
module
|
12
|
-
module
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
10
|
+
module Ingenico
|
11
|
+
module Connect
|
12
|
+
module SDK
|
13
|
+
module Domain
|
14
|
+
module Payment
|
15
|
+
# @attr [Ingenico::Connect::SDK::Domain::Definitions::Address] billing_address
|
16
|
+
# @attr [Ingenico::Connect::SDK::Domain::Payment::PaymentProduct840CustomerAccount] customer_account
|
17
|
+
# @attr [Ingenico::Connect::SDK::Domain::Definitions::Address] customer_address
|
18
|
+
# @attr [Ingenico::Connect::SDK::Domain::Payment::ProtectionEligibility] protection_eligibility
|
19
|
+
class PaymentProduct840SpecificOutput < Ingenico::Connect::SDK::DataObject
|
20
|
+
|
21
|
+
attr_accessor :billing_address
|
22
|
+
|
23
|
+
attr_accessor :customer_account
|
24
|
+
|
25
|
+
attr_accessor :customer_address
|
26
|
+
|
27
|
+
attr_accessor :protection_eligibility
|
28
|
+
|
29
|
+
# @return (Hash)
|
30
|
+
def to_h
|
31
|
+
hash = super
|
32
|
+
hash['billingAddress'] = @billing_address.to_h unless @billing_address.nil?
|
33
|
+
hash['customerAccount'] = @customer_account.to_h unless @customer_account.nil?
|
34
|
+
hash['customerAddress'] = @customer_address.to_h unless @customer_address.nil?
|
35
|
+
hash['protectionEligibility'] = @protection_eligibility.to_h unless @protection_eligibility.nil?
|
36
|
+
hash
|
37
|
+
end
|
38
|
+
|
39
|
+
def from_hash(hash)
|
40
|
+
super
|
41
|
+
if hash.has_key? 'billingAddress'
|
42
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['billingAddress']] unless hash['billingAddress'].is_a? Hash
|
43
|
+
@billing_address = Ingenico::Connect::SDK::Domain::Definitions::Address.new_from_hash(hash['billingAddress'])
|
44
|
+
end
|
45
|
+
if hash.has_key? 'customerAccount'
|
46
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['customerAccount']] unless hash['customerAccount'].is_a? Hash
|
47
|
+
@customer_account = Ingenico::Connect::SDK::Domain::Payment::PaymentProduct840CustomerAccount.new_from_hash(hash['customerAccount'])
|
48
|
+
end
|
49
|
+
if hash.has_key? 'customerAddress'
|
50
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['customerAddress']] unless hash['customerAddress'].is_a? Hash
|
51
|
+
@customer_address = Ingenico::Connect::SDK::Domain::Definitions::Address.new_from_hash(hash['customerAddress'])
|
52
|
+
end
|
53
|
+
if hash.has_key? 'protectionEligibility'
|
54
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['protectionEligibility']] unless hash['protectionEligibility'].is_a? Hash
|
55
|
+
@protection_eligibility = Ingenico::Connect::SDK::Domain::Payment::ProtectionEligibility.new_from_hash(hash['protectionEligibility'])
|
56
|
+
end
|
57
|
+
end
|
55
58
|
end
|
56
59
|
end
|
57
60
|
end
|
@@ -1,71 +1,74 @@
|
|
1
1
|
#
|
2
2
|
# This class was auto-generated from the API references found at
|
3
|
-
# https://epayments-api.developer-ingenico.com/
|
3
|
+
# https://epayments-api.developer-ingenico.com/
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/data_object'
|
6
6
|
|
7
|
-
module Ingenico
|
8
|
-
module
|
9
|
-
module
|
7
|
+
module Ingenico
|
8
|
+
module Connect
|
9
|
+
module SDK
|
10
|
+
module Domain
|
11
|
+
module Payment
|
12
|
+
# @attr [String] app_id
|
13
|
+
# @attr [String] nonce_str
|
14
|
+
# @attr [String] package_sign
|
15
|
+
# @attr [String] pay_sign
|
16
|
+
# @attr [String] prepay_id
|
17
|
+
# @attr [String] sign_type
|
18
|
+
# @attr [String] time_stamp
|
19
|
+
class PaymentProduct863ThirdPartyData < Ingenico::Connect::SDK::DataObject
|
10
20
|
|
11
|
-
|
12
|
-
# @attr [String] nonce_str
|
13
|
-
# @attr [String] package_sign
|
14
|
-
# @attr [String] pay_sign
|
15
|
-
# @attr [String] prepay_id
|
16
|
-
# @attr [String] sign_type
|
17
|
-
# @attr [String] time_stamp
|
18
|
-
class PaymentProduct863ThirdPartyData < Ingenico::Connect::SDK::DataObject
|
21
|
+
attr_accessor :app_id
|
19
22
|
|
20
|
-
|
23
|
+
attr_accessor :nonce_str
|
21
24
|
|
22
|
-
|
25
|
+
attr_accessor :package_sign
|
23
26
|
|
24
|
-
|
27
|
+
attr_accessor :pay_sign
|
25
28
|
|
26
|
-
|
29
|
+
attr_accessor :prepay_id
|
27
30
|
|
28
|
-
|
31
|
+
attr_accessor :sign_type
|
29
32
|
|
30
|
-
|
33
|
+
attr_accessor :time_stamp
|
31
34
|
|
32
|
-
|
35
|
+
# @return (Hash)
|
36
|
+
def to_h
|
37
|
+
hash = super
|
38
|
+
hash['appId'] = @app_id unless @app_id.nil?
|
39
|
+
hash['nonceStr'] = @nonce_str unless @nonce_str.nil?
|
40
|
+
hash['packageSign'] = @package_sign unless @package_sign.nil?
|
41
|
+
hash['paySign'] = @pay_sign unless @pay_sign.nil?
|
42
|
+
hash['prepayId'] = @prepay_id unless @prepay_id.nil?
|
43
|
+
hash['signType'] = @sign_type unless @sign_type.nil?
|
44
|
+
hash['timeStamp'] = @time_stamp unless @time_stamp.nil?
|
45
|
+
hash
|
46
|
+
end
|
33
47
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
if hash.has_key? 'paySign'
|
59
|
-
@pay_sign = hash['paySign']
|
60
|
-
end
|
61
|
-
if hash.has_key? 'prepayId'
|
62
|
-
@prepay_id = hash['prepayId']
|
63
|
-
end
|
64
|
-
if hash.has_key? 'signType'
|
65
|
-
@sign_type = hash['signType']
|
66
|
-
end
|
67
|
-
if hash.has_key? 'timeStamp'
|
68
|
-
@time_stamp = hash['timeStamp']
|
48
|
+
def from_hash(hash)
|
49
|
+
super
|
50
|
+
if hash.has_key? 'appId'
|
51
|
+
@app_id = hash['appId']
|
52
|
+
end
|
53
|
+
if hash.has_key? 'nonceStr'
|
54
|
+
@nonce_str = hash['nonceStr']
|
55
|
+
end
|
56
|
+
if hash.has_key? 'packageSign'
|
57
|
+
@package_sign = hash['packageSign']
|
58
|
+
end
|
59
|
+
if hash.has_key? 'paySign'
|
60
|
+
@pay_sign = hash['paySign']
|
61
|
+
end
|
62
|
+
if hash.has_key? 'prepayId'
|
63
|
+
@prepay_id = hash['prepayId']
|
64
|
+
end
|
65
|
+
if hash.has_key? 'signType'
|
66
|
+
@sign_type = hash['signType']
|
67
|
+
end
|
68
|
+
if hash.has_key? 'timeStamp'
|
69
|
+
@time_stamp = hash['timeStamp']
|
70
|
+
end
|
71
|
+
end
|
69
72
|
end
|
70
73
|
end
|
71
74
|
end
|
@@ -1,71 +1,74 @@
|
|
1
1
|
#
|
2
2
|
# This class was auto-generated from the API references found at
|
3
|
-
# https://epayments-api.developer-ingenico.com/
|
3
|
+
# https://epayments-api.developer-ingenico.com/
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/data_object'
|
6
6
|
|
7
|
-
module Ingenico
|
8
|
-
module
|
9
|
-
module
|
7
|
+
module Ingenico
|
8
|
+
module Connect
|
9
|
+
module SDK
|
10
|
+
module Domain
|
11
|
+
module Payment
|
12
|
+
# @attr [Integer] merchant_order_id
|
13
|
+
# @attr [String] merchant_reference
|
14
|
+
# @attr [String] payment_reference
|
15
|
+
# @attr [String] provider_id
|
16
|
+
# @attr [String] provider_merchant_id
|
17
|
+
# @attr [String] provider_reference
|
18
|
+
# @attr [String] reference_orig_payment
|
19
|
+
class PaymentReferences < Ingenico::Connect::SDK::DataObject
|
10
20
|
|
11
|
-
|
12
|
-
# @attr [String] merchant_reference
|
13
|
-
# @attr [String] payment_reference
|
14
|
-
# @attr [String] provider_id
|
15
|
-
# @attr [String] provider_merchant_id
|
16
|
-
# @attr [String] provider_reference
|
17
|
-
# @attr [String] reference_orig_payment
|
18
|
-
class PaymentReferences < Ingenico::Connect::SDK::DataObject
|
21
|
+
attr_accessor :merchant_order_id
|
19
22
|
|
20
|
-
|
23
|
+
attr_accessor :merchant_reference
|
21
24
|
|
22
|
-
|
25
|
+
attr_accessor :payment_reference
|
23
26
|
|
24
|
-
|
27
|
+
attr_accessor :provider_id
|
25
28
|
|
26
|
-
|
29
|
+
attr_accessor :provider_merchant_id
|
27
30
|
|
28
|
-
|
31
|
+
attr_accessor :provider_reference
|
29
32
|
|
30
|
-
|
33
|
+
attr_accessor :reference_orig_payment
|
31
34
|
|
32
|
-
|
35
|
+
# @return (Hash)
|
36
|
+
def to_h
|
37
|
+
hash = super
|
38
|
+
hash['merchantOrderId'] = @merchant_order_id unless @merchant_order_id.nil?
|
39
|
+
hash['merchantReference'] = @merchant_reference unless @merchant_reference.nil?
|
40
|
+
hash['paymentReference'] = @payment_reference unless @payment_reference.nil?
|
41
|
+
hash['providerId'] = @provider_id unless @provider_id.nil?
|
42
|
+
hash['providerMerchantId'] = @provider_merchant_id unless @provider_merchant_id.nil?
|
43
|
+
hash['providerReference'] = @provider_reference unless @provider_reference.nil?
|
44
|
+
hash['referenceOrigPayment'] = @reference_orig_payment unless @reference_orig_payment.nil?
|
45
|
+
hash
|
46
|
+
end
|
33
47
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
if hash.has_key? 'providerId'
|
59
|
-
@provider_id = hash['providerId']
|
60
|
-
end
|
61
|
-
if hash.has_key? 'providerMerchantId'
|
62
|
-
@provider_merchant_id = hash['providerMerchantId']
|
63
|
-
end
|
64
|
-
if hash.has_key? 'providerReference'
|
65
|
-
@provider_reference = hash['providerReference']
|
66
|
-
end
|
67
|
-
if hash.has_key? 'referenceOrigPayment'
|
68
|
-
@reference_orig_payment = hash['referenceOrigPayment']
|
48
|
+
def from_hash(hash)
|
49
|
+
super
|
50
|
+
if hash.has_key? 'merchantOrderId'
|
51
|
+
@merchant_order_id = hash['merchantOrderId']
|
52
|
+
end
|
53
|
+
if hash.has_key? 'merchantReference'
|
54
|
+
@merchant_reference = hash['merchantReference']
|
55
|
+
end
|
56
|
+
if hash.has_key? 'paymentReference'
|
57
|
+
@payment_reference = hash['paymentReference']
|
58
|
+
end
|
59
|
+
if hash.has_key? 'providerId'
|
60
|
+
@provider_id = hash['providerId']
|
61
|
+
end
|
62
|
+
if hash.has_key? 'providerMerchantId'
|
63
|
+
@provider_merchant_id = hash['providerMerchantId']
|
64
|
+
end
|
65
|
+
if hash.has_key? 'providerReference'
|
66
|
+
@provider_reference = hash['providerReference']
|
67
|
+
end
|
68
|
+
if hash.has_key? 'referenceOrigPayment'
|
69
|
+
@reference_orig_payment = hash['referenceOrigPayment']
|
70
|
+
end
|
71
|
+
end
|
69
72
|
end
|
70
73
|
end
|
71
74
|
end
|
@@ -1,14 +1,17 @@
|
|
1
1
|
#
|
2
2
|
# This class was auto-generated from the API references found at
|
3
|
-
# https://epayments-api.developer-ingenico.com/
|
3
|
+
# https://epayments-api.developer-ingenico.com/
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/domain/payment/payment'
|
6
6
|
|
7
|
-
module Ingenico
|
8
|
-
module
|
9
|
-
module
|
10
|
-
|
11
|
-
|
7
|
+
module Ingenico
|
8
|
+
module Connect
|
9
|
+
module SDK
|
10
|
+
module Domain
|
11
|
+
module Payment
|
12
|
+
class PaymentResponse < Ingenico::Connect::SDK::Domain::Payment::Payment
|
13
|
+
end
|
14
|
+
end
|
12
15
|
end
|
13
16
|
end
|
14
17
|
end
|
@@ -1,43 +1,46 @@
|
|
1
1
|
#
|
2
2
|
# This class was auto-generated from the API references found at
|
3
|
-
# https://epayments-api.developer-ingenico.com/
|
3
|
+
# https://epayments-api.developer-ingenico.com/
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/domain/definitions/order_status_output'
|
6
6
|
|
7
|
-
module Ingenico
|
8
|
-
module
|
9
|
-
module
|
7
|
+
module Ingenico
|
8
|
+
module Connect
|
9
|
+
module SDK
|
10
|
+
module Domain
|
11
|
+
module Payment
|
12
|
+
# @attr [true/false] is_authorized
|
13
|
+
# @attr [true/false] is_refundable
|
14
|
+
# @attr [String] three_d_secure_status
|
15
|
+
class PaymentStatusOutput < Ingenico::Connect::SDK::Domain::Definitions::OrderStatusOutput
|
10
16
|
|
11
|
-
|
12
|
-
# @attr [true/false] is_refundable
|
13
|
-
# @attr [String] three_d_secure_status
|
14
|
-
class PaymentStatusOutput < Ingenico::Connect::SDK::Domain::Definitions::OrderStatusOutput
|
17
|
+
attr_accessor :is_authorized
|
15
18
|
|
16
|
-
|
19
|
+
attr_accessor :is_refundable
|
17
20
|
|
18
|
-
|
21
|
+
attr_accessor :three_d_secure_status
|
19
22
|
|
20
|
-
|
23
|
+
# @return (Hash)
|
24
|
+
def to_h
|
25
|
+
hash = super
|
26
|
+
hash['isAuthorized'] = @is_authorized unless @is_authorized.nil?
|
27
|
+
hash['isRefundable'] = @is_refundable unless @is_refundable.nil?
|
28
|
+
hash['threeDSecureStatus'] = @three_d_secure_status unless @three_d_secure_status.nil?
|
29
|
+
hash
|
30
|
+
end
|
21
31
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
@is_authorized = hash['isAuthorized']
|
35
|
-
end
|
36
|
-
if hash.has_key? 'isRefundable'
|
37
|
-
@is_refundable = hash['isRefundable']
|
38
|
-
end
|
39
|
-
if hash.has_key? 'threeDSecureStatus'
|
40
|
-
@three_d_secure_status = hash['threeDSecureStatus']
|
32
|
+
def from_hash(hash)
|
33
|
+
super
|
34
|
+
if hash.has_key? 'isAuthorized'
|
35
|
+
@is_authorized = hash['isAuthorized']
|
36
|
+
end
|
37
|
+
if hash.has_key? 'isRefundable'
|
38
|
+
@is_refundable = hash['isRefundable']
|
39
|
+
end
|
40
|
+
if hash.has_key? 'threeDSecureStatus'
|
41
|
+
@three_d_secure_status = hash['threeDSecureStatus']
|
42
|
+
end
|
43
|
+
end
|
41
44
|
end
|
42
45
|
end
|
43
46
|
end
|