public class ChargedItemClassFieldModel extends ChargedItemClassField implements XMLMarshallable
ChargedItemClassField adding XML marshalling.The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="chargedItemClassField">
<xs:complexType>
<xs:attribute name="name" type="xs:string" use="required" />
<xs:attribute name="description" type="xs:string" />
<xs:attribute name="type" type="ChargedItemFieldType" use="required" />
<xs:attribute name="value" type="xs:string" />
<xs:attribute name="propertyName" type="ChargedItemFieldPropertyNameType" />
</xs:complexType>
</xs:element><xs:simpleType name="ChargedItemFieldType">
<xs:restriction base="xs:string">
<xs:enumeration value="string"/>
<xs:enumeration value="date"/>
<xs:enumeration value="number"/>
<xs:enumeration value="boolean"/>
</xs:restriction>
</xs:simpleType><xs:simpleType name="ChargedItemFieldPropertyNameType">
<xs:restriction base="xs:string">
<xs:pattern value="consumptionDate|accountEventDate|rateComponentName|taxUsOrigination|contractType|emptyBoolean|accountTypeName|chargedTaxStatusCode|taxDetType|chargedItemSetId|isPartner|isPrepaid|triggeringContractId|isPrepaidRefill|taxUsTermination|eventProcessingDate|ratedTaxAmount|accountCode|taxUsStateExempt|overrunFrom|externalSystemCode|recurringStart|chargeTypeCode|senderJobId|taxVatBusinessEntity|isRefund|chargedTaxStatusId|emptyString|activationDate|refillDate|ratedDetailString\.(default|merging|splitting|computed|counter|counter_pre|counter_initial|counter_transient|counter_transient_initial|counter_transient_pre|item|parameter|out|tax|charge|refill|external|prepaid_account|internal|counter_wo_reservation|counter_wo_reservation_pre|parameter_plan)\..+|ratedTaxStatusId|chargeActivationCancellationDate|ratedDetailNumber\.(default|merging|splitting|computed|counter|counter_pre|counter_initial|counter_transient|counter_transient_initial|counter_transient_pre|item|parameter|out|tax|charge|refill|external|prepaid_account|internal|counter_wo_reservation|counter_wo_reservation_pre|parameter_plan)\..+|taxUsTransactionType|allowanceEndDate|overrunTo|isTaxIncluded|taxUsServiceClass|taxUsFranchiseFlag|taxUsTaxData|externalAccountName|isCredit|ratedTaxStatusCode|externalAccountCode|chargedItemSetIdType|chargingComponentName|recurringStop|currency|chargedTotalAmount|isPrepaidUsage|chargedTaxDetail\.(default|merging|splitting|computed|counter|counter_pre|counter_initial|counter_transient|counter_transient_initial|counter_transient_pre|item|parameter|out|tax|charge|refill|external|prepaid_account|internal|counter_wo_reservation|counter_wo_reservation_pre|parameter_plan)\..+|isAllowance|subscriptionResumptionDate|allowanceStartDate|subscriptionCommitmentExpirationDate|pricePlanName|chargeReferenceName|sessionId|taxVatSupplierCountryCode|refillCurrency|ratedAmount|ratedDetailBoolean\.(default|merging|splitting|computed|counter|counter_pre|counter_initial|counter_transient|counter_transient_initial|counter_transient_pre|item|parameter|out|tax|charge|refill|external|prepaid_account|internal|counter_wo_reservation|counter_wo_reservation_pre|parameter_plan)\..+|taxUsLocalExempt|taxUsResaleFlag|itemSetIdType|refillIsoCurrency|itemSetId|isDebit|taxStatusCode|subscriptionSuspensionDate|taxUsLocationCount|date|chargeTypeName|taxStatusId|chargedItemSetIdStr|taxUsCountyExempt|taxVatTaxationPlace|taxUsOriginationFlag|taxUsCustomerType|includedRecurringPeriodStopDate|isChargeableItemExported|itemSetIdStr|subscriptionCode|reservationId|isMaster|taxUsIncorporatedCode|taxUsServiceAddressFlag|taxVatRateCode|chargeableItemId|chargedTaxCode|taxUsBusinessClass|subscriberAccountReference|accountTypeCode|iso_currency|isClient|taxCode|triggeringContractItemExternalId|baseAmount|taxUsTerminationFlag|ratedBaseAmount|chargedTaxAmount|totalAmount|taxUsFederalExempt|taxUsTaxationDate|recurringStopRef|offerCode|taxVatRawRate|serviceProvider|chargeActivationEffectiveDate|taxAmount|ratedTotalAmount|ratedUnroundedAmount|chargeCode|eventDate|taxVatRawRateId|taxUsFacilitiesBasedFlag|chargeableItemClassName|refillAmount|origin|dispatchCode3|ratedDetailDate\.(default|merging|splitting|computed|counter|counter_pre|counter_initial|counter_transient|counter_transient_initial|counter_transient_pre|item|parameter|out|tax|charge|refill|external|prepaid_account|internal|counter_wo_reservation|counter_wo_reservation_pre|parameter_plan)\..+|chargeableItemPackageCode|emptyDate|dispatchCode1|dispatchCode2|taxDetail\.(default|merging|splitting|computed|counter|counter_pre|counter_initial|counter_transient|counter_transient_initial|counter_transient_pre|item|parameter|out|tax|charge|refill|external|prepaid_account|internal|counter_wo_reservation|counter_wo_reservation_pre|parameter_plan)\..+|taxVatGrossPriceFlag|userServiceIdentifier|recurringStartRef|allowanceUniqueId|taxUsRegulatedFlag|ratedTaxCode|prepaidAccountName|taxUsTelecomType|isProrated|taxUsServiceType|amount|thresholdAmount|allowanceEventClassName|ratedTaxDetail\.(default|merging|splitting|computed|counter|counter_pre|counter_initial|counter_transient|counter_transient_initial|counter_transient_pre|item|parameter|out|tax|charge|refill|external|prepaid_account|internal|counter_wo_reservation|counter_wo_reservation_pre|parameter_plan)\..+|taxUsCallDuration|contractItemExternalId|prepaidBalanceAmount|serviceIdentifier|chargeableItemIdType|taxUsLifeLineFlag|chargeReference|subscriberAccountCode|contractId|contractItemId|excludedRecurringPeriodStopDate|taxUsLineCount|emptyNumber|taxUsServiceAddress" />
</xs:restriction>
</xs:simpleType>
| Constructor and Description |
|---|
ChargedItemClassFieldModel() |
ChargedItemClassFieldModel(ChargedItemFieldType type) |
ChargedItemClassFieldModel(String name,
ChargedItemFieldType type) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(String cData)
Adds character data to the content element.
|
void |
addChild(String tagName,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
ChargedItemClassFieldModel |
duplicate() |
String |
getTagName() |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
isPropertyOrValueSetpublic ChargedItemClassFieldModel()
public ChargedItemClassFieldModel(String name, ChargedItemFieldType type)
public ChargedItemClassFieldModel(ChargedItemFieldType type)
public void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void addCharacterData(String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void addChild(String tagName, XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic ChargedItemClassFieldModel duplicate()
public String getTagName()
public void marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object into