#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class AlipayFundBatchCreateResponse(AlipayResponse): def __init__(self): super(AlipayFundBatchCreateResponse, self).__init__() self._batch_trans_id = None self._out_batch_no = None self._status = None @property def batch_trans_id(self): return self._batch_trans_id @batch_trans_id.setter def batch_trans_id(self, value): self._batch_trans_id = value @property def out_batch_no(self): return self._out_batch_no @out_batch_no.setter def out_batch_no(self, value): self._out_batch_no = value @property def status(self): return self._status @status.setter def status(self, value): self._status = value def parse_response_content(self, response_content): response = super(AlipayFundBatchCreateResponse, self).parse_response_content(response_content) if 'batch_trans_id' in response: self.batch_trans_id = response['batch_trans_id'] if 'out_batch_no' in response: self.out_batch_no = response['out_batch_no'] if 'status' in response: self.status = response['status']