public class ChargedItemMappingEntryModel extends ChargedItemMappingEntry implements XMLMarshallable
ChargedItemMappingEntry adding XML marshalling.The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="chargedItemMappingEntry">
<xs:complexType>
<xs:attribute name="name" type="xs:string" use="required" />
<xs:attribute name="type" type="ChargedItemEntryType" use="required" />
<xs:attribute name="value" type="xs:string" />
<xs:attribute name="propertyName" type="ChargedItemMappingEntryPropertyNameType" />
</xs:complexType>
</xs:element><xs:simpleType name="ChargedItemEntryType">
<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="ChargedItemMappingEntryPropertyNameType">
<xs:restriction base="xs:string">
<xs:pattern value="accountCode|accountEventDate|accountTypeCode|accountTypeName|activationDate|allowanceContext|allowanceEndDate|allowanceEventClassName|allowanceShareId|allowanceStartDate|allowanceUniqueId|amount|baseAmount|chargeActivationCancellationDate|chargeActivationEffectiveDate|chargeCode|chargeReference|chargeReferenceName|chargeTypeCode|chargeTypeName|chargeableItemClassName|chargeableItemId|chargeableItemIdType|chargeableItemPackageCode|chargedItemId|chargedItemIdStr|chargedItemSetId|chargedItemSetIdStr|chargedItemSetIdType|chargedTaxAmount|chargedTaxCode|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)\..+|chargedTaxStatusCode|chargedTaxStatusId|chargedTotalAmount|chargingComponentName|consumptionDate|contractId|contractItemExternalId|contractItemId|contractType|currency|date|dispatchCode1|dispatchCode2|dispatchCode3|emptyBoolean|emptyDate|emptyNumber|emptyString|eventDate|eventProcessingDate|excludedRecurringPeriodStopDate|externalAccountCode|externalAccountName|externalSystemCode|includedRecurringPeriodStopDate|isAllowance|isChargeableItemExported|isClient|isCredit|isDebit|isMaster|isPartner|isPrepaid|isPrepaidRefill|isPrepaidUsage|isProrated|isRefund|isTaxIncluded|iso_currency|itemSetId|itemSetIdStr|itemSetIdType|offerCode|origin|overrunFrom|overrunTo|prepaidAccountName|prepaidBalanceAmount|pricePlanName|rateComponentName|ratedAmount|ratedBaseAmount|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)\..+|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)\..+|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)\..+|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)\..+|ratedTaxAmount|ratedTaxCode|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)\..+|ratedTaxStatusCode|ratedTaxStatusId|ratedTotalAmount|ratedUnroundedAmount|recurringStart|recurringStartRef|recurringStop|recurringStopRef|refillAmount|refillCurrency|refillDate|refillIsoCurrency|reservationId|senderJobId|serviceIdentifier|serviceProvider|sessionId|subscriberAccountCode|subscriberAccountReference|subscriptionCode|subscriptionCommitmentExpirationDate|subscriptionResumptionDate|subscriptionSuspensionDate|taxAmount|taxCode|taxDetType|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)\..+|taxStatusCode|taxStatusId|taxUsBusinessClass|taxUsCallDuration|taxUsCountyExempt|taxUsCustomerType|taxUsFacilitiesBasedFlag|taxUsFederalExempt|taxUsFranchiseFlag|taxUsIncorporatedCode|taxUsLifeLineFlag|taxUsLineCount|taxUsLocalExempt|taxUsLocationCount|taxUsOrigination|taxUsOriginationFlag|taxUsRegulatedFlag|taxUsResaleFlag|taxUsServiceAddress|taxUsServiceAddressFlag|taxUsServiceClass|taxUsServiceType|taxUsStateExempt|taxUsTaxData|taxUsTaxationDate|taxUsTelecomType|taxUsTermination|taxUsTerminationFlag|taxUsTransactionType|taxVatBusinessEntity|taxVatGrossPriceFlag|taxVatRateCode|taxVatRawRate|taxVatRawRateId|taxVatSupplierCountryCode|taxVatTaxationPlace|thresholdAmount|totalAmount|triggeringContractId|triggeringContractItemExternalId|userServiceIdentifier" />
</xs:restriction>
</xs:simpleType>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MODEL_NAME |
| Constructor and Description |
|---|
ChargedItemMappingEntryModel() |
ChargedItemMappingEntryModel(java.lang.String name,
ChargedItemFieldType type) |
ChargedItemMappingEntryModel(java.lang.String name,
ChargedItemFieldType type,
java.lang.Object defaultValue,
java.lang.String propertyName) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element.
|
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
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.
|
public static final java.lang.String MODEL_NAME
public ChargedItemMappingEntryModel()
public ChargedItemMappingEntryModel(java.lang.String name,
ChargedItemFieldType type)
public ChargedItemMappingEntryModel(java.lang.String name,
ChargedItemFieldType type,
java.lang.Object defaultValue,
java.lang.String propertyName)
public void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void addCharacterData(java.lang.String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void addChild(java.lang.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 void marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object into