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

Handle order items in order resources #44

Closed
ddattee opened this issue Jun 15, 2018 · 0 comments
Closed

Handle order items in order resources #44

ddattee opened this issue Jun 15, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@ddattee
Copy link
Contributor

ddattee commented Jun 15, 2018

Order items are returned as an array in the API, I propose to map them to and OrderItemResource object.
As it would be in the direct line of futur handling order items directly in the API.
To be able to do that :

foreach($order->getItems() as $orderItem) {
    $orderItem->getId();
}
@ddattee ddattee added the enhancement New feature or request label Jun 15, 2018
@ddattee ddattee added this to the v0.4 milestone Jun 15, 2018
@ddattee ddattee self-assigned this Jun 15, 2018
@ddattee ddattee modified the milestones: v0.4, v0.3 Jun 15, 2018
ronan-gloo pushed a commit that referenced this issue Jun 28, 2018
ddattee added a commit that referenced this issue Jun 28, 2018
#44 Add order item read & link order with channel resource
ddattee pushed a commit to ddattee/php-sdk that referenced this issue Aug 1, 2018
ddattee pushed a commit to ddattee/php-sdk that referenced this issue Aug 1, 2018
ddattee pushed a commit to ddattee/php-sdk that referenced this issue Aug 1, 2018
ddattee pushed a commit to ddattee/php-sdk that referenced this issue Aug 1, 2018
@ddattee ddattee closed this as completed Aug 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant