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

Coupon.type to enum #182

Merged
merged 7 commits into from
Oct 23, 2018
Merged

Coupon.type to enum #182

merged 7 commits into from
Oct 23, 2018

Conversation

gionn
Copy link
Contributor

@gionn gionn commented Oct 12, 2018

No description provided.

@gionn gionn force-pushed the coupon-type-enum branch 3 times, most recently from 360f534 to ce88d26 Compare October 15, 2018 15:16
Mark old fields in Coupon as deprecated since this version
@gionn gionn requested a review from malteo October 16, 2018 14:53
@gionn gionn self-assigned this Oct 16, 2018
@Query( "product" ) Integer product, @Query( "createdAfter" ) ISO8601Date createdAfter,
@Query( "unused" ) Boolean unused, @Query( "reusable" ) boolean reusable );

// TODO parameter object
Copy link
Member

Choose a reason for hiding this comment

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

@Override
public Object put( String key, Object value )
{
if ( value == null ) return super.remove( key );
Copy link
Member

Choose a reason for hiding this comment

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

🔝

import java.text.SimpleDateFormat;
import java.util.Date;

abstract class ClientDate
Copy link
Member

Choose a reason for hiding this comment

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

DateRepresentation? AbstractDateDeserializer?

malteo
malteo previously approved these changes Oct 18, 2018
@gionn gionn requested a review from malteo October 23, 2018 09:28
@gionn gionn merged commit 1875794 into master Oct 23, 2018
@gionn gionn deleted the coupon-type-enum branch October 23, 2018 12:16
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