Skip to content
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

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

raysapida
Copy link
Contributor

No description provided.

- 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" }
Copy link
Contributor

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" }
Copy link
Contributor

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" }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same

Copy link
Contributor

@bcgianni bcgianni left a 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants