forked from Kwanzoo/recurly-client-java
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Forgot the AddOn wrapper in the last commit.
- Loading branch information
1 parent
0451e18
commit 12e857b
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.kwanzoo.recurly; | ||
|
||
import javax.xml.bind.annotation.XmlElement; | ||
import javax.xml.bind.annotation.XmlRootElement; | ||
|
||
@XmlRootElement(name="add_on") | ||
public class AddOn{ | ||
@XmlElement(name="add_on_code") | ||
public String addOnCode; | ||
|
||
@XmlElement(name="unit_amount_in_cents") | ||
public Integer unitAmountInCents; | ||
|
||
@XmlElement(name="quantity") | ||
public Integer quantity; | ||
} |