Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
alipay-sdk-python / alipay / aop / api / response / AlipayAssetVoucherprodChargeSendResponse.py
Size: Mime:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import json

from alipay.aop.api.response.AlipayResponse import AlipayResponse


class AlipayAssetVoucherprodChargeSendResponse(AlipayResponse):

    def __init__(self):
        super(AlipayAssetVoucherprodChargeSendResponse, self).__init__()
        self._asset_instance_id = None
        self._order_no = None

    @property
    def asset_instance_id(self):
        return self._asset_instance_id

    @asset_instance_id.setter
    def asset_instance_id(self, value):
        self._asset_instance_id = value
    @property
    def order_no(self):
        return self._order_no

    @order_no.setter
    def order_no(self, value):
        self._order_no = value

    def parse_response_content(self, response_content):
        response = super(AlipayAssetVoucherprodChargeSendResponse, self).parse_response_content(response_content)
        if 'asset_instance_id' in response:
            self.asset_instance_id = response['asset_instance_id']
        if 'order_no' in response:
            self.order_no = response['order_no']