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

Conversation

@dipteewarudkar
Copy link
Contributor

No description provided.

@dipteewarudkar
Copy link
Contributor Author

@duergner For merging

public class Delivery extends Base {

@JsonProperty
private String earliest;
Copy link
Member

Choose a reason for hiding this comment

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

We should maybe use Date here instead of String and apply correct @JsonFormat

class.
Adding token property on Payment
Some Camel case fixes

public Address(){}

public Address(String id, String customer_number, String gender, String first_name, String last_name, String street,String additional, String zip, String city, String country_code, Boolean pack_station,Boolean default_billing, Boolean default_shipping) {
Copy link
Member

Choose a reason for hiding this comment

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

Use camel case for parameters please

(ü) 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
1) Changed magic numbers to HttpHeaders
2)Added authorization on checkout and order services
@dipteewarudkar
Copy link
Contributor Author

@duergner Please recheck .Thanks!

request.setHeader(HttpHeaders.CONTENT_TYPE,"application/x-www-form-urlencoded");

List<NameValuePair> params = new ArrayList<NameValuePair>();
params.add(new BasicNameValuePair("realm","%2Fcustomers"));
Copy link
Member

Choose a reason for hiding this comment

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

You can use / here; it will be correctly encoded on the entity

and adding /customers instead of encoded value
@dipteewarudkar
Copy link
Contributor Author

@duergner One more time review plz :)

@duergner
Copy link
Member

Looks fine - I'll merge it in later

dipteewarudkar and others added 3 commits April 5, 2016 09:51
- 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