connect-sdk-ruby 1.5.1 → 1.6.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/get_capture_example.rb +22 -0
- data/examples/merchant/hostedcheckouts/create_hosted_checkout_example.rb +1 -1
- data/examples/merchant/hostedcheckouts/get_hosted_checkout_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 +27 -0
- data/examples/merchant/payments/create_payment_example.rb +1 -1
- data/examples/merchant/payments/get_payment_captures_example.rb +22 -0
- data/examples/merchant/payments/get_payment_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/get_payout_example.rb +1 -1
- data/examples/merchant/productgroups/get_payment_product_group_example.rb +3 -3
- data/examples/merchant/productgroups/get_payment_product_groups_example.rb +3 -3
- data/examples/merchant/products/get_directory_example.rb +1 -1
- data/examples/merchant/products/get_networks_example.rb +3 -3
- data/examples/merchant/products/get_payment_product_example.rb +1 -1
- data/examples/merchant/products/get_payment_product_public_key_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/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/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/client.rb +1 -1
- data/lib/ingenico/connect/sdk/domain/capture/capture.rb +53 -0
- data/lib/ingenico/connect/sdk/domain/capture/capture_output.rb +126 -0
- data/lib/ingenico/connect/sdk/domain/capture/capture_response.rb +15 -0
- data/lib/ingenico/connect/sdk/domain/capture/capture_status_output.rb +31 -0
- data/lib/ingenico/connect/sdk/domain/capture/captures_response.rb +38 -0
- data/lib/ingenico/connect/sdk/domain/definitions/abstract_order_status.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/definitions/abstract_payment_method_specific_input.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/definitions/additional_order_input_airline_data.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/definitions/address.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/definitions/airline_data.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/definitions/airline_flight_leg.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/definitions/amount_of_money.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/definitions/bank_account.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/definitions/bank_account_bban.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/definitions/bank_account_iban.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/definitions/card.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/definitions/card_essentials.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/definitions/card_fraud_results.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/definitions/card_without_cvv.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/definitions/company_information.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/definitions/contact_details_base.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/definitions/customer_base.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/definitions/fraud_fields.rb +44 -2
- data/lib/ingenico/connect/sdk/domain/definitions/fraud_fields_shipping_details.rb +45 -0
- data/lib/ingenico/connect/sdk/domain/definitions/fraud_results.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/definitions/fraud_results_retail_decisions.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/definitions/key_value_pair.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/definitions/order_status_output.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/definitions/payment_product_filter.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/definitions/personal_name_base.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/definitions/result_do_risk_assessment.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/definitions/retail_decisions_cc_fraud_check_output.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/definitions/validation_bank_account_check.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/definitions/validation_bank_account_output.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/errors/api_error.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/errors/error_response.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/create_hosted_checkout_request.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/create_hosted_checkout_response.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/created_payment_output.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/displayed_data.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/get_hosted_checkout_response.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/hosted_checkout_specific_input.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/payment_product_filters_hosted_checkout.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/abstract_payment_method_specific_output.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/additional_order_input.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/address_personal.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/amount_breakdown.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_card_payment_method_specific_output.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_mobile_payment_method_specific_output.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_non_sepa_direct_debit_payment_method_specific_input.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_payment_method_specific_input.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_request.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_sepa_direct_debit_payment_method_specific_input.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/bank_transfer_payment_method_specific_input.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/bank_transfer_payment_method_specific_input_base.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/bank_transfer_payment_method_specific_output.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/cancel_approval_payment_response.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/cancel_payment_card_payment_method_specific_output.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/cancel_payment_mobile_payment_method_specific_output.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/cancel_payment_response.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/capture_payment_request.rb +38 -0
- data/lib/ingenico/connect/sdk/domain/payment/card_payment_method_specific_input.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/card_payment_method_specific_input_base.rb +8 -2
- data/lib/ingenico/connect/sdk/domain/payment/card_payment_method_specific_output.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_method_specific_input.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_method_specific_input_base.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_method_specific_output.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1503_specific_input.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1504_specific_input.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/contact_details.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/create_payment_request.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/create_payment_response.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/create_payment_result.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/customer.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/decrypted_payment_data.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/external_cardholder_authentication_data.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/invoice_payment_method_specific_input.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/invoice_payment_method_specific_output.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/level3_summary_data.rb +5 -7
- data/lib/ingenico/connect/sdk/domain/payment/line_item.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/line_item_invoice_data.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/line_item_level3_interchange_information.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/merchant_action.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/mobile_payment_data.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/mobile_payment_method_specific_input.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/mobile_payment_method_specific_output.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/mobile_payment_product320_specific_input.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_method_specific_input.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_method_specific_output.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_product705_specific_input.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/order.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/order_approve_payment.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/order_invoice_data.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/order_line_details.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/order_output.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/order_references.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/order_references_approve_payment.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/order_type_information.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/payment.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/payment_approval_response.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/payment_creation_output.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/payment_creation_references.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/payment_error_response.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/payment_output.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/payment_product836_specific_output.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/payment_product840_customer_account.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/payment_product840_specific_output.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/payment_references.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/payment_response.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/payment_status_output.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/personal_information.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/personal_name.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/redirect_data.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_method_specific_input.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_method_specific_input_base.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_method_specific_output.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product809_specific_input.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product816_specific_input.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product882_specific_input.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/refund_bank_method_specific_output.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/refund_card_method_specific_output.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/refund_e_wallet_method_specific_output.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/refund_method_specific_output.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/refund_mobile_method_specific_output.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/refund_output.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/refund_payment_product840_customer_account.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/refund_payment_product840_specific_output.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/sepa_direct_debit_payment_method_specific_input.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/sepa_direct_debit_payment_method_specific_output.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/shopping_cart.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/three_d_secure_results.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payment/tokenize_payment_request.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payout/abstract_payout_method_specific_input.rb +15 -0
- data/lib/ingenico/connect/sdk/domain/payout/approve_payout_request.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payout/bank_transfer_payout_method_specific_input.rb +78 -0
- data/lib/ingenico/connect/sdk/domain/payout/card_payout_method_specific_input.rb +42 -0
- data/lib/ingenico/connect/sdk/domain/payout/create_payout_request.rb +35 -2
- data/lib/ingenico/connect/sdk/domain/payout/payout_customer.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payout/payout_error_response.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payout/payout_references.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payout/payout_response.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/payout/payout_result.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/product/account_on_file.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/product/account_on_file_attribute.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/product/account_on_file_display_hints.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/product/boleto_bancario_requiredness_validator.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/product/directory.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/product/directory_entry.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/product/empty_validator.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/product/fixed_list_validator.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/product/label_template_element.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/product/length_validator.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/product/payment_product.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/product/payment_product_display_hints.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/product/payment_product_field.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/product/payment_product_field_data_restrictions.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/product/payment_product_field_display_hints.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/product/payment_product_field_form_element.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/product/payment_product_field_tooltip.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/product/payment_product_field_validators.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/product/payment_product_group.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/product/payment_product_group_response.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/product/payment_product_groups.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/product/payment_product_networks_response.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/product/payment_product_response.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/product/payment_products.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/product/range_validator.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/product/regular_expression_validator.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/product/value_mapping_element.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/publickey/public_key.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/refund/approve_refund_request.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/refund/bank_account_bban_refund.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/refund/bank_refund_method_specific_input.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/refund/refund_customer.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/refund/refund_error_response.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/refund/refund_references.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/refund/refund_request.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/refund/refund_response.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/refund/refund_result.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/riskassessments/customer_risk_assessment.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/riskassessments/order_risk_assessment.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/riskassessments/personal_information_risk_assessment.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/riskassessments/personal_name_risk_assessment.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/riskassessments/risk_assessment.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/riskassessments/risk_assessment_bank_account.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/riskassessments/risk_assessment_card.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/riskassessments/risk_assessment_response.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/services/bank_data.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/services/bank_details.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/services/bank_details_request.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/services/bank_details_response.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/services/convert_amount.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/services/get_iin_details_request.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/services/get_iin_details_response.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/services/iin_detail.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/services/payment_context.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/services/swift.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/services/test_connection.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/sessions/payment_product_filters_client_session.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/sessions/session_request.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/sessions/session_response.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/token/abstract_token.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/token/approve_token_request.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/token/contact_details_token.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/token/create_token_request.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/token/create_token_response.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/token/creditor.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/token/customer_token.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/token/customer_token_with_contact_details.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/token/debtor.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/token/mandate_approval.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/token/mandate_non_sepa_direct_debit.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/token/mandate_sepa_direct_debit.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/token/mandate_sepa_direct_debit_with_mandate_id.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/token/mandate_sepa_direct_debit_without_creditor.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/token/personal_information_token.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/token/personal_name_token.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/token/token_card.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/token/token_card_data.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/token/token_e_wallet.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/token/token_e_wallet_data.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/token/token_non_sepa_direct_debit.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/token/token_non_sepa_direct_debit_payment_product705_specific_data.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/token/token_response.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/token/token_sepa_direct_debit.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/token/token_sepa_direct_debit_without_creditor.rb +1 -2
- data/lib/ingenico/connect/sdk/domain/token/update_token_request.rb +1 -2
- data/lib/ingenico/connect/sdk/merchant/captures/captures_client.rb +57 -0
- data/lib/ingenico/connect/sdk/merchant/hostedcheckouts/hostedcheckouts_client.rb +3 -3
- data/lib/ingenico/connect/sdk/merchant/merchant_client.rb +10 -1
- data/lib/ingenico/connect/sdk/merchant/payments/payments_client.rb +77 -9
- data/lib/ingenico/connect/sdk/merchant/payouts/payouts_client.rb +6 -6
- data/lib/ingenico/connect/sdk/merchant/productgroups/find_productgroups_params.rb +2 -2
- data/lib/ingenico/connect/sdk/merchant/productgroups/get_productgroup_params.rb +2 -2
- data/lib/ingenico/connect/sdk/merchant/productgroups/productgroups_client.rb +3 -3
- data/lib/ingenico/connect/sdk/merchant/products/directory_params.rb +2 -2
- data/lib/ingenico/connect/sdk/merchant/products/find_products_params.rb +2 -2
- data/lib/ingenico/connect/sdk/merchant/products/get_product_params.rb +2 -2
- data/lib/ingenico/connect/sdk/merchant/products/networks_params.rb +2 -2
- data/lib/ingenico/connect/sdk/merchant/products/products_client.rb +6 -6
- data/lib/ingenico/connect/sdk/merchant/refunds/refunds_client.rb +5 -5
- data/lib/ingenico/connect/sdk/merchant/riskassessments/riskassessments_client.rb +3 -3
- data/lib/ingenico/connect/sdk/merchant/services/convert_amount_params.rb +2 -2
- data/lib/ingenico/connect/sdk/merchant/services/services_client.rb +5 -5
- data/lib/ingenico/connect/sdk/merchant/sessions/sessions_client.rb +2 -2
- data/lib/ingenico/connect/sdk/merchant/tokens/delete_token_params.rb +2 -2
- data/lib/ingenico/connect/sdk/merchant/tokens/tokens_client.rb +6 -6
- data/lib/ingenico/connect/sdk/meta_data_provider.rb +1 -1
- data/lib/ingenico/connect/sdk/modules.rb +10 -0
- data/spec/fixtures/resources/defaultimpl/createPayment.unicode.json +42 -0
- data/spec/lib/defaultimpl/default_connection_logger_spec.rb +47 -0
- data/spec/lib/logging/ruby_communicator_logger_spec.rb +8 -0
- metadata +19 -3
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This class was auto-generated from the API references found at
|
3
|
-
# https://developer.
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/data_object'
|
6
6
|
|
@@ -8,7 +8,6 @@ module Ingenico::Connect::SDK
|
|
8
8
|
module Domain
|
9
9
|
module Errors
|
10
10
|
|
11
|
-
# Class {https://developer.globalcollect.com/documentation/api/server/#schema_APIError APIError}
|
12
11
|
class APIError < Ingenico::Connect::SDK::DataObject
|
13
12
|
|
14
13
|
# String
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This class was auto-generated from the API references found at
|
3
|
-
# https://developer.
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/data_object'
|
6
6
|
require 'ingenico/connect/sdk/domain/errors/api_error'
|
@@ -9,7 +9,6 @@ module Ingenico::Connect::SDK
|
|
9
9
|
module Domain
|
10
10
|
module Errors
|
11
11
|
|
12
|
-
# Class {https://developer.globalcollect.com/documentation/api/server/#schema_ErrorResponse ErrorResponse}
|
13
12
|
class ErrorResponse < Ingenico::Connect::SDK::DataObject
|
14
13
|
|
15
14
|
# String
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This class was auto-generated from the API references found at
|
3
|
-
# https://developer.
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/data_object'
|
6
6
|
require 'ingenico/connect/sdk/domain/definitions/fraud_fields'
|
@@ -15,7 +15,6 @@ module Ingenico::Connect::SDK
|
|
15
15
|
module Domain
|
16
16
|
module Hostedcheckout
|
17
17
|
|
18
|
-
# Class {https://developer.globalcollect.com/documentation/api/server/#schema_CreateHostedCheckoutRequest CreateHostedCheckoutRequest}
|
19
18
|
class CreateHostedCheckoutRequest < Ingenico::Connect::SDK::DataObject
|
20
19
|
|
21
20
|
# {Ingenico::Connect::SDK::Domain::Payment::BankTransferPaymentMethodSpecificInputBase}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This class was auto-generated from the API references found at
|
3
|
-
# https://developer.
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/data_object'
|
6
6
|
|
@@ -8,7 +8,6 @@ module Ingenico::Connect::SDK
|
|
8
8
|
module Domain
|
9
9
|
module Hostedcheckout
|
10
10
|
|
11
|
-
# Class {https://developer.globalcollect.com/documentation/api/server/#schema_CreateHostedCheckoutResponse CreateHostedCheckoutResponse}
|
12
11
|
class CreateHostedCheckoutResponse < Ingenico::Connect::SDK::DataObject
|
13
12
|
|
14
13
|
# String
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This class was auto-generated from the API references found at
|
3
|
-
# https://developer.
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/data_object'
|
6
6
|
require 'ingenico/connect/sdk/domain/hostedcheckout/displayed_data'
|
@@ -11,7 +11,6 @@ module Ingenico::Connect::SDK
|
|
11
11
|
module Domain
|
12
12
|
module Hostedcheckout
|
13
13
|
|
14
|
-
# Class {https://developer.globalcollect.com/documentation/api/server/#schema_CreatedPaymentOutput CreatedPaymentOutput}
|
15
14
|
class CreatedPaymentOutput < Ingenico::Connect::SDK::DataObject
|
16
15
|
|
17
16
|
# {Ingenico::Connect::SDK::Domain::Hostedcheckout::DisplayedData}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This class was auto-generated from the API references found at
|
3
|
-
# https://developer.
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/data_object'
|
6
6
|
require 'ingenico/connect/sdk/domain/definitions/key_value_pair'
|
@@ -9,7 +9,6 @@ module Ingenico::Connect::SDK
|
|
9
9
|
module Domain
|
10
10
|
module Hostedcheckout
|
11
11
|
|
12
|
-
# Class {https://developer.globalcollect.com/documentation/api/server/#schema_DisplayedData DisplayedData}
|
13
12
|
class DisplayedData < Ingenico::Connect::SDK::DataObject
|
14
13
|
|
15
14
|
# String
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This class was auto-generated from the API references found at
|
3
|
-
# https://developer.
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/data_object'
|
6
6
|
require 'ingenico/connect/sdk/domain/hostedcheckout/created_payment_output'
|
@@ -9,7 +9,6 @@ module Ingenico::Connect::SDK
|
|
9
9
|
module Domain
|
10
10
|
module Hostedcheckout
|
11
11
|
|
12
|
-
# Class {https://developer.globalcollect.com/documentation/api/server/#schema_GetHostedCheckoutResponse GetHostedCheckoutResponse}
|
13
12
|
class GetHostedCheckoutResponse < Ingenico::Connect::SDK::DataObject
|
14
13
|
|
15
14
|
# {Ingenico::Connect::SDK::Domain::Hostedcheckout::CreatedPaymentOutput}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This class was auto-generated from the API references found at
|
3
|
-
# https://developer.
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/data_object'
|
6
6
|
require 'ingenico/connect/sdk/domain/hostedcheckout/payment_product_filters_hosted_checkout'
|
@@ -9,7 +9,6 @@ module Ingenico::Connect::SDK
|
|
9
9
|
module Domain
|
10
10
|
module Hostedcheckout
|
11
11
|
|
12
|
-
# Class {https://developer.globalcollect.com/documentation/api/server/#schema_HostedCheckoutSpecificInput HostedCheckoutSpecificInput}
|
13
12
|
class HostedCheckoutSpecificInput < Ingenico::Connect::SDK::DataObject
|
14
13
|
|
15
14
|
# true/false
|
data/lib/ingenico/connect/sdk/domain/hostedcheckout/payment_product_filters_hosted_checkout.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This class was auto-generated from the API references found at
|
3
|
-
# https://developer.
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/data_object'
|
6
6
|
require 'ingenico/connect/sdk/domain/definitions/payment_product_filter'
|
@@ -9,7 +9,6 @@ module Ingenico::Connect::SDK
|
|
9
9
|
module Domain
|
10
10
|
module Hostedcheckout
|
11
11
|
|
12
|
-
# Class {https://developer.globalcollect.com/documentation/api/server/#schema_PaymentProductFiltersHostedCheckout PaymentProductFiltersHostedCheckout}
|
13
12
|
class PaymentProductFiltersHostedCheckout < Ingenico::Connect::SDK::DataObject
|
14
13
|
|
15
14
|
# {Ingenico::Connect::SDK::Domain::Definitions::PaymentProductFilter}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This class was auto-generated from the API references found at
|
3
|
-
# https://developer.
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/data_object'
|
6
6
|
|
@@ -8,7 +8,6 @@ module Ingenico::Connect::SDK
|
|
8
8
|
module Domain
|
9
9
|
module Payment
|
10
10
|
|
11
|
-
# Class {https://developer.globalcollect.com/documentation/api/server/#schema_AbstractPaymentMethodSpecificOutput AbstractPaymentMethodSpecificOutput}
|
12
11
|
class AbstractPaymentMethodSpecificOutput < Ingenico::Connect::SDK::DataObject
|
13
12
|
|
14
13
|
# Integer
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This class was auto-generated from the API references found at
|
3
|
-
# https://developer.
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/data_object'
|
6
6
|
require 'ingenico/connect/sdk/domain/definitions/airline_data'
|
@@ -11,7 +11,6 @@ module Ingenico::Connect::SDK
|
|
11
11
|
module Domain
|
12
12
|
module Payment
|
13
13
|
|
14
|
-
# Class {https://developer.globalcollect.com/documentation/api/server/#schema_AdditionalOrderInput AdditionalOrderInput}
|
15
14
|
class AdditionalOrderInput < Ingenico::Connect::SDK::DataObject
|
16
15
|
|
17
16
|
# {Ingenico::Connect::SDK::Domain::Definitions::AirlineData}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This class was auto-generated from the API references found at
|
3
|
-
# https://developer.
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/domain/definitions/address'
|
6
6
|
require 'ingenico/connect/sdk/domain/payment/personal_name'
|
@@ -9,7 +9,6 @@ module Ingenico::Connect::SDK
|
|
9
9
|
module Domain
|
10
10
|
module Payment
|
11
11
|
|
12
|
-
# Class {https://developer.globalcollect.com/documentation/api/server/#schema_AddressPersonal AddressPersonal}
|
13
12
|
class AddressPersonal < Ingenico::Connect::SDK::Domain::Definitions::Address
|
14
13
|
|
15
14
|
# {Ingenico::Connect::SDK::Domain::Payment::PersonalName}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This class was auto-generated from the API references found at
|
3
|
-
# https://developer.
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/data_object'
|
6
6
|
|
@@ -8,7 +8,6 @@ module Ingenico::Connect::SDK
|
|
8
8
|
module Domain
|
9
9
|
module Payment
|
10
10
|
|
11
|
-
# Class {https://developer.globalcollect.com/documentation/api/server/#schema_AmountBreakdown AmountBreakdown}
|
12
11
|
class AmountBreakdown < Ingenico::Connect::SDK::DataObject
|
13
12
|
|
14
13
|
# Integer
|
data/lib/ingenico/connect/sdk/domain/payment/approve_payment_card_payment_method_specific_output.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This class was auto-generated from the API references found at
|
3
|
-
# https://developer.
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/data_object'
|
6
6
|
|
@@ -8,7 +8,6 @@ module Ingenico::Connect::SDK
|
|
8
8
|
module Domain
|
9
9
|
module Payment
|
10
10
|
|
11
|
-
# Class {https://developer.globalcollect.com/documentation/api/server/#schema_ApprovePaymentCardPaymentMethodSpecificOutput ApprovePaymentCardPaymentMethodSpecificOutput}
|
12
11
|
class ApprovePaymentCardPaymentMethodSpecificOutput < Ingenico::Connect::SDK::DataObject
|
13
12
|
|
14
13
|
# String
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This class was auto-generated from the API references found at
|
3
|
-
# https://developer.
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/data_object'
|
6
6
|
|
@@ -8,7 +8,6 @@ module Ingenico::Connect::SDK
|
|
8
8
|
module Domain
|
9
9
|
module Payment
|
10
10
|
|
11
|
-
# Class {https://developer.globalcollect.com/documentation/api/server/#schema_ApprovePaymentMobilePaymentMethodSpecificOutput ApprovePaymentMobilePaymentMethodSpecificOutput}
|
12
11
|
class ApprovePaymentMobilePaymentMethodSpecificOutput < Ingenico::Connect::SDK::DataObject
|
13
12
|
|
14
13
|
# String
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This class was auto-generated from the API references found at
|
3
|
-
# https://developer.
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/domain/payment/approve_payment_payment_method_specific_input'
|
6
6
|
|
@@ -8,7 +8,6 @@ module Ingenico::Connect::SDK
|
|
8
8
|
module Domain
|
9
9
|
module Payment
|
10
10
|
|
11
|
-
# Class {https://developer.globalcollect.com/documentation/api/server/#schema_ApprovePaymentNonSepaDirectDebitPaymentMethodSpecificInput ApprovePaymentNonSepaDirectDebitPaymentMethodSpecificInput}
|
12
11
|
class ApprovePaymentNonSepaDirectDebitPaymentMethodSpecificInput < Ingenico::Connect::SDK::Domain::Payment::ApprovePaymentPaymentMethodSpecificInput
|
13
12
|
end
|
14
13
|
end
|
data/lib/ingenico/connect/sdk/domain/payment/approve_payment_payment_method_specific_input.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This class was auto-generated from the API references found at
|
3
|
-
# https://developer.
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/data_object'
|
6
6
|
|
@@ -8,7 +8,6 @@ module Ingenico::Connect::SDK
|
|
8
8
|
module Domain
|
9
9
|
module Payment
|
10
10
|
|
11
|
-
# Class {https://developer.globalcollect.com/documentation/api/server/#schema_ApprovePaymentPaymentMethodSpecificInput ApprovePaymentPaymentMethodSpecificInput}
|
12
11
|
class ApprovePaymentPaymentMethodSpecificInput < Ingenico::Connect::SDK::DataObject
|
13
12
|
|
14
13
|
# String
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This class was auto-generated from the API references found at
|
3
|
-
# https://developer.
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/data_object'
|
6
6
|
require 'ingenico/connect/sdk/domain/payment/approve_payment_non_sepa_direct_debit_payment_method_specific_input'
|
@@ -11,7 +11,6 @@ module Ingenico::Connect::SDK
|
|
11
11
|
module Domain
|
12
12
|
module Payment
|
13
13
|
|
14
|
-
# Class {https://developer.globalcollect.com/documentation/api/server/#schema_ApprovePaymentRequest ApprovePaymentRequest}
|
15
14
|
class ApprovePaymentRequest < Ingenico::Connect::SDK::DataObject
|
16
15
|
|
17
16
|
# Integer
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This class was auto-generated from the API references found at
|
3
|
-
# https://developer.
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/domain/payment/approve_payment_payment_method_specific_input'
|
6
6
|
|
@@ -8,7 +8,6 @@ module Ingenico::Connect::SDK
|
|
8
8
|
module Domain
|
9
9
|
module Payment
|
10
10
|
|
11
|
-
# Class {https://developer.globalcollect.com/documentation/api/server/#schema_ApprovePaymentSepaDirectDebitPaymentMethodSpecificInput ApprovePaymentSepaDirectDebitPaymentMethodSpecificInput}
|
12
11
|
class ApprovePaymentSepaDirectDebitPaymentMethodSpecificInput < Ingenico::Connect::SDK::Domain::Payment::ApprovePaymentPaymentMethodSpecificInput
|
13
12
|
end
|
14
13
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This class was auto-generated from the API references found at
|
3
|
-
# https://developer.
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/domain/payment/bank_transfer_payment_method_specific_input_base'
|
6
6
|
|
@@ -8,7 +8,6 @@ module Ingenico::Connect::SDK
|
|
8
8
|
module Domain
|
9
9
|
module Payment
|
10
10
|
|
11
|
-
# Class {https://developer.globalcollect.com/documentation/api/server/#schema_BankTransferPaymentMethodSpecificInput BankTransferPaymentMethodSpecificInput}
|
12
11
|
class BankTransferPaymentMethodSpecificInput < Ingenico::Connect::SDK::Domain::Payment::BankTransferPaymentMethodSpecificInputBase
|
13
12
|
end
|
14
13
|
end
|
data/lib/ingenico/connect/sdk/domain/payment/bank_transfer_payment_method_specific_input_base.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This class was auto-generated from the API references found at
|
3
|
-
# https://developer.
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/domain/definitions/abstract_payment_method_specific_input'
|
6
6
|
|
@@ -8,7 +8,6 @@ module Ingenico::Connect::SDK
|
|
8
8
|
module Domain
|
9
9
|
module Payment
|
10
10
|
|
11
|
-
# Class {https://developer.globalcollect.com/documentation/api/server/#schema_BankTransferPaymentMethodSpecificInputBase BankTransferPaymentMethodSpecificInputBase}
|
12
11
|
class BankTransferPaymentMethodSpecificInputBase < Ingenico::Connect::SDK::Domain::Definitions::AbstractPaymentMethodSpecificInput
|
13
12
|
|
14
13
|
# String
|
data/lib/ingenico/connect/sdk/domain/payment/bank_transfer_payment_method_specific_output.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This class was auto-generated from the API references found at
|
3
|
-
# https://developer.
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/domain/payment/abstract_payment_method_specific_output'
|
6
6
|
|
@@ -8,7 +8,6 @@ module Ingenico::Connect::SDK
|
|
8
8
|
module Domain
|
9
9
|
module Payment
|
10
10
|
|
11
|
-
# Class {https://developer.globalcollect.com/documentation/api/server/#schema_BankTransferPaymentMethodSpecificOutput BankTransferPaymentMethodSpecificOutput}
|
12
11
|
class BankTransferPaymentMethodSpecificOutput < Ingenico::Connect::SDK::Domain::Payment::AbstractPaymentMethodSpecificOutput
|
13
12
|
end
|
14
13
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This class was auto-generated from the API references found at
|
3
|
-
# https://developer.
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/data_object'
|
6
6
|
require 'ingenico/connect/sdk/domain/payment/payment'
|
@@ -9,7 +9,6 @@ module Ingenico::Connect::SDK
|
|
9
9
|
module Domain
|
10
10
|
module Payment
|
11
11
|
|
12
|
-
# Class {https://developer.globalcollect.com/documentation/api/server/#schema_CancelApprovalPaymentResponse CancelApprovalPaymentResponse}
|
13
12
|
class CancelApprovalPaymentResponse < Ingenico::Connect::SDK::DataObject
|
14
13
|
|
15
14
|
# {Ingenico::Connect::SDK::Domain::Payment::Payment}
|
data/lib/ingenico/connect/sdk/domain/payment/cancel_payment_card_payment_method_specific_output.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This class was auto-generated from the API references found at
|
3
|
-
# https://developer.
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/data_object'
|
6
6
|
|
@@ -8,7 +8,6 @@ module Ingenico::Connect::SDK
|
|
8
8
|
module Domain
|
9
9
|
module Payment
|
10
10
|
|
11
|
-
# Class {https://developer.globalcollect.com/documentation/api/server/#schema_CancelPaymentCardPaymentMethodSpecificOutput CancelPaymentCardPaymentMethodSpecificOutput}
|
12
11
|
class CancelPaymentCardPaymentMethodSpecificOutput < Ingenico::Connect::SDK::DataObject
|
13
12
|
|
14
13
|
# String
|
data/lib/ingenico/connect/sdk/domain/payment/cancel_payment_mobile_payment_method_specific_output.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This class was auto-generated from the API references found at
|
3
|
-
# https://developer.
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/data_object'
|
6
6
|
|
@@ -8,7 +8,6 @@ module Ingenico::Connect::SDK
|
|
8
8
|
module Domain
|
9
9
|
module Payment
|
10
10
|
|
11
|
-
# Class {https://developer.globalcollect.com/documentation/api/server/#schema_CancelPaymentMobilePaymentMethodSpecificOutput CancelPaymentMobilePaymentMethodSpecificOutput}
|
12
11
|
class CancelPaymentMobilePaymentMethodSpecificOutput < Ingenico::Connect::SDK::DataObject
|
13
12
|
|
14
13
|
# String
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This class was auto-generated from the API references found at
|
3
|
-
# https://developer.
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/data_object'
|
6
6
|
require 'ingenico/connect/sdk/domain/payment/cancel_payment_card_payment_method_specific_output'
|
@@ -11,7 +11,6 @@ module Ingenico::Connect::SDK
|
|
11
11
|
module Domain
|
12
12
|
module Payment
|
13
13
|
|
14
|
-
# Class {https://developer.globalcollect.com/documentation/api/server/#schema_CancelPaymentResponse CancelPaymentResponse}
|
15
14
|
class CancelPaymentResponse < Ingenico::Connect::SDK::DataObject
|
16
15
|
|
17
16
|
# {Ingenico::Connect::SDK::Domain::Payment::CancelPaymentCardPaymentMethodSpecificOutput}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
|
+
#
|
5
|
+
require 'ingenico/connect/sdk/data_object'
|
6
|
+
|
7
|
+
module Ingenico::Connect::SDK
|
8
|
+
module Domain
|
9
|
+
module Payment
|
10
|
+
|
11
|
+
class CapturePaymentRequest < Ingenico::Connect::SDK::DataObject
|
12
|
+
|
13
|
+
# Integer
|
14
|
+
attr_accessor :amount
|
15
|
+
|
16
|
+
# true/false
|
17
|
+
attr_accessor :is_final
|
18
|
+
|
19
|
+
def to_h
|
20
|
+
hash = super
|
21
|
+
add_to_hash(hash, 'amount', @amount)
|
22
|
+
add_to_hash(hash, 'isFinal', @is_final)
|
23
|
+
hash
|
24
|
+
end
|
25
|
+
|
26
|
+
def from_hash(hash)
|
27
|
+
super
|
28
|
+
if hash.has_key?('amount')
|
29
|
+
@amount = hash['amount']
|
30
|
+
end
|
31
|
+
if hash.has_key?('isFinal')
|
32
|
+
@is_final = hash['isFinal']
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|