def __init__(self, id=None, merchant_id=None, created_at=None, creator_id=None, device=None, payment_url=None, receipt_url=None, inclusive_tax_money=None, additive_tax_money=None, tax_money=None, tip_money=None, discount_money=None, total_collected_money=None, processing_fee_money=None, net_total_money=None, refunded_money=None, swedish_rounding_money=None, gross_sales_money=None, net_sales_money=None, inclusive_tax=None, additive_tax=None, tender=None, refunds=None, itemizations=None, surcharge_money=None, surcharges=None, is_partial=None):
        """
        V1Payment - a model defined in Swagger

        :param dict swaggerTypes: The key is attribute name
                                  and the value is attribute type.
        :param dict attributeMap: The key is attribute name
                                  and the value is json key in definition.
        """
        self.swagger_types = {
            'id': 'str',
            'merchant_id': 'str',
            'created_at': 'str',
            'creator_id': 'str',
            'device': 'Device',
            'payment_url': 'str',
            'receipt_url': 'str',
            'inclusive_tax_money': 'V1Money',
            'additive_tax_money': 'V1Money',
            'tax_money': 'V1Money',
            'tip_money': 'V1Money',
            'discount_money': 'V1Money',
            'total_collected_money': 'V1Money',
            'processing_fee_money': 'V1Money',
            'net_total_money': 'V1Money',
            'refunded_money': 'V1Money',
            'swedish_rounding_money': 'V1Money',
            'gross_sales_money': 'V1Money',
            'net_sales_money': 'V1Money',
            'inclusive_tax': 'list[V1PaymentTax]',
            'additive_tax': 'list[V1PaymentTax]',
            'tender': 'list[V1Tender]',
            'refunds': 'list[V1Refund]',
            'itemizations': 'list[V1PaymentItemization]',
            'surcharge_money': 'V1Money',
            'surcharges': 'list[V1PaymentSurcharge]',
            'is_partial': 'bool'
        }

        self.attribute_map = {
            'id': 'id',
            'merchant_id': 'merchant_id',
            'created_at': 'created_at',
            'creator_id': 'creator_id',
            'device': 'device',
            'payment_url': 'payment_url',
            'receipt_url': 'receipt_url',
            'inclusive_tax_money': 'inclusive_tax_money',
            'additive_tax_money': 'additive_tax_money',
            'tax_money': 'tax_money',
            'tip_money': 'tip_money',
            'discount_money': 'discount_money',
            'total_collected_money': 'total_collected_money',
            'processing_fee_money': 'processing_fee_money',
            'net_total_money': 'net_total_money',
            'refunded_money': 'refunded_money',
            'swedish_rounding_money': 'swedish_rounding_money',
            'gross_sales_money': 'gross_sales_money',
            'net_sales_money': 'net_sales_money',
            'inclusive_tax': 'inclusive_tax',
            'additive_tax': 'additive_tax',
            'tender': 'tender',
            'refunds': 'refunds',
            'itemizations': 'itemizations',
            'surcharge_money': 'surcharge_money',
            'surcharges': 'surcharges',
            'is_partial': 'is_partial'
        }

        self._id = id
        self._merchant_id = merchant_id
        self._created_at = created_at
        self._creator_id = creator_id
        self._device = device
        self._payment_url = payment_url
        self._receipt_url = receipt_url
        self._inclusive_tax_money = inclusive_tax_money
        self._additive_tax_money = additive_tax_money
        self._tax_money = tax_money
        self._tip_money = tip_money
        self._discount_money = discount_money
        self._total_collected_money = total_collected_money
        self._processing_fee_money = processing_fee_money
        self._net_total_money = net_total_money
        self._refunded_money = refunded_money
        self._swedish_rounding_money = swedish_rounding_money
        self._gross_sales_money = gross_sales_money
        self._net_sales_money = net_sales_money
        self._inclusive_tax = inclusive_tax
        self._additive_tax = additive_tax
        self._tender = tender
        self._refunds = refunds
        self._itemizations = itemizations
        self._surcharge_money = surcharge_money
        self._surcharges = surcharges
        self._is_partial = is_partial
def __init__ ( self , id = None , merchant_id = None , created_at = None , creator_id = None , device = None , payment_url = None , receipt_url = None , inclusive_tax_money = None , additive_tax_money = None , tax_money = None , tip_money = None , discount_money = None , total_collected_money = None , processing_fee_money = None , net_total_money = None , refunded_money = None , swedish_rounding_money = None , gross_sales_money = None , net_sales_money = None , inclusive_tax = None , additive_tax = None , tender = None , refunds = None , itemizations = None , surcharge_money = None , surcharges = None , is_partial = None ) : self . swagger_types = { 'id' : 'str' , 'merchant_id' : 'str' , 'created_at' : 'str' , 'creator_id' : 'str' , 'device' : 'Device' , 'payment_url' : 'str' , 'receipt_url' : 'str' , 'inclusive_tax_money' : 'V1Money' , 'additive_tax_money' : 'V1Money' , 'tax_money' : 'V1Money' , 'tip_money' : 'V1Money' , 'discount_money' : 'V1Money' , 'total_collected_money' : 'V1Money' , 'processing_fee_money' : 'V1Money' , 'net_total_money' : 'V1Money' , 'refunded_money' : 'V1Money' , 'swedish_rounding_money' : 'V1Money' , 'gross_sales_money' : 'V1Money' , 'net_sales_money' : 'V1Money' , 'inclusive_tax' : 'list[V1PaymentTax]' , 'additive_tax' : 'list[V1PaymentTax]' , 'tender' : 'list[V1Tender]' , 'refunds' : 'list[V1Refund]' , 'itemizations' : 'list[V1PaymentItemization]' , 'surcharge_money' : 'V1Money' , 'surcharges' : 'list[V1PaymentSurcharge]' , 'is_partial' : 'bool' } self . attribute_map = { 'id' : 'id' , 'merchant_id' : 'merchant_id' , 'created_at' : 'created_at' , 'creator_id' : 'creator_id' , 'device' : 'device' , 'payment_url' : 'payment_url' , 'receipt_url' : 'receipt_url' , 'inclusive_tax_money' : 'inclusive_tax_money' , 'additive_tax_money' : 'additive_tax_money' , 'tax_money' : 'tax_money' , 'tip_money' : 'tip_money' , 'discount_money' : 'discount_money' , 'total_collected_money' : 'total_collected_money' , 'processing_fee_money' : 'processing_fee_money' , 'net_total_money' : 'net_total_money' , 'refunded_money' : 'refunded_money' , 'swedish_rounding_money' : 'swedish_rounding_money' , 'gross_sales_money' : 'gross_sales_money' , 'net_sales_money' : 'net_sales_money' , 'inclusive_tax' : 'inclusive_tax' , 'additive_tax' : 'additive_tax' , 'tender' : 'tender' , 'refunds' : 'refunds' , 'itemizations' : 'itemizations' , 'surcharge_money' : 'surcharge_money' , 'surcharges' : 'surcharges' , 'is_partial' : 'is_partial' } self . _id = id self . _merchant_id = merchant_id self . _created_at = created_at self . _creator_id = creator_id self . _device = device self . _payment_url = payment_url self . _receipt_url = receipt_url self . _inclusive_tax_money = inclusive_tax_money self . _additive_tax_money = additive_tax_money self . _tax_money = tax_money self . _tip_money = tip_money self . _discount_money = discount_money self . _total_collected_money = total_collected_money self . _processing_fee_money = processing_fee_money self . _net_total_money = net_total_money self . _refunded_money = refunded_money self . _swedish_rounding_money = swedish_rounding_money self . _gross_sales_money = gross_sales_money self . _net_sales_money = net_sales_money self . _inclusive_tax = inclusive_tax self . _additive_tax = additive_tax self . _tender = tender self . _refunds = refunds self . _itemizations = itemizations self . _surcharge_money = surcharge_money self . _surcharges = surcharges self . _is_partial = is_partial
V1Payment - a model defined in Swagger

        :param dict swaggerTypes: The key is attribute name
                                  and the value is attribute type.
        :param dict attributeMap: The key is attribute name
                                  and the value is json key in definition.