public class

AmendRequest

extends Dynamic
implements Serializable
java.lang.Object
   ↳ com.zuora.api.object.Dynamic
     ↳ com.zuora.api.AmendRequest

Class Overview

Java class for AmendRequest complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="AmendRequest">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Amendments" type="{http://object.api.zuora.com/}Amendment" maxOccurs="unbounded" minOccurs="0"/>
         <element name="AmendOptions" type="{http://api.zuora.com/}AmendOptions" minOccurs="0"/>
         <element name="PreviewOptions" type="{http://api.zuora.com/}PreviewOptions" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Constants
long serialVersionUID
Fields
protected AmendOptions amendOptions
protected List<Amendment> amendments
protected PreviewOptions previewOptions
Public Constructors
AmendRequest()
Public Methods
AmendOptions getAmendOptions()
Gets the value of the amendOptions property.
List<Amendment> getAmendments()
Gets the value of the amendments property.
PreviewOptions getPreviewOptions()
Gets the value of the previewOptions property.
void setAmendOptions(AmendOptions value)
Sets the value of the amendOptions property.
void setPreviewOptions(PreviewOptions value)
Sets the value of the previewOptions property.
[Expand]
Inherited Methods
From class com.zuora.api.object.Dynamic
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: 100 (0x0000000000000064)

Fields

protected AmendOptions amendOptions

protected List<Amendment> amendments

protected PreviewOptions previewOptions

Public Constructors

public AmendRequest ()

Public Methods

public AmendOptions getAmendOptions ()

Gets the value of the amendOptions property.

Returns

public List<Amendment> getAmendments ()

Gets the value of the amendments property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the amendments property.

For example, to add a new item, do as follows:

    getAmendments().add(newItem);
 

Objects of the following type(s) are allowed in the list Amendment

public PreviewOptions getPreviewOptions ()

Gets the value of the previewOptions property.

Returns

public void setAmendOptions (AmendOptions value)

Sets the value of the amendOptions property.

Parameters
value Allowed object is AmendOptions

public void setPreviewOptions (PreviewOptions value)

Sets the value of the previewOptions property.

Parameters
value Allowed object is PreviewOptions