Releases: Worldline-Global-Collect/connect-sdk-python2
Releases · Worldline-Global-Collect/connect-sdk-python2
5.1.0
- Added:
- Added property
is_finalto classCaptureStatusOutput. - Added property
descriptorto classRefundReferences. - Added property
refund_reasonto classRefundRequest.
- Added property
- Removed:
- Removed property
payment_product836_specific_outputof classRedirectPaymentMethodSpecificOutput, as this property is no longer supported by the REST API.
- Removed property
5.0.0
- Added:
- Added property
capture_idto classDispute. - Added properties
amount_capture_requested,amount_captured,amount_refund_requested,amount_refundedandoperationsto classPaymentOutput. - Added property
captureto classWebhooksEvent. - Added methods
disputesanddisputeto classCapturesClient.
- Added property
- Changed:
- Added parameter
queryto methodgetof classPaymentsClient. Each call toPaymentsClient.getneeds to be changed to have a second argument that is eitherNoneor an instance of new classGetPaymentParams.
- Added parameter
4.6.0
- Added:
- Added property
payment_product866_specific_outputto classRedirectPaymentMethodSpecificOutput.
- Added property
4.5.0
- Added:
- Added property
orderto classCapturePaymentRequest. - Added properties
is_refundableandstatus_code_change_date_timeto classCaptureStatusOutput. - Added properties
product_image_urlandproduct_urlto classOrderLineDetails. - Added property
merchant_capture_referenceto classPaymentReferences. - Added property
payment_product838_specific_inputto classRedirectPaymentMethodSpecificInput. - Added property
payment_product838_specific_inputto classRedirectPaymentMethodSpecificInputBase. - Added properties
carrierandinstructionsto classShipping.
- Added property
- Removed:
- Removed properties
direct_debit_payment_method_specific_output,e_invoice_payment_method_specific_output,invoice_payment_method_specific_outputandmobile_payment_method_specific_outputof classCaptureOutput.
- Removed properties
4.4.0
- Added:
- Added properties
network_token_dataandpayment_account_referenceto classCardPaymentMethodSpecificOutput.
- Added properties
4.3.0
- Added:
- Added property
cybersource_decision_managerto classFraudResults. - Added property
reason_codesto classMicrosoftFraudResults.
- Added property
4.2.0
- Added:
- Added property
date_of_incorporationto classCompanyInformation. - Added property
payment_codeto classOrderTypeInformation.
- Added property
- Removed:
- Removed property
payment_product816_specific_inputof classRedirectPaymentMethodSpecificInput, as this property is no longer supported by the REST API.
- Removed property
4.1.0
- Added:
- Added property
network_token_usedto classCardPaymentMethodSpecificOutput. - Added property
naics_commodity_codeto classOrderLineDetails. - Added property
shipped_from_zipto classShipping.
- Added property
4.0.1
- Fixed:
- Only 409 responses with an error with code
1409will now trigger anIdempotenceException, instead of all 409 responses.
- Only 409 responses with an error with code
4.0.0
This SDK is a rebranded and updated version of the SDK that was previously published under the Ingenico name. Next to renaming to Worldline, the SDK has been restructured to better support future improvements like multiple API versions and different authentication mechanisms. You can use the migration guide to upgrade from the previous version. Previous versions and release notes of this SDK can be found here.
The following is an overview of changes:
- Added:
- Added optional
MetadataProvider,Connection,AuthenticatorandMarshallerparameters to methodscreate_communicator_from_configuration,create_communicator_from_file,create_client_from_configurationandcreate_client_from_fileof classFactory. - Added an optional
marshallerparameter to methodcreate_helperof classV1WebhooksFactory(previously classWebhooks).
- Added optional
- Changed:
- Renamed all packages, and moved classes between packages. Each API version now has its own package structure that contains all classes specific for that version, including classes like
APIError, exceptions and webhooks classes. - Made the integrator required.
- Moved method
merchantfrom classClientto new classV1Client. Instances of this class are available through methodv1of classClient. - Moved method
create_helperfrom classWebhooksto new classV1WebhooksFactory. Instances of this class are available through methodv1of classWebhooks. - Replaced properties
api_key_idandsecret_api_keyof classCommunicatorConfigurationwith more generic propertiesauthorization_idandauthorization_secret. The existing properties and constructor parameter names remain as aliases though. - Replaced parameters
api_key_idandsecret_api_keyof methods of classFactorywith more generic parametersauthorization_idandauthorization_secret. - Renamed class
GlobalCollectExceptiontoPlatformException. - Renamed method
create_simple_authentication_signatureof classAuthenticatortoget_authorization. - Renamed class
DefaultAuthenticatortoV1HMACAuthenticator. - Renamed class
MetaDataProviderand itsmeta_data_headersproperty toMetadataProviderandmetadata_headersrespectively. - Renamed method
INSTANCEof classesDefaultMarshaller,SysOutCommunicatorLoggerandInMemorySecretKeyStoretoinstance. - Class
Connectionnow extends classObfuscationCapable. - Integrated class
Sessioninto classCommunicator. - Abstract classes and methods are now marked as such. It is an error to not implement abstract methods.
- Made methods
_get_header_date_stringand_update_contextof classCommunicatorstatic. - Made method
to_canonicalize_header_valueof classV1HMACAuthenticatorstatic. - Made method
empty_if_noneof classLogMessagestatic. - Changed the arguments of the
ApiResource,SecretKeyNotAvailableExceptionandSignatureValidationExceptionconstructors to named arguments, to make it clear what each argument means.ApiResource's communicator/parent parameter, which was combined before, has also been split into separate parameters. - Classes that didn't before now also extend
object, turning them into new-style classes.
- Renamed all packages, and moved classes between packages. Each API version now has its own package structure that contains all classes specific for that version, including classes like
- Removed:
- Removed method
API_VERSIONof classClient. - Removed method
_create_exceptionof classApiResourcein favor of separatecreate_exceptionfunctions per API version. - Removed class
Session. - Removed methods
create_session_from_configuration,create_session_from_file,create_communicator_from_sessionandcreate_client_from_sessionof classFactory. - Removed parameter
authorization_typefrom theV1HMACAuthenticatorconstructor, as its value should always bev1HMAC. - Removed method
_validateof classWebhooksHelper. - Removed class
EndpointConfiguration. Its properties have been merged into its only sub classCommunicatorConfiguration. - Removed previously deprecated class
LoggingUtil. - Removed previously deprecated method
are_equal_signaturesof classWebhooksHelper. - Removed class
WebhooksHelperBuilderand methodWebhooks.create_helper_builder.
- Removed method