#!/usr/bin/env python
# -*- coding: utf-8 -*-
import json

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


class AlipayFundTransToaccountTransferResponse(AlipayResponse):

    def __init__(self):
        super(AlipayFundTransToaccountTransferResponse, self).__init__()
        self._order_id = None
        self._out_biz_no = None
        self._pay_date = None

    @property
    def order_id(self):
        return self._order_id

    @order_id.setter
    def order_id(self, value):
        self._order_id = value
    @property
    def out_biz_no(self):
        return self._out_biz_no

    @out_biz_no.setter
    def out_biz_no(self, value):
        self._out_biz_no = value
    @property
    def pay_date(self):
        return self._pay_date

    @pay_date.setter
    def pay_date(self, value):
        self._pay_date = value

    def parse_response_content(self, response_content):
        response = super(AlipayFundTransToaccountTransferResponse, self).parse_response_content(response_content)
        if 'order_id' in response:
            self.order_id = response['order_id']
        if 'out_biz_no' in response:
            self.out_biz_no = response['out_biz_no']
        if 'pay_date' in response:
            self.pay_date = response['pay_date']
