lib/chargebee/models/customer.rb in chargebee-2.5.0 vs lib/chargebee/models/customer.rb in chargebee-2.5.2
- old
+ new
@@ -54,9 +54,13 @@
def self.update_billing_info(id, params={}, env=nil, headers={})
Request.send('post', uri_path("customers",id.to_s,"update_billing_info"), params, env, headers)
end
+ def self.contacts_for_customer(id, params={}, env=nil, headers={})
+ Request.send('get', uri_path("customers",id.to_s,"contacts"), params, env, headers)
+ end
+
def self.assign_payment_role(id, params, env=nil, headers={})
Request.send('post', uri_path("customers",id.to_s,"assign_payment_role"), params, env, headers)
end
def self.add_contact(id, params, env=nil, headers={})
\ No newline at end of file