Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

+ April 2021 SDK Release #68

Merged
merged 3 commits into from
Apr 28, 2021
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
16 changes: 8 additions & 8 deletions CyberSource/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@
from .models.patch_instrument_identifier_request import PatchInstrumentIdentifierRequest
from .models.patch_payment_instrument_request import PatchPaymentInstrumentRequest
from .models.payer_auth_setup_request import PayerAuthSetupRequest
from .models.payment_instrument_list_for_customer import PaymentInstrumentListForCustomer
from .models.payment_instrument_list_for_customer__embedded import PaymentInstrumentListForCustomerEmbedded
from .models.payment_instrument_list_for_customer__links import PaymentInstrumentListForCustomerLinks
from .models.payment_instrument_list_for_customer__links_first import PaymentInstrumentListForCustomerLinksFirst
from .models.payment_instrument_list_for_customer__links_last import PaymentInstrumentListForCustomerLinksLast
from .models.payment_instrument_list_for_customer__links_next import PaymentInstrumentListForCustomerLinksNext
from .models.payment_instrument_list_for_customer__links_prev import PaymentInstrumentListForCustomerLinksPrev
from .models.payment_instrument_list_for_customer__links_self import PaymentInstrumentListForCustomerLinksSelf
from .models.payment_instrument_list import PaymentInstrumentList
from .models.payment_instrument_list__embedded import PaymentInstrumentListEmbedded
from .models.payment_instrument_list__links import PaymentInstrumentListLinks
from .models.payment_instrument_list__links_first import PaymentInstrumentListLinksFirst
from .models.payment_instrument_list__links_last import PaymentInstrumentListLinksLast
from .models.payment_instrument_list__links_next import PaymentInstrumentListLinksNext
from .models.payment_instrument_list__links_prev import PaymentInstrumentListLinksPrev
from .models.payment_instrument_list__links_self import PaymentInstrumentListLinksSelf
from .models.post_customer_payment_instrument_request import PostCustomerPaymentInstrumentRequest
from .models.post_customer_request import PostCustomerRequest
from .models.post_customer_shipping_address_request import PostCustomerShippingAddressRequest
Expand Down
6 changes: 3 additions & 3 deletions CyberSource/apis/customer_payment_instrument_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ def get_customer_payment_instruments_list(self, customer_token_id, **kwargs):
:param str profile_id: The id of a profile containing user specific TMS configuration.
:param int offset: Starting record in zero-based dataset that should be returned as the first object in the array. Default is 0.
:param int limit: The maximum number that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100.
:return: PaymentInstrumentListForCustomer
:return: PaymentInstrumentList
If the method is called asynchronously,
returns the request thread.
"""
Expand Down Expand Up @@ -341,7 +341,7 @@ def get_customer_payment_instruments_list_with_http_info(self, customer_token_id
:param str profile_id: The id of a profile containing user specific TMS configuration.
:param int offset: Starting record in zero-based dataset that should be returned as the first object in the array. Default is 0.
:param int limit: The maximum number that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100.
:return: PaymentInstrumentListForCustomer
:return: PaymentInstrumentList
If the method is called asynchronously,
returns the request thread.
"""
Expand Down Expand Up @@ -418,7 +418,7 @@ def get_customer_payment_instruments_list_with_http_info(self, customer_token_id
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='PaymentInstrumentListForCustomer',
response_type='PaymentInstrumentList',
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'),
Expand Down
6 changes: 3 additions & 3 deletions CyberSource/apis/instrument_identifier_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def get_instrument_identifier_payment_instruments_list(self, instrument_identifi
:param str profile_id: The id of a profile containing user specific TMS configuration.
:param int offset: Starting record in zero-based dataset that should be returned as the first object in the array. Default is 0.
:param int limit: The maximum number that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100.
:return: PaymentInstrumentListForCustomer
:return: PaymentInstrumentList
If the method is called asynchronously,
returns the request thread.
"""
Expand Down Expand Up @@ -319,7 +319,7 @@ def get_instrument_identifier_payment_instruments_list_with_http_info(self, inst
:param str profile_id: The id of a profile containing user specific TMS configuration.
:param int offset: Starting record in zero-based dataset that should be returned as the first object in the array. Default is 0.
:param int limit: The maximum number that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100.
:return: PaymentInstrumentListForCustomer
:return: PaymentInstrumentList
If the method is called asynchronously,
returns the request thread.
"""
Expand Down Expand Up @@ -396,7 +396,7 @@ def get_instrument_identifier_payment_instruments_list_with_http_info(self, inst
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='PaymentInstrumentListForCustomer',
response_type='PaymentInstrumentList',
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'),
Expand Down
16 changes: 8 additions & 8 deletions CyberSource/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@
from .patch_instrument_identifier_request import PatchInstrumentIdentifierRequest
from .patch_payment_instrument_request import PatchPaymentInstrumentRequest
from .payer_auth_setup_request import PayerAuthSetupRequest
from .payment_instrument_list_for_customer import PaymentInstrumentListForCustomer
from .payment_instrument_list_for_customer__embedded import PaymentInstrumentListForCustomerEmbedded
from .payment_instrument_list_for_customer__links import PaymentInstrumentListForCustomerLinks
from .payment_instrument_list_for_customer__links_first import PaymentInstrumentListForCustomerLinksFirst
from .payment_instrument_list_for_customer__links_last import PaymentInstrumentListForCustomerLinksLast
from .payment_instrument_list_for_customer__links_next import PaymentInstrumentListForCustomerLinksNext
from .payment_instrument_list_for_customer__links_prev import PaymentInstrumentListForCustomerLinksPrev
from .payment_instrument_list_for_customer__links_self import PaymentInstrumentListForCustomerLinksSelf
from .payment_instrument_list import PaymentInstrumentList
from .payment_instrument_list__embedded import PaymentInstrumentListEmbedded
from .payment_instrument_list__links import PaymentInstrumentListLinks
from .payment_instrument_list__links_first import PaymentInstrumentListLinksFirst
from .payment_instrument_list__links_last import PaymentInstrumentListLinksLast
from .payment_instrument_list__links_next import PaymentInstrumentListLinksNext
from .payment_instrument_list__links_prev import PaymentInstrumentListLinksPrev
from .payment_instrument_list__links_self import PaymentInstrumentListLinksSelf
from .post_customer_payment_instrument_request import PostCustomerPaymentInstrumentRequest
from .post_customer_request import PostCustomerRequest
from .post_customer_shipping_address_request import PostCustomerShippingAddressRequest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import re


class PaymentInstrumentListForCustomer(object):
class PaymentInstrumentList(object):
"""
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
Expand All @@ -31,12 +31,12 @@ class PaymentInstrumentListForCustomer(object):
and the value is json key in definition.
"""
swagger_types = {
'links': 'PaymentInstrumentListForCustomerLinks',
'links': 'PaymentInstrumentListLinks',
'offset': 'int',
'limit': 'int',
'count': 'int',
'total': 'int',
'embedded': 'PaymentInstrumentListForCustomerEmbedded'
'embedded': 'PaymentInstrumentListEmbedded'
}

attribute_map = {
Expand All @@ -50,7 +50,7 @@ class PaymentInstrumentListForCustomer(object):

def __init__(self, links=None, offset=None, limit=None, count=None, total=None, embedded=None):
"""
PaymentInstrumentListForCustomer - a model defined in Swagger
PaymentInstrumentList - a model defined in Swagger
"""

self._links = None
Expand All @@ -76,42 +76,42 @@ def __init__(self, links=None, offset=None, limit=None, count=None, total=None,
@property
def links(self):
"""
Gets the links of this PaymentInstrumentListForCustomer.
Gets the links of this PaymentInstrumentList.

:return: The links of this PaymentInstrumentListForCustomer.
:rtype: PaymentInstrumentListForCustomerLinks
:return: The links of this PaymentInstrumentList.
:rtype: PaymentInstrumentListLinks
"""
return self._links

@links.setter
def links(self, links):
"""
Sets the links of this PaymentInstrumentListForCustomer.
Sets the links of this PaymentInstrumentList.

:param links: The links of this PaymentInstrumentListForCustomer.
:type: PaymentInstrumentListForCustomerLinks
:param links: The links of this PaymentInstrumentList.
:type: PaymentInstrumentListLinks
"""

self._links = links

@property
def offset(self):
"""
Gets the offset of this PaymentInstrumentListForCustomer.
Gets the offset of this PaymentInstrumentList.
The offset parameter supplied in the request.

:return: The offset of this PaymentInstrumentListForCustomer.
:return: The offset of this PaymentInstrumentList.
:rtype: int
"""
return self._offset

@offset.setter
def offset(self, offset):
"""
Sets the offset of this PaymentInstrumentListForCustomer.
Sets the offset of this PaymentInstrumentList.
The offset parameter supplied in the request.

:param offset: The offset of this PaymentInstrumentListForCustomer.
:param offset: The offset of this PaymentInstrumentList.
:type: int
"""

Expand All @@ -120,21 +120,21 @@ def offset(self, offset):
@property
def limit(self):
"""
Gets the limit of this PaymentInstrumentListForCustomer.
Gets the limit of this PaymentInstrumentList.
The limit parameter supplied in the request.

:return: The limit of this PaymentInstrumentListForCustomer.
:return: The limit of this PaymentInstrumentList.
:rtype: int
"""
return self._limit

@limit.setter
def limit(self, limit):
"""
Sets the limit of this PaymentInstrumentListForCustomer.
Sets the limit of this PaymentInstrumentList.
The limit parameter supplied in the request.

:param limit: The limit of this PaymentInstrumentListForCustomer.
:param limit: The limit of this PaymentInstrumentList.
:type: int
"""

Expand All @@ -143,21 +143,21 @@ def limit(self, limit):
@property
def count(self):
"""
Gets the count of this PaymentInstrumentListForCustomer.
Gets the count of this PaymentInstrumentList.
The number of Payment Instruments returned in the array.

:return: The count of this PaymentInstrumentListForCustomer.
:return: The count of this PaymentInstrumentList.
:rtype: int
"""
return self._count

@count.setter
def count(self, count):
"""
Sets the count of this PaymentInstrumentListForCustomer.
Sets the count of this PaymentInstrumentList.
The number of Payment Instruments returned in the array.

:param count: The count of this PaymentInstrumentListForCustomer.
:param count: The count of this PaymentInstrumentList.
:type: int
"""

Expand All @@ -166,21 +166,21 @@ def count(self, count):
@property
def total(self):
"""
Gets the total of this PaymentInstrumentListForCustomer.
Gets the total of this PaymentInstrumentList.
The total number of Payment Instruments associated with the Customer or Instrument Identifier.

:return: The total of this PaymentInstrumentListForCustomer.
:return: The total of this PaymentInstrumentList.
:rtype: int
"""
return self._total

@total.setter
def total(self, total):
"""
Sets the total of this PaymentInstrumentListForCustomer.
Sets the total of this PaymentInstrumentList.
The total number of Payment Instruments associated with the Customer or Instrument Identifier.

:param total: The total of this PaymentInstrumentListForCustomer.
:param total: The total of this PaymentInstrumentList.
:type: int
"""

Expand All @@ -189,20 +189,20 @@ def total(self, total):
@property
def embedded(self):
"""
Gets the embedded of this PaymentInstrumentListForCustomer.
Gets the embedded of this PaymentInstrumentList.

:return: The embedded of this PaymentInstrumentListForCustomer.
:rtype: PaymentInstrumentListForCustomerEmbedded
:return: The embedded of this PaymentInstrumentList.
:rtype: PaymentInstrumentListEmbedded
"""
return self._embedded

@embedded.setter
def embedded(self, embedded):
"""
Sets the embedded of this PaymentInstrumentListForCustomer.
Sets the embedded of this PaymentInstrumentList.

:param embedded: The embedded of this PaymentInstrumentListForCustomer.
:type: PaymentInstrumentListForCustomerEmbedded
:param embedded: The embedded of this PaymentInstrumentList.
:type: PaymentInstrumentListEmbedded
"""

self._embedded = embedded
Expand Down Expand Up @@ -249,7 +249,7 @@ def __eq__(self, other):
"""
Returns true if both objects are equal
"""
if not isinstance(other, PaymentInstrumentListForCustomer):
if not isinstance(other, PaymentInstrumentList):
return False

return self.__dict__ == other.__dict__
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import re


class PaymentInstrumentListForCustomerEmbedded(object):
class PaymentInstrumentListEmbedded(object):
"""
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
Expand All @@ -40,7 +40,7 @@ class PaymentInstrumentListForCustomerEmbedded(object):

def __init__(self, payment_instruments=None):
"""
PaymentInstrumentListForCustomerEmbedded - a model defined in Swagger
PaymentInstrumentListEmbedded - a model defined in Swagger
"""

self._payment_instruments = None
Expand All @@ -51,19 +51,19 @@ def __init__(self, payment_instruments=None):
@property
def payment_instruments(self):
"""
Gets the payment_instruments of this PaymentInstrumentListForCustomerEmbedded.
Gets the payment_instruments of this PaymentInstrumentListEmbedded.

:return: The payment_instruments of this PaymentInstrumentListForCustomerEmbedded.
:return: The payment_instruments of this PaymentInstrumentListEmbedded.
:rtype: list[Tmsv2customersEmbeddedDefaultPaymentInstrument]
"""
return self._payment_instruments

@payment_instruments.setter
def payment_instruments(self, payment_instruments):
"""
Sets the payment_instruments of this PaymentInstrumentListForCustomerEmbedded.
Sets the payment_instruments of this PaymentInstrumentListEmbedded.

:param payment_instruments: The payment_instruments of this PaymentInstrumentListForCustomerEmbedded.
:param payment_instruments: The payment_instruments of this PaymentInstrumentListEmbedded.
:type: list[Tmsv2customersEmbeddedDefaultPaymentInstrument]
"""

Expand Down Expand Up @@ -111,7 +111,7 @@ def __eq__(self, other):
"""
Returns true if both objects are equal
"""
if not isinstance(other, PaymentInstrumentListForCustomerEmbedded):
if not isinstance(other, PaymentInstrumentListEmbedded):
return False

return self.__dict__ == other.__dict__
Expand Down
Loading