lib/revo/loans_api/client.rb in revo-loans_api-0.0.43 vs lib/revo/loans_api/client.rb in revo-loans_api-0.0.44
- old
+ new
@@ -245,9 +245,23 @@
"clients/#{client_id}/billing_shift",
params: { billing_chain: billing_chain }
)
end
+ # TEMP: method added for backward compatibility with v37
+ def confirm_billing_shift(client_id:, code:, billing_chain:)
+ make_request(
+ :post,
+ "clients/#{client_id}/billing_shift/confirmation",
+ params: { code: code, billing_chain: billing_chain }
+ )
+ end
+
+ # TEMP: method added for backward compatibility with v37
+ def send_restructuring_confirmation_code(client_id:, product:)
+ make_request(:post, "clients/#{client_id}/restructuring/#{product}")
+ end
+
def billing_shift_info(client_id:)
make_request(:get, "clients/#{client_id}/billing_shift/info")
end
def billing_shift_document(client_id:, billing_chain: nil, billing_shift_id: nil)