// Path: src/main/java/com/storakle/shopify/jackson/FlexDateDeserializer.java
// public final class FlexDateDeserializer extends JsonDeserializer<Date>
// {
// 
//     @Override
//     public Date deserialize(final JsonParser parser, final DeserializationContext context) throws IOException
//     {
//         SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssX");
// 
//         final String date = parser.getText();
//         try
//         {
//             return formatter.parse(date);
//         }
//         catch (final ParseException ex)
//         {
//             // Not worked, so let the default date serializer give it a try.
//             return DateDeserializer.instance.deserialize(parser, context);
//         }
//     }
// }
// 
// Path: src/main/java/com/storakle/shopify/jackson/FlexDateSerializer.java
// public final class FlexDateSerializer extends JsonSerializer<Date>
// {
// 
//     @Override
//     public void serialize(final Date value, final JsonGenerator gen, final SerializerProvider arg2) throws IOException
//     {
//         SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssX");
//         gen.writeString(formatter.format(value));
//     }
// }


import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.storakle.shopify.jackson.FlexDateDeserializer;
import com.storakle.shopify.jackson.FlexDateSerializer;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
package com.storakle.shopify.domain;



@Data
public class Order
{
    @JsonProperty(value = JsonConstants.ID)
    private long id;

    @JsonProperty(value = JsonConstants.NAME)
    private String name;

    @JsonProperty(value = JsonConstants.TOTAL_PRICE)
// Path: src/main/java/com/storakle/shopify/jackson/FlexDateDeserializer.java
// public final class FlexDateDeserializer extends JsonDeserializer<Date>
// {
// 
//     @Override
//     public Date deserialize(final JsonParser parser, final DeserializationContext context) throws IOException
//     {
//         SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssX");
// 
//         final String date = parser.getText();
//         try
//         {
//             return formatter.parse(date);
//         }
//         catch (final ParseException ex)
//         {
//             // Not worked, so let the default date serializer give it a try.
//             return DateDeserializer.instance.deserialize(parser, context);
//         }
//     }
// }
// 
// Path: src/main/java/com/storakle/shopify/jackson/FlexDateSerializer.java
// public final class FlexDateSerializer extends JsonSerializer<Date>
// {
// 
//     @Override
//     public void serialize(final Date value, final JsonGenerator gen, final SerializerProvider arg2) throws IOException
//     {
//         SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssX");
//         gen.writeString(formatter.format(value));
//     }
// }


// Path: src/main/java/com/storakle/shopify/domain/Order.java
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.storakle.shopify.jackson.FlexDateDeserializer;
import com.storakle.shopify.jackson.FlexDateSerializer;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

package com.storakle.shopify.domain;



@Data
public class Order
{
    @JsonProperty(value = JsonConstants.ID)
    private long id;

    @JsonProperty(value = JsonConstants.NAME)
    private String name;

    @JsonProperty(value = JsonConstants.TOTAL_PRICE)
    private BigDecimal totalPrice;