Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion processout/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@
from processout.token import Token
from processout.discount import Discount
from processout.event import Event
from processout.exportlayout import ExportLayout
from processout.exportlayoutconfiguration import ExportLayoutConfiguration
from processout.exportlayoutconfigurationcolumn import ExportLayoutConfigurationColumn
from processout.exportlayoutconfigurationtime import ExportLayoutConfigurationTime
from processout.exportlayoutconfigurationamount import ExportLayoutConfigurationAmount
from processout.exportlayoutconfigurationoptions import ExportLayoutConfigurationOptions
from processout.exportlayoutconfigurationconfigurationoptionstime import ExportLayoutConfigurationConfigurationOptionsTime
from processout.exportlayoutconfigurationconfigurationoptionsamount import ExportLayoutConfigurationConfigurationOptionsAmount
from processout.gateway import Gateway
from processout.gatewayconfiguration import GatewayConfiguration
from processout.invoice import Invoice
Expand Down Expand Up @@ -62,9 +70,10 @@
from processout.cardupdaterequest import CardUpdateRequest
from processout.errorcodes import ErrorCodes
from processout.categoryerrorcodes import CategoryErrorCodes
from processout.externalthreeds import ExternalThreeDS
from processout.nativeapmtransactiondetails import NativeAPMTransactionDetails
from processout.nativeapmtransactiondetailsgateway import NativeAPMTransactionDetailsGateway
from processout.nativeapmtransactiondetailsinvoice import NativeAPMTransactionDetailsInvoice
from processout.nativeapmtransactiondetails import NativeAPMTransactionDetails

from processout.gatewayrequest import GatewayRequest

Expand Down
70 changes: 64 additions & 6 deletions processout/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,58 @@ def new_event(self, prefill=None):
prefill -- Data used to prefill the object (optional)"""
return processout.Event(self, prefill)

def new_export_layout(self, prefill=None):
"""Create a new ExportLayout instance
Keyword argument:
prefill -- Data used to prefill the object (optional)"""
return processout.ExportLayout(self, prefill)

def new_export_layout_configuration(self, prefill=None):
"""Create a new ExportLayoutConfiguration instance
Keyword argument:
prefill -- Data used to prefill the object (optional)"""
return processout.ExportLayoutConfiguration(self, prefill)

def new_export_layout_configuration_column(self, prefill=None):
"""Create a new ExportLayoutConfigurationColumn instance
Keyword argument:
prefill -- Data used to prefill the object (optional)"""
return processout.ExportLayoutConfigurationColumn(self, prefill)

def new_export_layout_configuration_time(self, prefill=None):
"""Create a new ExportLayoutConfigurationTime instance
Keyword argument:
prefill -- Data used to prefill the object (optional)"""
return processout.ExportLayoutConfigurationTime(self, prefill)

def new_export_layout_configuration_amount(self, prefill=None):
"""Create a new ExportLayoutConfigurationAmount instance
Keyword argument:
prefill -- Data used to prefill the object (optional)"""
return processout.ExportLayoutConfigurationAmount(self, prefill)

def new_export_layout_configuration_options(self, prefill=None):
"""Create a new ExportLayoutConfigurationOptions instance
Keyword argument:
prefill -- Data used to prefill the object (optional)"""
return processout.ExportLayoutConfigurationOptions(self, prefill)

def new_export_layout_configuration_configuration_options_time(
self, prefill=None):
"""Create a new ExportLayoutConfigurationConfigurationOptionsTime instance
Keyword argument:
prefill -- Data used to prefill the object (optional)"""
return processout.ExportLayoutConfigurationConfigurationOptionsTime(
self, prefill)

def new_export_layout_configuration_configuration_options_amount(
self, prefill=None):
"""Create a new ExportLayoutConfigurationConfigurationOptionsAmount instance
Keyword argument:
prefill -- Data used to prefill the object (optional)"""
return processout.ExportLayoutConfigurationConfigurationOptionsAmount(
self, prefill)

def new_gateway(self, prefill=None):
"""Create a new Gateway instance
Keyword argument:
Expand Down Expand Up @@ -393,6 +445,18 @@ def new_category_error_codes(self, prefill=None):
prefill -- Data used to prefill the object (optional)"""
return processout.CategoryErrorCodes(self, prefill)

def new_external_three_ds(self, prefill=None):
"""Create a new ExternalThreeDS instance
Keyword argument:
prefill -- Data used to prefill the object (optional)"""
return processout.ExternalThreeDS(self, prefill)

def new_native_apm_transaction_details(self, prefill=None):
"""Create a new NativeAPMTransactionDetails instance
Keyword argument:
prefill -- Data used to prefill the object (optional)"""
return processout.NativeAPMTransactionDetails(self, prefill)

def new_native_apm_transaction_details_gateway(self, prefill=None):
"""Create a new NativeAPMTransactionDetailsGateway instance
Keyword argument:
Expand All @@ -404,9 +468,3 @@ def new_native_apm_transaction_details_invoice(self, prefill=None):
Keyword argument:
prefill -- Data used to prefill the object (optional)"""
return processout.NativeAPMTransactionDetailsInvoice(self, prefill)

def new_native_apm_transaction_details(self, prefill=None):
"""Create a new NativeAPMTransactionDetails instance
Keyword argument:
prefill -- Data used to prefill the object (optional)"""
return processout.NativeAPMTransactionDetails(self, prefill)
Loading