Skip to content
This repository was archived by the owner on Jul 10, 2022. It is now read-only.

Conversation

@dipteewarudkar
Copy link
Contributor

@duergner For your review

Ref : Issue #4
1)Added Address Response/Request objects for create/get/update
2)Address AddressService to fetch/create/update address in zalando
3)Added Abstract Service same as already existing (Might need some changes here)

PS : Will not merge it with master.

public abstract class Address extends Base {

@JsonProperty
private String id;
Copy link
Member

Choose a reason for hiding this comment

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

Please use empty lines between the single properties

(ü) when posting data

Adding "problem" class to get details of the exceptions

Changing the api path for adding updating cart

Passing accessToken to get customer details

Adding clientId and clientCredentials in abstractservice
@dipteewarudkar
Copy link
Contributor Author

@duergner For your review. Changes done while integration with staging zalando APis


@Override
public TokenInfo read() throws Exception {
HttpPost request = postRequest("/access_token?realm=%2Fcustomers&grant_type=client_credentials&client_id="+clientId+"&client_secret="+clientCredential);
Copy link
Member

Choose a reason for hiding this comment

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

Please use NameValuePair to create the correct body / request parameters instead of doing String concatenation

dipteewarudkar and others added 5 commits March 17, 2016 16:25
1) Changed magic numbers to HttpHeaders
2)Added authorization on checkout and order services
and adding /customers instead of encoded value
- Changing app_domain_id to sales channel.
- Linking corrrect property to shipping address id in checkout object 
- Updating the api url for checkout and order
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants