omise-python
omise-python copied to clipboard
bug: omise.Charge schedule attribute is a callable that returns incorrect value
As per the documentation, a charge's attribute "schedule" should be an object id expandable. But calling charge.schedule() returns a list of all the charges in the account.
charge = omise.Charge.retrieve("charge_id")
len(charge.schedule()) # This returns more than 1
@jamesx00 Hey, sorry for being late. If it's still relevant, would you pease tell us what was your expected result as object id expandable
?