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

Pr1992 getaujobdetails java modifications #148

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 18 additions & 4 deletions src/main/java/net/authorize/api/contract/v1/AuDeleteType.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
* <extension base="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}auDetailsType">
* <sequence>
* <element name="creditCard" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}creditCardMaskedType"/>
* <element name="subscriptionIdList" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}SubscriptionIdList" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
Expand All @@ -35,16 +36,29 @@
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "auDeleteType", propOrder = {
"creditCard"
})
"creditCard",
"subscriptionIdList"
})
public class AuDeleteType
extends AuDetailsType
{

@XmlElement(required = true)
protected CreditCardMaskedType creditCard;

/**

/*---Added for GetAccountUpdaterJobDetails---*/
@XmlElement(required = true)
protected SubscriptionIdList subscriptionIdList;

public SubscriptionIdList getSubscriptionIdList() {
return subscriptionIdList;
}
public void setSubscriptionIdList(SubscriptionIdList value) {
this.subscriptionIdList = value;
}

/*---End---*/
/**
* Gets the value of the creditCard property.
*
* @return
Expand Down
24 changes: 20 additions & 4 deletions src/main/java/net/authorize/api/contract/v1/AuUpdateType.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@

package net.authorize.api.contract.v1;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
Expand All @@ -26,6 +29,7 @@
* <sequence>
* <element name="newCreditCard" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}creditCardMaskedType"/>
* <element name="oldCreditCard" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}creditCardMaskedType"/>
* <element name="subscriptionIdList" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}SubscriptionIdList" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
Expand All @@ -37,7 +41,8 @@
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "auUpdateType", propOrder = {
"newCreditCard",
"oldCreditCard"
"oldCreditCard",
"subscriptionIdList"
})
public class AuUpdateType
extends AuDetailsType
Expand All @@ -47,8 +52,20 @@ public class AuUpdateType
protected CreditCardMaskedType newCreditCard;
@XmlElement(required = true)
protected CreditCardMaskedType oldCreditCard;

/*---Added for GetAccountUpdaterJobDetails---*/
@XmlElement(required = true)
protected SubscriptionIdList subscriptionIdList;

public SubscriptionIdList getSubscriptionIdList() {
return subscriptionIdList;
}
public void setSubscriptionIdList(SubscriptionIdList value) {
this.subscriptionIdList = value;
}
/*---End---*/

/**
/**
* Gets the value of the newCreditCard property.
*
* @return
Expand All @@ -59,8 +76,7 @@ public class AuUpdateType
public CreditCardMaskedType getNewCreditCard() {
return newCreditCard;
}

/**
/**
* Sets the value of the newCreditCard property.
*
* @param value
Expand Down