Skip to content

Commit

Permalink
Merge pull request #280 from mercadopago/feature/eventDate
Browse files Browse the repository at this point in the history
Add field eventDate in Preference and Payment
  • Loading branch information
VickieAranha authored Apr 18, 2024
2 parents 2406dab + 7f5e54a commit 09e700e
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@ gradle-app.setting
### Gradle Patch ###
# Java heap dump
*.hprof

### Docs
*.html
docs/
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ already.
<dependency>
<groupId>com.mercadopago</groupId>
<artifactId>sdk-java</artifactId>
<version>2.1.20</version>
<version>2.1.21</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.mercadopago</groupId>
<artifactId>sdk-java</artifactId>
<version>2.1.20</version>
<version>2.1.21</version>
<packaging>jar</packaging>

<name>Mercadopago SDK</name>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.mercadopago.client.preference;

import java.time.OffsetDateTime;
import lombok.Builder;
import lombok.Getter;

Expand All @@ -12,4 +13,7 @@ public class PreferenceCategoryDescriptorRequest {

/** Flight information. */
private final PreferenceRouteRequest route;

/** Date of event */
private final OffsetDateTime eventDate;
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.mercadopago.resources.preference;

import java.time.OffsetDateTime;
import lombok.Getter;

/** Item information related to the category. */
Expand All @@ -10,4 +11,7 @@ public class PreferenceCategoryDescriptor {

/** Flight information. */
private PreferenceRoute route;

/** Date of event */
private OffsetDateTime eventDate;
}

0 comments on commit 09e700e

Please sign in to comment.