Closed ponnuchamy51 closed 5 years ago
You should be setting that method on the model, not the service object.
So instead of:
invoice = Quickbooks::Service::Invoice.new
invoice.allow_online_ach_payment? = true
Try this:
invoice = Quickbooks::Model::Invoice.new
invoice.allow_online_ach_payment = true # notice the writer does not have '?'
Unable to create invoice with allow_online_ach_payment this option. For this i am getting syntax error while using
invoice.allow_online_ach_payment? = true
i am using 389 branch
syntax error, unexpected '='
For THIS invoice = Quickbooks::Service::Invoice.new invoice.allow_online_ach_payment? = true