lib/omise/OmiseCustomer.php
public function schedules($options = array())
    {
        if ($this['object'] === 'customer') {
            if (is_array($options)) {
                $options = '?' . http_build_query($options);
            }

            return parent::g_retrieve('OmiseScheduleList', self::getUrl($this['id'] . '/schedules' . $options), $this->_publickey, $this->_secretkey);
        }
    }
public function schedules($options = array())
    {
        if ($this['object'] === 'customer') {
            if (is_array($options)) {
                $options = '?' . http_build_query($options);
            }

            return parent::g_retrieve('OmiseScheduleList', self::getUrl($this['id'] . '/schedules' . $options), $this->_publickey, $this->_secretkey);
        }
    }
public function schedules ( $ options = array ( ) ) { if ( $ this [ 'object' ] === 'customer' ) { if ( is_array ( $ options ) ) { $ options = '?' . http_build_query ( $ options ) ; } return parent :: g_retrieve ( 'OmiseScheduleList' , self :: getUrl ( $ this [ 'id' ] . '/schedules' . $ options ) , $ this -> _publickey , $ this -> _secretkey ) ; } }
Gets a list of charge schedules that belongs to a given customer.

@param  array|string $options

@return OmiseScheduleList
Gets a list of charge schedules that belongs to a given customer .