Module: PCPServerSDK

Defined in:
lib/PCP-server-Ruby-SDK/models/order.rb,
lib/PCP-server-Ruby-SDK.rb,
lib/PCP-server-Ruby-SDK/version.rb,
lib/PCP-server-Ruby-SDK/models/address.rb,
lib/PCP-server-Ruby-SDK/models/network.rb,
lib/PCP-server-Ruby-SDK/models/customer.rb,
lib/PCP-server-Ruby-SDK/models/shipping.rb,
lib/PCP-server-Ruby-SDK/models/api_error.rb,
lib/PCP-server-Ruby-SDK/models/card_info.rb,
lib/PCP-server-Ruby-SDK/models/order_item.rb,
lib/PCP-server-Ruby-SDK/models/order_type.rb,
lib/PCP-server-Ruby-SDK/models/references.rb,
lib/PCP-server-Ruby-SDK/models/cancel_item.rb,
lib/PCP-server-Ruby-SDK/models/cancel_type.rb,
lib/PCP-server-Ruby-SDK/models/return_item.rb,
lib/PCP-server-Ruby-SDK/models/return_type.rb,
lib/PCP-server-Ruby-SDK/models/deliver_item.rb,
lib/PCP-server-Ruby-SDK/models/deliver_type.rb,
lib/PCP-server-Ruby-SDK/models/payment_type.rb,
lib/PCP-server-Ruby-SDK/models/product_type.rb,
lib/PCP-server-Ruby-SDK/models/status_value.rb,
lib/PCP-server-Ruby-SDK/errors/api_exception.rb,
lib/PCP-server-Ruby-SDK/models/order_request.rb,
lib/PCP-server-Ruby-SDK/models/payment_event.rb,
lib/PCP-server-Ruby-SDK/models/payout_output.rb,
lib/PCP-server-Ruby-SDK/models/personal_name.rb,
lib/PCP-server-Ruby-SDK/models/redirect_data.rb,
lib/PCP-server-Ruby-SDK/models/refund_output.rb,
lib/PCP-server-Ruby-SDK/models/status_output.rb,
lib/PCP-server-Ruby-SDK/models/cancel_request.rb,
lib/PCP-server-Ruby-SDK/models/capture_output.rb,
lib/PCP-server-Ruby-SDK/models/error_response.rb,
lib/PCP-server-Ruby-SDK/models/order_response.rb,
lib/PCP-server-Ruby-SDK/models/payment_output.rb,
lib/PCP-server-Ruby-SDK/models/refund_request.rb,
lib/PCP-server-Ruby-SDK/models/amount_of_money.rb,
lib/PCP-server-Ruby-SDK/models/cancel_response.rb,
lib/PCP-server-Ruby-SDK/models/cart_item_input.rb,
lib/PCP-server-Ruby-SDK/models/cart_item_patch.rb,
lib/PCP-server-Ruby-SDK/models/contact_details.rb,
lib/PCP-server-Ruby-SDK/models/customer_device.rb,
lib/PCP-server-Ruby-SDK/models/deliver_request.rb,
lib/PCP-server-Ruby-SDK/models/merchant_action.rb,
lib/PCP-server-Ruby-SDK/models/payment_channel.rb,
lib/PCP-server-Ruby-SDK/models/payout_response.rb,
lib/PCP-server-Ruby-SDK/models/return_response.rb,
lib/PCP-server-Ruby-SDK/models/status_checkout.rb,
lib/PCP-server-Ruby-SDK/utils/server_meta_info.rb,
lib/PCP-server-Ruby-SDK/models/address_personal.rb,
lib/PCP-server-Ruby-SDK/models/cart_item_result.rb,
lib/PCP-server-Ruby-SDK/models/cart_item_status.rb,
lib/PCP-server-Ruby-SDK/models/deliver_response.rb,
lib/PCP-server-Ruby-SDK/models/link_information.rb,
lib/PCP-server-Ruby-SDK/models/payment_response.rb,
lib/PCP-server-Ruby-SDK/models/redirection_data.rb,
lib/PCP-server-Ruby-SDK/models/checkout_response.rb,
lib/PCP-server-Ruby-SDK/models/payment_execution.rb,
lib/PCP-server-Ruby-SDK/request_header_generator.rb,
lib/PCP-server-Ruby-SDK/endpoints/base_api_client.rb,
lib/PCP-server-Ruby-SDK/models/authorization_mode.rb,
lib/PCP-server-Ruby-SDK/models/card_fraud_results.rb,
lib/PCP-server-Ruby-SDK/models/checkouts_response.rb,
lib/PCP-server-Ruby-SDK/models/installment_option.rb,
lib/PCP-server-Ruby-SDK/models/payment_references.rb,
lib/PCP-server-Ruby-SDK/models/return_information.rb,
lib/PCP-server-Ruby-SDK/communicator_configuration.rb,
lib/PCP-server-Ruby-SDK/models/cancellation_reason.rb,
lib/PCP-server-Ruby-SDK/models/checkout_references.rb,
lib/PCP-server-Ruby-SDK/models/company_information.rb,
lib/PCP-server-Ruby-SDK/models/shopping_cart_input.rb,
lib/PCP-server-Ruby-SDK/models/shopping_cart_patch.rb,
lib/PCP-server-Ruby-SDK/models/transaction_channel.rb,
lib/PCP-server-Ruby-SDK/models/card_payment_details.rb,
lib/PCP-server-Ruby-SDK/models/delivery_information.rb,
lib/PCP-server-Ruby-SDK/models/personal_information.rb,
lib/PCP-server-Ruby-SDK/models/shopping_cart_result.rb,
lib/PCP-server-Ruby-SDK/queries/get_checkouts_query.rb,
lib/PCP-server-Ruby-SDK/models/payment_status_output.rb,
lib/PCP-server-Ruby-SDK/models/refund_error_response.rb,
lib/PCP-server-Ruby-SDK/models/status_category_value.rb,
lib/PCP-server-Ruby-SDK/endpoints/checkout_api_client.rb,
lib/PCP-server-Ruby-SDK/models/cancel_payment_request.rb,
lib/PCP-server-Ruby-SDK/models/cart_item_invoice_data.rb,
lib/PCP-server-Ruby-SDK/models/cart_item_order_status.rb,
lib/PCP-server-Ruby-SDK/models/commerce_case_response.rb,
lib/PCP-server-Ruby-SDK/models/patch_checkout_request.rb,
lib/PCP-server-Ruby-SDK/models/three_d_secure_results.rb,
lib/PCP-server-Ruby-SDK/models/allowed_payment_actions.rb,
lib/PCP-server-Ruby-SDK/models/cancel_payment_response.rb,
lib/PCP-server-Ruby-SDK/models/capture_payment_request.rb,
lib/PCP-server-Ruby-SDK/models/card_recurrence_details.rb,
lib/PCP-server-Ruby-SDK/models/create_checkout_request.rb,
lib/PCP-server-Ruby-SDK/models/create_payment_response.rb,
lib/PCP-server-Ruby-SDK/models/mandate_recurrence_type.rb,
lib/PCP-server-Ruby-SDK/models/payment_creation_output.rb,
lib/PCP-server-Ruby-SDK/models/refund_payment_response.rb,
lib/PCP-server-Ruby-SDK/models/bank_account_information.rb,
lib/PCP-server-Ruby-SDK/models/capture_payment_response.rb,
lib/PCP-server-Ruby-SDK/models/complete_payment_request.rb,
lib/PCP-server-Ruby-SDK/models/create_checkout_response.rb,
lib/PCP-server-Ruby-SDK/models/extended_checkout_status.rb,
lib/PCP-server-Ruby-SDK/models/order_line_details_input.rb,
lib/PCP-server-Ruby-SDK/models/order_line_details_patch.rb,
lib/PCP-server-Ruby-SDK/models/positive_amount_of_money.rb,
lib/PCP-server-Ruby-SDK/models/complete_payment_response.rb,
lib/PCP-server-Ruby-SDK/models/order_line_details_result.rb,
lib/PCP-server-Ruby-SDK/models/payment_execution_request.rb,
lib/PCP-server-Ruby-SDK/queries/get_commerce_cases_query.rb,
lib/PCP-server-Ruby-SDK/models/applepay/apple_pay_payment.rb,
lib/PCP-server-Ruby-SDK/transformer/apple_pay_transformer.rb,
lib/PCP-server-Ruby-SDK/endpoints/commerce_case_api_client.rb,
lib/PCP-server-Ruby-SDK/models/apple_payment_token_version.rb,
lib/PCP-server-Ruby-SDK/models/patch_commerce_case_request.rb,
lib/PCP-server-Ruby-SDK/models/payment_information_request.rb,
lib/PCP-server-Ruby-SDK/errors/api_error_response_exception.rb,
lib/PCP-server-Ruby-SDK/models/create_commerce_case_request.rb,
lib/PCP-server-Ruby-SDK/models/payment_information_response.rb,
lib/PCP-server-Ruby-SDK/models/create_commerce_case_response.rb,
lib/PCP-server-Ruby-SDK/models/payment_method_specific_input.rb,
lib/PCP-server-Ruby-SDK/models/processing_mandate_information.rb,
lib/PCP-server-Ruby-SDK/endpoints/payment_execution_api_client.rb,
lib/PCP-server-Ruby-SDK/models/applepay/apple_pay_payment_data.rb,
lib/PCP-server-Ruby-SDK/errors/api_response_retrieval_exception.rb,
lib/PCP-server-Ruby-SDK/models/applepay/apple_pay_payment_token.rb,
lib/PCP-server-Ruby-SDK/models/payment_execution_specific_input.rb,
lib/PCP-server-Ruby-SDK/endpoints/payment_information_api_client.rb,
lib/PCP-server-Ruby-SDK/models/applepay/apple_pay_payment_method.rb,
lib/PCP-server-Ruby-SDK/models/payment_product320_specific_input.rb,
lib/PCP-server-Ruby-SDK/models/applepay/apple_pay_payment_contact.rb,
lib/PCP-server-Ruby-SDK/models/card_payment_method_specific_input.rb,
lib/PCP-server-Ruby-SDK/models/payment_product3391_specific_input.rb,
lib/PCP-server-Ruby-SDK/models/payment_product3392_specific_input.rb,
lib/PCP-server-Ruby-SDK/models/payment_product771_specific_output.rb,
lib/PCP-server-Ruby-SDK/models/payment_product840_specific_output.rb,
lib/PCP-server-Ruby-SDK/models/unscheduled_card_on_file_requestor.rb,
lib/PCP-server-Ruby-SDK/models/card_payment_method_specific_output.rb,
lib/PCP-server-Ruby-SDK/models/payment_product3391_specific_output.rb,
lib/PCP-server-Ruby-SDK/models/payment_product840_customer_account.rb,
lib/PCP-server-Ruby-SDK/models/apple_payment_data_token_information.rb,
lib/PCP-server-Ruby-SDK/models/mobile_payment_method_specific_input.rb,
lib/PCP-server-Ruby-SDK/models/mobile_payment_method_specific_output.rb,
lib/PCP-server-Ruby-SDK/models/applepay/apple_pay_payment_data_header.rb,
lib/PCP-server-Ruby-SDK/models/applepay/apple_pay_payment_method_type.rb,
lib/PCP-server-Ruby-SDK/models/complete_payment_method_specific_input.rb,
lib/PCP-server-Ruby-SDK/models/redirect_payment_method_specific_input.rb,
lib/PCP-server-Ruby-SDK/models/financing_payment_method_specific_input.rb,
lib/PCP-server-Ruby-SDK/models/redirect_payment_method_specific_output.rb,
lib/PCP-server-Ruby-SDK/models/financing_payment_method_specific_output.rb,
lib/PCP-server-Ruby-SDK/models/redirect_payment_product840_specific_input.rb,
lib/PCP-server-Ruby-SDK/models/apple_payment_data_token_header_information.rb,
lib/PCP-server-Ruby-SDK/models/unscheduled_card_on_file_sequence_indicator.rb,
lib/PCP-server-Ruby-SDK/endpoints/order_management_checkout_actions_api_client.rb,
lib/PCP-server-Ruby-SDK/models/sepa_direct_debit_payment_method_specific_input.rb,
lib/PCP-server-Ruby-SDK/models/complete_financing_payment_method_specific_input.rb,
lib/PCP-server-Ruby-SDK/models/sepa_direct_debit_payment_method_specific_output.rb,
lib/PCP-server-Ruby-SDK/models/sepa_direct_debit_payment_product771_specific_input.rb

Overview

Object containing information specific to SEPA Direct Debit

Defined Under Namespace

Modules: Endpoints, Errors, Models, Queries, Transformer, Utils Classes: CommunicatorConfiguration, RequestHeaderGenerator

Constant Summary collapse

VERSION =
'1.0.0'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

PCPServerSDK.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



169
170
171
172
173
174
175
# File 'lib/PCP-server-Ruby-SDK.rb', line 169

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end