-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/keys and relationships #83
base: develop
Are you sure you want to change the base?
Conversation
- The controller of get_orders is changing the customer field after its processed so the rename doesn't conflict. - The email for the customer was queried for there since the `Processor` module does not have access the service objects
status: determine_status | ||
status: determine_status, | ||
relationships: [ | ||
{ object: "customer", key: "id" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is better to use system specific ids, like qbo_id, and if not present add it in the payload.
parent_ref_id: item.parent_ref, | ||
vendor: build_ref(item.pref_vendor_ref), | ||
relationships: [ | ||
{ object: "vendor", key: "id" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same comment above.
billing_address: Processor::Address.new(sales_receipt.bill_address).as_flowlink_hash, | ||
customer_object: build_ref(sales_receipt.customer_ref), | ||
relationships: [ | ||
{ object: "customer_object", key: "id" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is better to use system specific ids
No description provided.