class PlentyClient::Account::Contact::Bank
Constants
- CREATE_A_CONTACT_PAYMENT
- DELETE_A_CONTACT_PAYMENT
- FIND_A_CONTACT_PAYMENT
- LIST_A_CONTACT_PAYMENTS
- UPDATE_A_CONTACT_PAYMENT
Public Class Methods
create(body = {})
click to toggle source
# File lib/plenty_client/account/contact/bank.rb, line 25 def create(body = {}) post(CREATE_A_CONTACT_PAYMENT, body) end
destroy(contact_bank_id, body = {})
click to toggle source
# File lib/plenty_client/account/contact/bank.rb, line 33 def destroy(contact_bank_id, body = {}) delete(build_endpoint(DELETE_A_CONTACT_PAYMENT, contact_bank: contact_bank_id), body) end
find(contact_bank_id, headers = {}, &block)
click to toggle source
# File lib/plenty_client/account/contact/bank.rb, line 21 def find(contact_bank_id, headers = {}, &block) get(build_endpoint(FIND_A_CONTACT_PAYMENT, contact_bank: contact_bank_id), headers, &block) end
list(contact_id, headers = {}, &block)
click to toggle source
# File lib/plenty_client/account/contact/bank.rb, line 17 def list(contact_id, headers = {}, &block) get(build_endpoint(LIST_A_CONTACT_PAYMENTS, contact: contact_id), headers, &block) end
update(contact_bank_id, body = {})
click to toggle source
# File lib/plenty_client/account/contact/bank.rb, line 29 def update(contact_bank_id, body = {}) put(build_endpoint(UPDATE_A_CONTACT_PAYMENT, contact_bank: contact_bank_id), body) end