├── .gitignore ├── LICENSE ├── mvnw ├── mvnw.cmd ├── pom.xml └── src ├── main ├── java │ └── id │ │ └── brainmaster │ │ └── iso20022 │ │ ├── App.java │ │ ├── CassandraConfig.java │ │ ├── controller │ │ └── TransactionController.java │ │ ├── entity │ │ ├── Account.java │ │ ├── AccountKey.java │ │ ├── Transaction.java │ │ └── TransactionKey.java │ │ ├── model │ │ ├── AccountIdentification4Choice.java │ │ ├── AccountSchemeName1Choice.java │ │ ├── ActiveCurrencyAndAmount.java │ │ ├── ActiveOrHistoricCurrencyAndAmount.java │ │ ├── AddressType2Code.java │ │ ├── BranchAndFinancialInstitutionIdentification5.java │ │ ├── BranchData2.java │ │ ├── CashAccount24.java │ │ ├── CashAccountType2Choice.java │ │ ├── CategoryPurpose1Choice.java │ │ ├── ChargeBearerType1Code.java │ │ ├── Charges2.java │ │ ├── ClearingChannel2Code.java │ │ ├── ClearingSystemIdentification2Choice.java │ │ ├── ClearingSystemIdentification3Choice.java │ │ ├── ClearingSystemMemberIdentification2.java │ │ ├── ContactDetails2.java │ │ ├── CreditDebitCode.java │ │ ├── CreditTransferTransaction30.java │ │ ├── CreditorReferenceInformation2.java │ │ ├── CreditorReferenceType1Choice.java │ │ ├── CreditorReferenceType2.java │ │ ├── DateAndPlaceOfBirth1.java │ │ ├── DatePeriod2.java │ │ ├── DiscountAmountAndType1.java │ │ ├── DiscountAmountType1Choice.java │ │ ├── Document.java │ │ ├── DocumentAdjustment1.java │ │ ├── DocumentLineIdentification1.java │ │ ├── DocumentLineInformation1.java │ │ ├── DocumentLineType1.java │ │ ├── DocumentLineType1Choice.java │ │ ├── DocumentType3Code.java │ │ ├── DocumentType6Code.java │ │ ├── FIToFICustomerCreditTransferV07.java │ │ ├── FinancialIdentificationSchemeName1Choice.java │ │ ├── FinancialInstitutionIdentification8.java │ │ ├── Garnishment2.java │ │ ├── GarnishmentType1.java │ │ ├── GarnishmentType1Choice.java │ │ ├── GenericAccountIdentification1.java │ │ ├── GenericFinancialIdentification1.java │ │ ├── GenericOrganisationIdentification1.java │ │ ├── GenericPersonIdentification1.java │ │ ├── GroupHeader70.java │ │ ├── Instruction3Code.java │ │ ├── Instruction4Code.java │ │ ├── InstructionForCreditorAgent1.java │ │ ├── InstructionForNextAgent1.java │ │ ├── LocalInstrument2Choice.java │ │ ├── NameAndAddress10.java │ │ ├── NamePrefix1Code.java │ │ ├── ObjectFactory.java │ │ ├── OrganisationIdentification8.java │ │ ├── OrganisationIdentificationSchemeName1Choice.java │ │ ├── Party34Choice.java │ │ ├── PartyIdentification125.java │ │ ├── PaymentIdentification3.java │ │ ├── PaymentTypeInformation21.java │ │ ├── PersonIdentification13.java │ │ ├── PersonIdentificationSchemeName1Choice.java │ │ ├── PostalAddress6.java │ │ ├── Priority2Code.java │ │ ├── Priority3Code.java │ │ ├── Purpose2Choice.java │ │ ├── ReferredDocumentInformation7.java │ │ ├── ReferredDocumentType3Choice.java │ │ ├── ReferredDocumentType4.java │ │ ├── RegulatoryAuthority2.java │ │ ├── RegulatoryReporting3.java │ │ ├── RegulatoryReportingType1Code.java │ │ ├── RemittanceAmount2.java │ │ ├── RemittanceAmount3.java │ │ ├── RemittanceInformation15.java │ │ ├── RemittanceLocation4.java │ │ ├── RemittanceLocationDetails1.java │ │ ├── RemittanceLocationMethod2Code.java │ │ ├── ServiceLevel8Choice.java │ │ ├── SettlementDateTimeIndication1.java │ │ ├── SettlementInstruction4.java │ │ ├── SettlementMethod1Code.java │ │ ├── SettlementTimeRequest2.java │ │ ├── StructuredRegulatoryReporting3.java │ │ ├── StructuredRemittanceInformation15.java │ │ ├── SupplementaryData1.java │ │ ├── SupplementaryDataEnvelope1.java │ │ ├── TaxAmount2.java │ │ ├── TaxAmountAndType1.java │ │ ├── TaxAmountType1Choice.java │ │ ├── TaxAuthorisation1.java │ │ ├── TaxInformation6.java │ │ ├── TaxInformation7.java │ │ ├── TaxParty1.java │ │ ├── TaxParty2.java │ │ ├── TaxPeriod2.java │ │ ├── TaxRecord2.java │ │ ├── TaxRecordDetails2.java │ │ ├── TaxRecordPeriod1Code.java │ │ ├── pacs.008.001.07.xsd │ │ └── response │ │ │ ├── CreditTransferTransaction30Status.java │ │ │ └── GenericSingleRestResponse.java │ │ ├── repository │ │ ├── AccountByCustomerRepository.java │ │ ├── AsyncTransactionByCustomerRepository.java │ │ └── TransactionByCustomerRepository.java │ │ ├── service │ │ └── TransactionService.java │ │ └── util │ │ ├── Currency.java │ │ ├── Iso20022TransactionHelper.java │ │ ├── TransactionType.java │ │ └── WalletType.java └── resources │ ├── application.properties │ ├── camt.060.001.04.xsd │ ├── demo-cassandra.cql │ └── pacs.008.001.07.xsd └── test ├── java └── id │ └── brainmaster │ └── iso20022 │ ├── AppTest.java │ └── WalletApplicationTests.java └── resources ├── example-008.001.007.xml ├── example-camt-060.001.04.xml └── jmeter-test-scenario.jmx /.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled class file 2 | *.class 3 | 4 | # Log file 5 | *.log 6 | 7 | # BlueJ files 8 | *.ctxt 9 | 10 | # Mobile Tools for Java (J2ME) 11 | .mtj.tmp/ 12 | 13 | # Package Files # 14 | *.jar 15 | *.war 16 | *.nar 17 | *.ear 18 | *.zip 19 | *.tar.gz 20 | *.rar 21 | 22 | # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml 23 | hs_err_pid* 24 | 25 | #inteliJ idea 26 | .idea/ 27 | *.iml 28 | 29 | #maven 30 | target/ 31 | -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 4.0.0 5 | 6 | id.brainmaster.iso20022 7 | example-iso-20022 8 | 1.0.0-SNAPSHOT 9 | jar 10 | 11 | wallet 12 | Example ISO20022 and cassandra 13 | 14 | 15 | org.springframework.boot 16 | spring-boot-starter-parent 17 | 2.0.1.RELEASE 18 | 19 | 20 | 21 | 22 | UTF-8 23 | UTF-8 24 | 1.8 25 | 26 | 27 | 28 | 29 | org.springframework.boot 30 | spring-boot-starter-data-cassandra-reactive 31 | 32 | 33 | org.springframework.boot 34 | spring-boot-starter-webflux 35 | 36 | 37 | org.projectlombok 38 | lombok 39 | 40 | 41 | org.apache.commons 42 | commons-lang3 43 | 44 | 45 | 46 | org.springframework.boot 47 | spring-boot-starter-test 48 | test 49 | 50 | 51 | io.projectreactor 52 | reactor-test 53 | test 54 | 55 | 56 | org.springframework.restdocs 57 | spring-restdocs-mockmvc 58 | test 59 | 60 | 61 | io.netty 62 | netty-transport-native-epoll 63 | 4.1.23.Final 64 | 65 | 66 | 67 | 68 | 69 | 70 | org.springframework.boot 71 | spring-boot-maven-plugin 72 | 73 | 74 | 75 | 76 | 77 | 78 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/App.java: -------------------------------------------------------------------------------- 1 | package id.brainmaster.iso20022; 2 | 3 | import id.brainmaster.iso20022.model.Document; 4 | import org.springframework.boot.SpringApplication; 5 | import org.springframework.boot.autoconfigure.SpringBootApplication; 6 | import org.springframework.context.annotation.Bean; 7 | import org.springframework.context.annotation.ComponentScan; 8 | import org.springframework.web.reactive.config.EnableWebFlux; 9 | 10 | import javax.xml.bind.JAXBContext; 11 | import javax.xml.bind.JAXBException; 12 | 13 | /** 14 | * Hello world! 15 | * 16 | */ 17 | @SpringBootApplication 18 | @EnableWebFlux 19 | @ComponentScan(basePackages = {"id.brainmaster.iso20022.controller","id.brainmaster.iso20022.service", "id.brainmaster.iso20022.model"}) 20 | public class App 21 | { 22 | public static void main( String[] args ) 23 | { 24 | SpringApplication.run(App.class, args); 25 | } 26 | 27 | @Bean 28 | public JAXBContext getJaxbContext() throws JAXBException { 29 | return JAXBContext.newInstance(Document.class); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/CassandraConfig.java: -------------------------------------------------------------------------------- 1 | package id.brainmaster.iso20022; 2 | 3 | import org.springframework.context.annotation.Bean; 4 | import org.springframework.context.annotation.Configuration; 5 | import org.springframework.data.cassandra.config.AbstractReactiveCassandraConfiguration; 6 | import org.springframework.data.cassandra.config.CassandraClusterFactoryBean; 7 | import org.springframework.data.cassandra.core.mapping.CassandraMappingContext; 8 | import org.springframework.data.cassandra.repository.config.EnableReactiveCassandraRepositories; 9 | 10 | @Configuration 11 | @EnableReactiveCassandraRepositories(basePackages = "id.brainmaster.iso20022.repository") 12 | public class CassandraConfig extends AbstractReactiveCassandraConfiguration { 13 | 14 | @Override 15 | protected String getKeyspaceName() { 16 | return "demodb"; 17 | } 18 | 19 | @Bean 20 | public CassandraClusterFactoryBean cluster() { 21 | CassandraClusterFactoryBean cluster = 22 | new CassandraClusterFactoryBean(); 23 | cluster.setContactPoints("127.0.0.1"); 24 | cluster.setPort(9142); 25 | return cluster; 26 | } 27 | 28 | @Bean 29 | public CassandraMappingContext cassandraMapping() 30 | throws ClassNotFoundException { 31 | return new CassandraMappingContext(); 32 | } 33 | 34 | } -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/entity/Account.java: -------------------------------------------------------------------------------- 1 | package id.brainmaster.iso20022.entity; 2 | 3 | import org.springframework.data.cassandra.core.mapping.Column; 4 | import org.springframework.data.cassandra.core.mapping.PrimaryKey; 5 | import org.springframework.data.cassandra.core.mapping.Table; 6 | 7 | import java.io.Serializable; 8 | 9 | @Table("account_by_customer") 10 | public class Account implements Serializable { 11 | 12 | @PrimaryKey 13 | private AccountKey accountKey; 14 | 15 | @Column("customer_name") 16 | private String customerName; 17 | 18 | @Column("locked") 19 | private boolean locked; 20 | 21 | public Account() { 22 | 23 | } 24 | 25 | public Account(AccountKey accountKey, String customerName, boolean locked) { 26 | this.accountKey = accountKey; 27 | this.customerName = customerName; 28 | this.locked = locked; 29 | } 30 | 31 | public AccountKey getAccountKey() { 32 | return accountKey; 33 | } 34 | 35 | public void setAccountKey(AccountKey accountKey) { 36 | this.accountKey = accountKey; 37 | } 38 | 39 | public String getCustomerName() { 40 | return customerName; 41 | } 42 | 43 | public void setCustomerName(String customerName) { 44 | this.customerName = customerName; 45 | } 46 | 47 | public boolean isLocked() { 48 | return locked; 49 | } 50 | 51 | public void setLocked(boolean locked) { 52 | this.locked = locked; 53 | } 54 | 55 | 56 | } 57 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/entity/AccountKey.java: -------------------------------------------------------------------------------- 1 | package id.brainmaster.iso20022.entity; 2 | 3 | import com.datastax.driver.core.DataType; 4 | import id.brainmaster.iso20022.util.Currency; 5 | import id.brainmaster.iso20022.util.WalletType; 6 | import org.apache.commons.lang3.builder.EqualsBuilder; 7 | import org.apache.commons.lang3.builder.HashCodeBuilder; 8 | import org.springframework.data.cassandra.core.cql.Ordering; 9 | import org.springframework.data.cassandra.core.cql.PrimaryKeyType; 10 | import org.springframework.data.cassandra.core.mapping.CassandraType; 11 | import org.springframework.data.cassandra.core.mapping.PrimaryKeyClass; 12 | import org.springframework.data.cassandra.core.mapping.PrimaryKeyColumn; 13 | 14 | import java.io.Serializable; 15 | import java.util.Date; 16 | 17 | @PrimaryKeyClass 18 | public class AccountKey implements Serializable { 19 | 20 | @PrimaryKeyColumn(name = "account_id", type = PrimaryKeyType.PARTITIONED, ordinal = 0) 21 | private final String accountId; 22 | 23 | @PrimaryKeyColumn(name = "wallet_type", type = PrimaryKeyType.PARTITIONED, ordinal = 1) 24 | @CassandraType(type = DataType.Name.TEXT) 25 | private final WalletType walletType; 26 | 27 | @PrimaryKeyColumn(name = "currency", type = PrimaryKeyType.PARTITIONED, ordinal = 2) 28 | @CassandraType(type = DataType.Name.TEXT) 29 | private final Currency currency; 30 | 31 | @PrimaryKeyColumn (value = "creation_date", type = PrimaryKeyType.CLUSTERED, ordinal = 4, ordering = Ordering.ASCENDING) 32 | private final Date creationDate; 33 | 34 | public AccountKey(String accountId, WalletType walletType, Currency currency, Date creationDate) { 35 | this.accountId = accountId; 36 | this.walletType = walletType; 37 | this.currency = currency; 38 | this.creationDate = creationDate; 39 | } 40 | 41 | public String getAccountId() { 42 | return accountId; 43 | } 44 | 45 | public WalletType getWalletType() { 46 | return walletType; 47 | } 48 | 49 | public Currency getCurrency() { 50 | return currency; 51 | } 52 | 53 | public Date getCreationDate() { 54 | return creationDate; 55 | } 56 | 57 | @Override 58 | public boolean equals(Object o) { 59 | if (this == o) return true; 60 | 61 | if (o == null || getClass() != o.getClass()) return false; 62 | 63 | AccountKey that = (AccountKey) o; 64 | 65 | return new EqualsBuilder() 66 | .append(accountId, that.accountId) 67 | .append(walletType, that.walletType) 68 | .append(currency, that.currency) 69 | .isEquals(); 70 | } 71 | 72 | @Override 73 | public int hashCode() { 74 | return new HashCodeBuilder(17, 37) 75 | .append(accountId) 76 | .append(walletType) 77 | .append(currency) 78 | .toHashCode(); 79 | } 80 | } 81 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/entity/Transaction.java: -------------------------------------------------------------------------------- 1 | package id.brainmaster.iso20022.entity; 2 | 3 | import org.apache.commons.lang3.builder.EqualsBuilder; 4 | import org.apache.commons.lang3.builder.HashCodeBuilder; 5 | import org.springframework.data.cassandra.core.mapping.Column; 6 | import org.springframework.data.cassandra.core.mapping.PrimaryKey; 7 | import org.springframework.data.cassandra.core.mapping.Table; 8 | 9 | import java.io.Serializable; 10 | import java.math.BigDecimal; 11 | 12 | @Table("transaction_by_customer") 13 | public class Transaction implements Serializable { 14 | @PrimaryKey 15 | private TransactionKey transactionKey; 16 | 17 | @Column("amount") 18 | private BigDecimal amount; 19 | 20 | @Column("transaction_type") 21 | private String transactionType; 22 | 23 | @Column("source_name") 24 | private String sourceName; 25 | 26 | @Column("source_id") 27 | private String sourceId; 28 | 29 | @Column("destination_name") 30 | private String destinationName; 31 | 32 | @Column("destination_id") 33 | private String destinationId; 34 | 35 | @Column("end_to_end_id") 36 | private String endToEndId; 37 | 38 | public Transaction(TransactionKey transactionKey, BigDecimal amount, String transactionType, String sourceName, String sourceId, String destinationName, String destinationId, String endToEndId) { 39 | this.transactionKey = transactionKey; 40 | this.amount = amount; 41 | this.transactionType = transactionType; 42 | this.sourceName = sourceName; 43 | this.sourceId = sourceId; 44 | this.destinationName = destinationName; 45 | this.destinationId = destinationId; 46 | this.endToEndId = endToEndId; 47 | } 48 | 49 | public TransactionKey getTransactionKey() { 50 | return transactionKey; 51 | } 52 | 53 | public void setTransactionKey(TransactionKey transactionKey) { 54 | this.transactionKey = transactionKey; 55 | } 56 | 57 | public BigDecimal getAmount() { 58 | return amount; 59 | } 60 | 61 | public void setAmount(BigDecimal amount) { 62 | this.amount = amount; 63 | } 64 | 65 | public String getTransactionType() { 66 | return transactionType; 67 | } 68 | 69 | public void setTransactionType(String transactionType) { 70 | this.transactionType = transactionType; 71 | } 72 | 73 | public String getSourceName() { 74 | return sourceName; 75 | } 76 | 77 | public void setSourceName(String sourceName) { 78 | this.sourceName = sourceName; 79 | } 80 | 81 | public String getSourceId() { 82 | return sourceId; 83 | } 84 | 85 | public void setSourceId(String sourceId) { 86 | this.sourceId = sourceId; 87 | } 88 | 89 | public String getDestinationName() { 90 | return destinationName; 91 | } 92 | 93 | public void setDestinationName(String destinationName) { 94 | this.destinationName = destinationName; 95 | } 96 | 97 | public String getDestinationId() { 98 | return destinationId; 99 | } 100 | 101 | public void setDestinationId(String destinationId) { 102 | this.destinationId = destinationId; 103 | } 104 | 105 | public String getEndToEndId() { 106 | return endToEndId; 107 | } 108 | 109 | public void setEndToEndId(String endToEndId) { 110 | this.endToEndId = endToEndId; 111 | } 112 | 113 | @Override 114 | public boolean equals(Object o) { 115 | if (this == o) return true; 116 | 117 | if (o == null || getClass() != o.getClass()) return false; 118 | 119 | Transaction that = (Transaction) o; 120 | 121 | return new EqualsBuilder() 122 | .append(transactionKey, that.transactionKey) 123 | .isEquals(); 124 | } 125 | 126 | @Override 127 | public int hashCode() { 128 | return new HashCodeBuilder(17, 37) 129 | .append(transactionKey) 130 | .toHashCode(); 131 | } 132 | } 133 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/entity/TransactionKey.java: -------------------------------------------------------------------------------- 1 | package id.brainmaster.iso20022.entity; 2 | 3 | import org.apache.commons.lang3.builder.EqualsBuilder; 4 | import org.apache.commons.lang3.builder.HashCodeBuilder; 5 | import org.springframework.data.cassandra.core.cql.Ordering; 6 | import org.springframework.data.cassandra.core.cql.PrimaryKeyType; 7 | import org.springframework.data.cassandra.core.mapping.PrimaryKeyClass; 8 | import org.springframework.data.cassandra.core.mapping.PrimaryKeyColumn; 9 | 10 | import java.io.Serializable; 11 | import java.util.Date; 12 | 13 | @PrimaryKeyClass 14 | public class TransactionKey implements Serializable { 15 | 16 | //TODO: harusnya accountId di ganti sama unique id dari Account, unique id account bisa hashing dari primary key account tsb 17 | @PrimaryKeyColumn(name = "account_id", type = PrimaryKeyType.PARTITIONED, ordinal = 0) 18 | private final String accountId; 19 | @PrimaryKeyColumn(name = "transaction_id", type = PrimaryKeyType.CLUSTERED, ordinal = 1) 20 | private final String transactionId; 21 | @PrimaryKeyColumn(name = "creation_date", type = PrimaryKeyType.CLUSTERED, ordinal = 2, ordering = Ordering.ASCENDING) 22 | private Date creationDate; 23 | 24 | public TransactionKey(String transactionId, String accountId, Date creationDate) { 25 | this.transactionId = transactionId; 26 | this.accountId = accountId; 27 | this.creationDate = creationDate; 28 | } 29 | 30 | public String getTransactionId() { 31 | return transactionId; 32 | } 33 | 34 | public String getAccountId() { 35 | return accountId; 36 | } 37 | 38 | public Date getCreationDate() { 39 | return creationDate; 40 | } 41 | 42 | @Override 43 | public boolean equals(Object o) { 44 | if (this == o) return true; 45 | 46 | if (o == null || getClass() != o.getClass()) return false; 47 | 48 | TransactionKey that = (TransactionKey) o; 49 | 50 | return new EqualsBuilder() 51 | .append(transactionId, that.transactionId) 52 | .append(accountId, that.accountId) 53 | .isEquals(); 54 | } 55 | 56 | @Override 57 | public int hashCode() { 58 | return new HashCodeBuilder(17, 37) 59 | .append(transactionId) 60 | .append(accountId) 61 | .toHashCode(); 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/AccountIdentification4Choice.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | 10 | 11 | /** 12 | *

Java class for AccountIdentification4Choice complex type. 13 | * 14 | *

The following schema fragment specifies the expected content contained within this class. 15 | * 16 | *

17 |  * <complexType name="AccountIdentification4Choice">
18 |  *   <complexContent>
19 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20 |  *       <choice>
21 |  *         <element name="IBAN" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}IBAN2007Identifier"/>
22 |  *         <element name="Othr" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}GenericAccountIdentification1"/>
23 |  *       </choice>
24 |  *     </restriction>
25 |  *   </complexContent>
26 |  * </complexType>
27 |  * 
28 | * 29 | * 30 | */ 31 | @XmlAccessorType(XmlAccessType.FIELD) 32 | @XmlType(name = "AccountIdentification4Choice", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 33 | "iban", 34 | "othr" 35 | }) 36 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 37 | public class AccountIdentification4Choice { 38 | 39 | @XmlElement(name = "IBAN", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 40 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 41 | protected String iban; 42 | @XmlElement(name = "Othr", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected GenericAccountIdentification1 othr; 45 | 46 | /** 47 | * Gets the value of the iban property. 48 | * 49 | * @return 50 | * possible object is 51 | * {@link String } 52 | * 53 | */ 54 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 55 | public String getIBAN() { 56 | return iban; 57 | } 58 | 59 | /** 60 | * Sets the value of the iban property. 61 | * 62 | * @param value 63 | * allowed object is 64 | * {@link String } 65 | * 66 | */ 67 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 68 | public void setIBAN(String value) { 69 | this.iban = value; 70 | } 71 | 72 | /** 73 | * Gets the value of the othr property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link GenericAccountIdentification1 } 78 | * 79 | */ 80 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 81 | public GenericAccountIdentification1 getOthr() { 82 | return othr; 83 | } 84 | 85 | /** 86 | * Sets the value of the othr property. 87 | * 88 | * @param value 89 | * allowed object is 90 | * {@link GenericAccountIdentification1 } 91 | * 92 | */ 93 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 94 | public void setOthr(GenericAccountIdentification1 value) { 95 | this.othr = value; 96 | } 97 | 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/AccountSchemeName1Choice.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | 10 | 11 | /** 12 | *

Java class for AccountSchemeName1Choice complex type. 13 | * 14 | *

The following schema fragment specifies the expected content contained within this class. 15 | * 16 | *

17 |  * <complexType name="AccountSchemeName1Choice">
18 |  *   <complexContent>
19 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20 |  *       <choice>
21 |  *         <element name="Cd" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}ExternalAccountIdentification1Code"/>
22 |  *         <element name="Prtry" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}Max35Text"/>
23 |  *       </choice>
24 |  *     </restriction>
25 |  *   </complexContent>
26 |  * </complexType>
27 |  * 
28 | * 29 | * 30 | */ 31 | @XmlAccessorType(XmlAccessType.FIELD) 32 | @XmlType(name = "AccountSchemeName1Choice", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 33 | "cd", 34 | "prtry" 35 | }) 36 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 37 | public class AccountSchemeName1Choice { 38 | 39 | @XmlElement(name = "Cd", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 40 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 41 | protected String cd; 42 | @XmlElement(name = "Prtry", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected String prtry; 45 | 46 | /** 47 | * Gets the value of the cd property. 48 | * 49 | * @return 50 | * possible object is 51 | * {@link String } 52 | * 53 | */ 54 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 55 | public String getCd() { 56 | return cd; 57 | } 58 | 59 | /** 60 | * Sets the value of the cd property. 61 | * 62 | * @param value 63 | * allowed object is 64 | * {@link String } 65 | * 66 | */ 67 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 68 | public void setCd(String value) { 69 | this.cd = value; 70 | } 71 | 72 | /** 73 | * Gets the value of the prtry property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link String } 78 | * 79 | */ 80 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 81 | public String getPrtry() { 82 | return prtry; 83 | } 84 | 85 | /** 86 | * Sets the value of the prtry property. 87 | * 88 | * @param value 89 | * allowed object is 90 | * {@link String } 91 | * 92 | */ 93 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 94 | public void setPrtry(String value) { 95 | this.prtry = value; 96 | } 97 | 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/ActiveCurrencyAndAmount.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import java.math.BigDecimal; 5 | import javax.annotation.Generated; 6 | import javax.xml.bind.annotation.XmlAccessType; 7 | import javax.xml.bind.annotation.XmlAccessorType; 8 | import javax.xml.bind.annotation.XmlAttribute; 9 | import javax.xml.bind.annotation.XmlType; 10 | import javax.xml.bind.annotation.XmlValue; 11 | 12 | 13 | /** 14 | *

Java class for ActiveCurrencyAndAmount complex type. 15 | * 16 | *

The following schema fragment specifies the expected content contained within this class. 17 | * 18 | *

19 |  * <complexType name="ActiveCurrencyAndAmount">
20 |  *   <simpleContent>
21 |  *     <extension base="<urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07>ActiveCurrencyAndAmount_SimpleType">
22 |  *       <attribute name="Ccy" use="required" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}ActiveCurrencyCode" />
23 |  *     </extension>
24 |  *   </simpleContent>
25 |  * </complexType>
26 |  * 
27 | * 28 | * 29 | */ 30 | @XmlAccessorType(XmlAccessType.FIELD) 31 | @XmlType(name = "ActiveCurrencyAndAmount", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 32 | "value" 33 | }) 34 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 35 | public class ActiveCurrencyAndAmount { 36 | 37 | @XmlValue 38 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 39 | protected BigDecimal value; 40 | @XmlAttribute(name = "Ccy", required = true) 41 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 42 | protected String ccy; 43 | 44 | /** 45 | * Gets the value of the value property. 46 | * 47 | * @return 48 | * possible object is 49 | * {@link BigDecimal } 50 | * 51 | */ 52 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 53 | public BigDecimal getValue() { 54 | return value; 55 | } 56 | 57 | /** 58 | * Sets the value of the value property. 59 | * 60 | * @param value 61 | * allowed object is 62 | * {@link BigDecimal } 63 | * 64 | */ 65 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 66 | public void setValue(BigDecimal value) { 67 | this.value = value; 68 | } 69 | 70 | /** 71 | * Gets the value of the ccy property. 72 | * 73 | * @return 74 | * possible object is 75 | * {@link String } 76 | * 77 | */ 78 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 79 | public String getCcy() { 80 | return ccy; 81 | } 82 | 83 | /** 84 | * Sets the value of the ccy property. 85 | * 86 | * @param value 87 | * allowed object is 88 | * {@link String } 89 | * 90 | */ 91 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 92 | public void setCcy(String value) { 93 | this.ccy = value; 94 | } 95 | 96 | } 97 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/ActiveOrHistoricCurrencyAndAmount.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import java.math.BigDecimal; 5 | import javax.annotation.Generated; 6 | import javax.xml.bind.annotation.XmlAccessType; 7 | import javax.xml.bind.annotation.XmlAccessorType; 8 | import javax.xml.bind.annotation.XmlAttribute; 9 | import javax.xml.bind.annotation.XmlType; 10 | import javax.xml.bind.annotation.XmlValue; 11 | 12 | 13 | /** 14 | *

Java class for ActiveOrHistoricCurrencyAndAmount complex type. 15 | * 16 | *

The following schema fragment specifies the expected content contained within this class. 17 | * 18 | *

19 |  * <complexType name="ActiveOrHistoricCurrencyAndAmount">
20 |  *   <simpleContent>
21 |  *     <extension base="<urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07>ActiveOrHistoricCurrencyAndAmount_SimpleType">
22 |  *       <attribute name="Ccy" use="required" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}ActiveOrHistoricCurrencyCode" />
23 |  *     </extension>
24 |  *   </simpleContent>
25 |  * </complexType>
26 |  * 
27 | * 28 | * 29 | */ 30 | @XmlAccessorType(XmlAccessType.FIELD) 31 | @XmlType(name = "ActiveOrHistoricCurrencyAndAmount", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 32 | "value" 33 | }) 34 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 35 | public class ActiveOrHistoricCurrencyAndAmount { 36 | 37 | @XmlValue 38 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 39 | protected BigDecimal value; 40 | @XmlAttribute(name = "Ccy", required = true) 41 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 42 | protected String ccy; 43 | 44 | /** 45 | * Gets the value of the value property. 46 | * 47 | * @return 48 | * possible object is 49 | * {@link BigDecimal } 50 | * 51 | */ 52 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 53 | public BigDecimal getValue() { 54 | return value; 55 | } 56 | 57 | /** 58 | * Sets the value of the value property. 59 | * 60 | * @param value 61 | * allowed object is 62 | * {@link BigDecimal } 63 | * 64 | */ 65 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 66 | public void setValue(BigDecimal value) { 67 | this.value = value; 68 | } 69 | 70 | /** 71 | * Gets the value of the ccy property. 72 | * 73 | * @return 74 | * possible object is 75 | * {@link String } 76 | * 77 | */ 78 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 79 | public String getCcy() { 80 | return ccy; 81 | } 82 | 83 | /** 84 | * Sets the value of the ccy property. 85 | * 86 | * @param value 87 | * allowed object is 88 | * {@link String } 89 | * 90 | */ 91 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 92 | public void setCcy(String value) { 93 | this.ccy = value; 94 | } 95 | 96 | } 97 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/AddressType2Code.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlEnum; 6 | import javax.xml.bind.annotation.XmlType; 7 | 8 | 9 | /** 10 | *

Java class for AddressType2Code. 11 | * 12 | *

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

14 | *

15 |  * <simpleType name="AddressType2Code">
16 |  *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
17 |  *     <enumeration value="ADDR"/>
18 |  *     <enumeration value="PBOX"/>
19 |  *     <enumeration value="HOME"/>
20 |  *     <enumeration value="BIZZ"/>
21 |  *     <enumeration value="MLTO"/>
22 |  *     <enumeration value="DLVY"/>
23 |  *   </restriction>
24 |  * </simpleType>
25 |  * 
26 | * 27 | */ 28 | @XmlType(name = "AddressType2Code", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 29 | @XmlEnum 30 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 31 | public enum AddressType2Code { 32 | 33 | ADDR, 34 | PBOX, 35 | HOME, 36 | BIZZ, 37 | MLTO, 38 | DLVY; 39 | 40 | public String value() { 41 | return name(); 42 | } 43 | 44 | public static AddressType2Code fromValue(String v) { 45 | return valueOf(v); 46 | } 47 | 48 | } 49 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/BranchAndFinancialInstitutionIdentification5.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | 10 | 11 | /** 12 | *

Java class for BranchAndFinancialInstitutionIdentification5 complex type. 13 | * 14 | *

The following schema fragment specifies the expected content contained within this class. 15 | * 16 | *

17 |  * <complexType name="BranchAndFinancialInstitutionIdentification5">
18 |  *   <complexContent>
19 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20 |  *       <sequence>
21 |  *         <element name="FinInstnId" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}FinancialInstitutionIdentification8"/>
22 |  *         <element name="BrnchId" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}BranchData2" minOccurs="0"/>
23 |  *       </sequence>
24 |  *     </restriction>
25 |  *   </complexContent>
26 |  * </complexType>
27 |  * 
28 | * 29 | * 30 | */ 31 | @XmlAccessorType(XmlAccessType.FIELD) 32 | @XmlType(name = "BranchAndFinancialInstitutionIdentification5", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 33 | "finInstnId", 34 | "brnchId" 35 | }) 36 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 37 | public class BranchAndFinancialInstitutionIdentification5 { 38 | 39 | @XmlElement(name = "FinInstnId", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", required = true) 40 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 41 | protected FinancialInstitutionIdentification8 finInstnId; 42 | @XmlElement(name = "BrnchId", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected BranchData2 brnchId; 45 | 46 | /** 47 | * Gets the value of the finInstnId property. 48 | * 49 | * @return 50 | * possible object is 51 | * {@link FinancialInstitutionIdentification8 } 52 | * 53 | */ 54 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 55 | public FinancialInstitutionIdentification8 getFinInstnId() { 56 | return finInstnId; 57 | } 58 | 59 | /** 60 | * Sets the value of the finInstnId property. 61 | * 62 | * @param value 63 | * allowed object is 64 | * {@link FinancialInstitutionIdentification8 } 65 | * 66 | */ 67 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 68 | public void setFinInstnId(FinancialInstitutionIdentification8 value) { 69 | this.finInstnId = value; 70 | } 71 | 72 | /** 73 | * Gets the value of the brnchId property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link BranchData2 } 78 | * 79 | */ 80 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 81 | public BranchData2 getBrnchId() { 82 | return brnchId; 83 | } 84 | 85 | /** 86 | * Sets the value of the brnchId property. 87 | * 88 | * @param value 89 | * allowed object is 90 | * {@link BranchData2 } 91 | * 92 | */ 93 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 94 | public void setBrnchId(BranchData2 value) { 95 | this.brnchId = value; 96 | } 97 | 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/CashAccountType2Choice.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | 10 | 11 | /** 12 | *

Java class for CashAccountType2Choice complex type. 13 | * 14 | *

The following schema fragment specifies the expected content contained within this class. 15 | * 16 | *

17 |  * <complexType name="CashAccountType2Choice">
18 |  *   <complexContent>
19 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20 |  *       <choice>
21 |  *         <element name="Cd" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}ExternalCashAccountType1Code"/>
22 |  *         <element name="Prtry" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}Max35Text"/>
23 |  *       </choice>
24 |  *     </restriction>
25 |  *   </complexContent>
26 |  * </complexType>
27 |  * 
28 | * 29 | * 30 | */ 31 | @XmlAccessorType(XmlAccessType.FIELD) 32 | @XmlType(name = "CashAccountType2Choice", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 33 | "cd", 34 | "prtry" 35 | }) 36 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 37 | public class CashAccountType2Choice { 38 | 39 | @XmlElement(name = "Cd", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 40 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 41 | protected String cd; 42 | @XmlElement(name = "Prtry", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected String prtry; 45 | 46 | /** 47 | * Gets the value of the cd property. 48 | * 49 | * @return 50 | * possible object is 51 | * {@link String } 52 | * 53 | */ 54 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 55 | public String getCd() { 56 | return cd; 57 | } 58 | 59 | /** 60 | * Sets the value of the cd property. 61 | * 62 | * @param value 63 | * allowed object is 64 | * {@link String } 65 | * 66 | */ 67 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 68 | public void setCd(String value) { 69 | this.cd = value; 70 | } 71 | 72 | /** 73 | * Gets the value of the prtry property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link String } 78 | * 79 | */ 80 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 81 | public String getPrtry() { 82 | return prtry; 83 | } 84 | 85 | /** 86 | * Sets the value of the prtry property. 87 | * 88 | * @param value 89 | * allowed object is 90 | * {@link String } 91 | * 92 | */ 93 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 94 | public void setPrtry(String value) { 95 | this.prtry = value; 96 | } 97 | 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/CategoryPurpose1Choice.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | 10 | 11 | /** 12 | *

Java class for CategoryPurpose1Choice complex type. 13 | * 14 | *

The following schema fragment specifies the expected content contained within this class. 15 | * 16 | *

17 |  * <complexType name="CategoryPurpose1Choice">
18 |  *   <complexContent>
19 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20 |  *       <choice>
21 |  *         <element name="Cd" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}ExternalCategoryPurpose1Code"/>
22 |  *         <element name="Prtry" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}Max35Text"/>
23 |  *       </choice>
24 |  *     </restriction>
25 |  *   </complexContent>
26 |  * </complexType>
27 |  * 
28 | * 29 | * 30 | */ 31 | @XmlAccessorType(XmlAccessType.FIELD) 32 | @XmlType(name = "CategoryPurpose1Choice", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 33 | "cd", 34 | "prtry" 35 | }) 36 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 37 | public class CategoryPurpose1Choice { 38 | 39 | @XmlElement(name = "Cd", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 40 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 41 | protected String cd; 42 | @XmlElement(name = "Prtry", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected String prtry; 45 | 46 | /** 47 | * Gets the value of the cd property. 48 | * 49 | * @return 50 | * possible object is 51 | * {@link String } 52 | * 53 | */ 54 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 55 | public String getCd() { 56 | return cd; 57 | } 58 | 59 | /** 60 | * Sets the value of the cd property. 61 | * 62 | * @param value 63 | * allowed object is 64 | * {@link String } 65 | * 66 | */ 67 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 68 | public void setCd(String value) { 69 | this.cd = value; 70 | } 71 | 72 | /** 73 | * Gets the value of the prtry property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link String } 78 | * 79 | */ 80 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 81 | public String getPrtry() { 82 | return prtry; 83 | } 84 | 85 | /** 86 | * Sets the value of the prtry property. 87 | * 88 | * @param value 89 | * allowed object is 90 | * {@link String } 91 | * 92 | */ 93 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 94 | public void setPrtry(String value) { 95 | this.prtry = value; 96 | } 97 | 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/ChargeBearerType1Code.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlEnum; 6 | import javax.xml.bind.annotation.XmlType; 7 | 8 | 9 | /** 10 | *

Java class for ChargeBearerType1Code. 11 | * 12 | *

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

14 | *

15 |  * <simpleType name="ChargeBearerType1Code">
16 |  *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
17 |  *     <enumeration value="DEBT"/>
18 |  *     <enumeration value="CRED"/>
19 |  *     <enumeration value="SHAR"/>
20 |  *     <enumeration value="SLEV"/>
21 |  *   </restriction>
22 |  * </simpleType>
23 |  * 
24 | * 25 | */ 26 | @XmlType(name = "ChargeBearerType1Code", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 27 | @XmlEnum 28 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 29 | public enum ChargeBearerType1Code { 30 | 31 | DEBT, 32 | CRED, 33 | SHAR, 34 | SLEV; 35 | 36 | public String value() { 37 | return name(); 38 | } 39 | 40 | public static ChargeBearerType1Code fromValue(String v) { 41 | return valueOf(v); 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/Charges2.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | 10 | 11 | /** 12 | *

Java class for Charges2 complex type. 13 | * 14 | *

The following schema fragment specifies the expected content contained within this class. 15 | * 16 | *

17 |  * <complexType name="Charges2">
18 |  *   <complexContent>
19 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20 |  *       <sequence>
21 |  *         <element name="Amt" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}ActiveOrHistoricCurrencyAndAmount"/>
22 |  *         <element name="Agt" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}BranchAndFinancialInstitutionIdentification5"/>
23 |  *       </sequence>
24 |  *     </restriction>
25 |  *   </complexContent>
26 |  * </complexType>
27 |  * 
28 | * 29 | * 30 | */ 31 | @XmlAccessorType(XmlAccessType.FIELD) 32 | @XmlType(name = "Charges2", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 33 | "amt", 34 | "agt" 35 | }) 36 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 37 | public class Charges2 { 38 | 39 | @XmlElement(name = "Amt", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", required = true) 40 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 41 | protected ActiveOrHistoricCurrencyAndAmount amt; 42 | @XmlElement(name = "Agt", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", required = true) 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected BranchAndFinancialInstitutionIdentification5 agt; 45 | 46 | /** 47 | * Gets the value of the amt property. 48 | * 49 | * @return 50 | * possible object is 51 | * {@link ActiveOrHistoricCurrencyAndAmount } 52 | * 53 | */ 54 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 55 | public ActiveOrHistoricCurrencyAndAmount getAmt() { 56 | return amt; 57 | } 58 | 59 | /** 60 | * Sets the value of the amt property. 61 | * 62 | * @param value 63 | * allowed object is 64 | * {@link ActiveOrHistoricCurrencyAndAmount } 65 | * 66 | */ 67 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 68 | public void setAmt(ActiveOrHistoricCurrencyAndAmount value) { 69 | this.amt = value; 70 | } 71 | 72 | /** 73 | * Gets the value of the agt property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link BranchAndFinancialInstitutionIdentification5 } 78 | * 79 | */ 80 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 81 | public BranchAndFinancialInstitutionIdentification5 getAgt() { 82 | return agt; 83 | } 84 | 85 | /** 86 | * Sets the value of the agt property. 87 | * 88 | * @param value 89 | * allowed object is 90 | * {@link BranchAndFinancialInstitutionIdentification5 } 91 | * 92 | */ 93 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 94 | public void setAgt(BranchAndFinancialInstitutionIdentification5 value) { 95 | this.agt = value; 96 | } 97 | 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/ClearingChannel2Code.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlEnum; 6 | import javax.xml.bind.annotation.XmlType; 7 | 8 | 9 | /** 10 | *

Java class for ClearingChannel2Code. 11 | * 12 | *

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

14 | *

15 |  * <simpleType name="ClearingChannel2Code">
16 |  *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
17 |  *     <enumeration value="RTGS"/>
18 |  *     <enumeration value="RTNS"/>
19 |  *     <enumeration value="MPNS"/>
20 |  *     <enumeration value="BOOK"/>
21 |  *   </restriction>
22 |  * </simpleType>
23 |  * 
24 | * 25 | */ 26 | @XmlType(name = "ClearingChannel2Code", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 27 | @XmlEnum 28 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 29 | public enum ClearingChannel2Code { 30 | 31 | RTGS, 32 | RTNS, 33 | MPNS, 34 | BOOK; 35 | 36 | public String value() { 37 | return name(); 38 | } 39 | 40 | public static ClearingChannel2Code fromValue(String v) { 41 | return valueOf(v); 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/ClearingSystemIdentification2Choice.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | 10 | 11 | /** 12 | *

Java class for ClearingSystemIdentification2Choice complex type. 13 | * 14 | *

The following schema fragment specifies the expected content contained within this class. 15 | * 16 | *

17 |  * <complexType name="ClearingSystemIdentification2Choice">
18 |  *   <complexContent>
19 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20 |  *       <choice>
21 |  *         <element name="Cd" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}ExternalClearingSystemIdentification1Code"/>
22 |  *         <element name="Prtry" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}Max35Text"/>
23 |  *       </choice>
24 |  *     </restriction>
25 |  *   </complexContent>
26 |  * </complexType>
27 |  * 
28 | * 29 | * 30 | */ 31 | @XmlAccessorType(XmlAccessType.FIELD) 32 | @XmlType(name = "ClearingSystemIdentification2Choice", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 33 | "cd", 34 | "prtry" 35 | }) 36 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 37 | public class ClearingSystemIdentification2Choice { 38 | 39 | @XmlElement(name = "Cd", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 40 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 41 | protected String cd; 42 | @XmlElement(name = "Prtry", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected String prtry; 45 | 46 | /** 47 | * Gets the value of the cd property. 48 | * 49 | * @return 50 | * possible object is 51 | * {@link String } 52 | * 53 | */ 54 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 55 | public String getCd() { 56 | return cd; 57 | } 58 | 59 | /** 60 | * Sets the value of the cd property. 61 | * 62 | * @param value 63 | * allowed object is 64 | * {@link String } 65 | * 66 | */ 67 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 68 | public void setCd(String value) { 69 | this.cd = value; 70 | } 71 | 72 | /** 73 | * Gets the value of the prtry property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link String } 78 | * 79 | */ 80 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 81 | public String getPrtry() { 82 | return prtry; 83 | } 84 | 85 | /** 86 | * Sets the value of the prtry property. 87 | * 88 | * @param value 89 | * allowed object is 90 | * {@link String } 91 | * 92 | */ 93 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 94 | public void setPrtry(String value) { 95 | this.prtry = value; 96 | } 97 | 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/ClearingSystemIdentification3Choice.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | 10 | 11 | /** 12 | *

Java class for ClearingSystemIdentification3Choice complex type. 13 | * 14 | *

The following schema fragment specifies the expected content contained within this class. 15 | * 16 | *

17 |  * <complexType name="ClearingSystemIdentification3Choice">
18 |  *   <complexContent>
19 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20 |  *       <choice>
21 |  *         <element name="Cd" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}ExternalCashClearingSystem1Code"/>
22 |  *         <element name="Prtry" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}Max35Text"/>
23 |  *       </choice>
24 |  *     </restriction>
25 |  *   </complexContent>
26 |  * </complexType>
27 |  * 
28 | * 29 | * 30 | */ 31 | @XmlAccessorType(XmlAccessType.FIELD) 32 | @XmlType(name = "ClearingSystemIdentification3Choice", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 33 | "cd", 34 | "prtry" 35 | }) 36 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 37 | public class ClearingSystemIdentification3Choice { 38 | 39 | @XmlElement(name = "Cd", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 40 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 41 | protected String cd; 42 | @XmlElement(name = "Prtry", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected String prtry; 45 | 46 | /** 47 | * Gets the value of the cd property. 48 | * 49 | * @return 50 | * possible object is 51 | * {@link String } 52 | * 53 | */ 54 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 55 | public String getCd() { 56 | return cd; 57 | } 58 | 59 | /** 60 | * Sets the value of the cd property. 61 | * 62 | * @param value 63 | * allowed object is 64 | * {@link String } 65 | * 66 | */ 67 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 68 | public void setCd(String value) { 69 | this.cd = value; 70 | } 71 | 72 | /** 73 | * Gets the value of the prtry property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link String } 78 | * 79 | */ 80 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 81 | public String getPrtry() { 82 | return prtry; 83 | } 84 | 85 | /** 86 | * Sets the value of the prtry property. 87 | * 88 | * @param value 89 | * allowed object is 90 | * {@link String } 91 | * 92 | */ 93 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 94 | public void setPrtry(String value) { 95 | this.prtry = value; 96 | } 97 | 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/ClearingSystemMemberIdentification2.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | 10 | 11 | /** 12 | *

Java class for ClearingSystemMemberIdentification2 complex type. 13 | * 14 | *

The following schema fragment specifies the expected content contained within this class. 15 | * 16 | *

17 |  * <complexType name="ClearingSystemMemberIdentification2">
18 |  *   <complexContent>
19 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20 |  *       <sequence>
21 |  *         <element name="ClrSysId" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}ClearingSystemIdentification2Choice" minOccurs="0"/>
22 |  *         <element name="MmbId" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}Max35Text"/>
23 |  *       </sequence>
24 |  *     </restriction>
25 |  *   </complexContent>
26 |  * </complexType>
27 |  * 
28 | * 29 | * 30 | */ 31 | @XmlAccessorType(XmlAccessType.FIELD) 32 | @XmlType(name = "ClearingSystemMemberIdentification2", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 33 | "clrSysId", 34 | "mmbId" 35 | }) 36 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 37 | public class ClearingSystemMemberIdentification2 { 38 | 39 | @XmlElement(name = "ClrSysId", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 40 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 41 | protected ClearingSystemIdentification2Choice clrSysId; 42 | @XmlElement(name = "MmbId", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", required = true) 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected String mmbId; 45 | 46 | /** 47 | * Gets the value of the clrSysId property. 48 | * 49 | * @return 50 | * possible object is 51 | * {@link ClearingSystemIdentification2Choice } 52 | * 53 | */ 54 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 55 | public ClearingSystemIdentification2Choice getClrSysId() { 56 | return clrSysId; 57 | } 58 | 59 | /** 60 | * Sets the value of the clrSysId property. 61 | * 62 | * @param value 63 | * allowed object is 64 | * {@link ClearingSystemIdentification2Choice } 65 | * 66 | */ 67 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 68 | public void setClrSysId(ClearingSystemIdentification2Choice value) { 69 | this.clrSysId = value; 70 | } 71 | 72 | /** 73 | * Gets the value of the mmbId property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link String } 78 | * 79 | */ 80 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 81 | public String getMmbId() { 82 | return mmbId; 83 | } 84 | 85 | /** 86 | * Sets the value of the mmbId property. 87 | * 88 | * @param value 89 | * allowed object is 90 | * {@link String } 91 | * 92 | */ 93 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 94 | public void setMmbId(String value) { 95 | this.mmbId = value; 96 | } 97 | 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/CreditDebitCode.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlEnum; 6 | import javax.xml.bind.annotation.XmlType; 7 | 8 | 9 | /** 10 | *

Java class for CreditDebitCode. 11 | * 12 | *

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

14 | *

15 |  * <simpleType name="CreditDebitCode">
16 |  *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
17 |  *     <enumeration value="CRDT"/>
18 |  *     <enumeration value="DBIT"/>
19 |  *   </restriction>
20 |  * </simpleType>
21 |  * 
22 | * 23 | */ 24 | @XmlType(name = "CreditDebitCode", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 25 | @XmlEnum 26 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 27 | public enum CreditDebitCode { 28 | 29 | CRDT, 30 | DBIT; 31 | 32 | public String value() { 33 | return name(); 34 | } 35 | 36 | public static CreditDebitCode fromValue(String v) { 37 | return valueOf(v); 38 | } 39 | 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/CreditorReferenceInformation2.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | 10 | 11 | /** 12 | *

Java class for CreditorReferenceInformation2 complex type. 13 | * 14 | *

The following schema fragment specifies the expected content contained within this class. 15 | * 16 | *

17 |  * <complexType name="CreditorReferenceInformation2">
18 |  *   <complexContent>
19 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20 |  *       <sequence>
21 |  *         <element name="Tp" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}CreditorReferenceType2" minOccurs="0"/>
22 |  *         <element name="Ref" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}Max35Text" minOccurs="0"/>
23 |  *       </sequence>
24 |  *     </restriction>
25 |  *   </complexContent>
26 |  * </complexType>
27 |  * 
28 | * 29 | * 30 | */ 31 | @XmlAccessorType(XmlAccessType.FIELD) 32 | @XmlType(name = "CreditorReferenceInformation2", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 33 | "tp", 34 | "ref" 35 | }) 36 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 37 | public class CreditorReferenceInformation2 { 38 | 39 | @XmlElement(name = "Tp", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 40 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 41 | protected CreditorReferenceType2 tp; 42 | @XmlElement(name = "Ref", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected String ref; 45 | 46 | /** 47 | * Gets the value of the tp property. 48 | * 49 | * @return 50 | * possible object is 51 | * {@link CreditorReferenceType2 } 52 | * 53 | */ 54 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 55 | public CreditorReferenceType2 getTp() { 56 | return tp; 57 | } 58 | 59 | /** 60 | * Sets the value of the tp property. 61 | * 62 | * @param value 63 | * allowed object is 64 | * {@link CreditorReferenceType2 } 65 | * 66 | */ 67 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 68 | public void setTp(CreditorReferenceType2 value) { 69 | this.tp = value; 70 | } 71 | 72 | /** 73 | * Gets the value of the ref property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link String } 78 | * 79 | */ 80 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 81 | public String getRef() { 82 | return ref; 83 | } 84 | 85 | /** 86 | * Sets the value of the ref property. 87 | * 88 | * @param value 89 | * allowed object is 90 | * {@link String } 91 | * 92 | */ 93 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 94 | public void setRef(String value) { 95 | this.ref = value; 96 | } 97 | 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/CreditorReferenceType1Choice.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlSchemaType; 9 | import javax.xml.bind.annotation.XmlType; 10 | 11 | 12 | /** 13 | *

Java class for CreditorReferenceType1Choice complex type. 14 | * 15 | *

The following schema fragment specifies the expected content contained within this class. 16 | * 17 | *

 18 |  * <complexType name="CreditorReferenceType1Choice">
 19 |  *   <complexContent>
 20 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 21 |  *       <choice>
 22 |  *         <element name="Cd" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}DocumentType3Code"/>
 23 |  *         <element name="Prtry" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}Max35Text"/>
 24 |  *       </choice>
 25 |  *     </restriction>
 26 |  *   </complexContent>
 27 |  * </complexType>
 28 |  * 
29 | * 30 | * 31 | */ 32 | @XmlAccessorType(XmlAccessType.FIELD) 33 | @XmlType(name = "CreditorReferenceType1Choice", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 34 | "cd", 35 | "prtry" 36 | }) 37 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 38 | public class CreditorReferenceType1Choice { 39 | 40 | @XmlElement(name = "Cd", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 41 | @XmlSchemaType(name = "string") 42 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 43 | protected DocumentType3Code cd; 44 | @XmlElement(name = "Prtry", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 45 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 46 | protected String prtry; 47 | 48 | /** 49 | * Gets the value of the cd property. 50 | * 51 | * @return 52 | * possible object is 53 | * {@link DocumentType3Code } 54 | * 55 | */ 56 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 57 | public DocumentType3Code getCd() { 58 | return cd; 59 | } 60 | 61 | /** 62 | * Sets the value of the cd property. 63 | * 64 | * @param value 65 | * allowed object is 66 | * {@link DocumentType3Code } 67 | * 68 | */ 69 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 70 | public void setCd(DocumentType3Code value) { 71 | this.cd = value; 72 | } 73 | 74 | /** 75 | * Gets the value of the prtry property. 76 | * 77 | * @return 78 | * possible object is 79 | * {@link String } 80 | * 81 | */ 82 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 83 | public String getPrtry() { 84 | return prtry; 85 | } 86 | 87 | /** 88 | * Sets the value of the prtry property. 89 | * 90 | * @param value 91 | * allowed object is 92 | * {@link String } 93 | * 94 | */ 95 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 96 | public void setPrtry(String value) { 97 | this.prtry = value; 98 | } 99 | 100 | } 101 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/CreditorReferenceType2.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | 10 | 11 | /** 12 | *

Java class for CreditorReferenceType2 complex type. 13 | * 14 | *

The following schema fragment specifies the expected content contained within this class. 15 | * 16 | *

17 |  * <complexType name="CreditorReferenceType2">
18 |  *   <complexContent>
19 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20 |  *       <sequence>
21 |  *         <element name="CdOrPrtry" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}CreditorReferenceType1Choice"/>
22 |  *         <element name="Issr" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}Max35Text" minOccurs="0"/>
23 |  *       </sequence>
24 |  *     </restriction>
25 |  *   </complexContent>
26 |  * </complexType>
27 |  * 
28 | * 29 | * 30 | */ 31 | @XmlAccessorType(XmlAccessType.FIELD) 32 | @XmlType(name = "CreditorReferenceType2", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 33 | "cdOrPrtry", 34 | "issr" 35 | }) 36 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 37 | public class CreditorReferenceType2 { 38 | 39 | @XmlElement(name = "CdOrPrtry", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", required = true) 40 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 41 | protected CreditorReferenceType1Choice cdOrPrtry; 42 | @XmlElement(name = "Issr", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected String issr; 45 | 46 | /** 47 | * Gets the value of the cdOrPrtry property. 48 | * 49 | * @return 50 | * possible object is 51 | * {@link CreditorReferenceType1Choice } 52 | * 53 | */ 54 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 55 | public CreditorReferenceType1Choice getCdOrPrtry() { 56 | return cdOrPrtry; 57 | } 58 | 59 | /** 60 | * Sets the value of the cdOrPrtry property. 61 | * 62 | * @param value 63 | * allowed object is 64 | * {@link CreditorReferenceType1Choice } 65 | * 66 | */ 67 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 68 | public void setCdOrPrtry(CreditorReferenceType1Choice value) { 69 | this.cdOrPrtry = value; 70 | } 71 | 72 | /** 73 | * Gets the value of the issr property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link String } 78 | * 79 | */ 80 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 81 | public String getIssr() { 82 | return issr; 83 | } 84 | 85 | /** 86 | * Sets the value of the issr property. 87 | * 88 | * @param value 89 | * allowed object is 90 | * {@link String } 91 | * 92 | */ 93 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 94 | public void setIssr(String value) { 95 | this.issr = value; 96 | } 97 | 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/DatePeriod2.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlSchemaType; 9 | import javax.xml.bind.annotation.XmlType; 10 | import javax.xml.datatype.XMLGregorianCalendar; 11 | 12 | 13 | /** 14 | *

Java class for DatePeriod2 complex type. 15 | * 16 | *

The following schema fragment specifies the expected content contained within this class. 17 | * 18 | *

 19 |  * <complexType name="DatePeriod2">
 20 |  *   <complexContent>
 21 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 22 |  *       <sequence>
 23 |  *         <element name="FrDt" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}ISODate"/>
 24 |  *         <element name="ToDt" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}ISODate"/>
 25 |  *       </sequence>
 26 |  *     </restriction>
 27 |  *   </complexContent>
 28 |  * </complexType>
 29 |  * 
30 | * 31 | * 32 | */ 33 | @XmlAccessorType(XmlAccessType.FIELD) 34 | @XmlType(name = "DatePeriod2", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 35 | "frDt", 36 | "toDt" 37 | }) 38 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 39 | public class DatePeriod2 { 40 | 41 | @XmlElement(name = "FrDt", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", required = true) 42 | @XmlSchemaType(name = "date") 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected XMLGregorianCalendar frDt; 45 | @XmlElement(name = "ToDt", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", required = true) 46 | @XmlSchemaType(name = "date") 47 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 48 | protected XMLGregorianCalendar toDt; 49 | 50 | /** 51 | * Gets the value of the frDt property. 52 | * 53 | * @return 54 | * possible object is 55 | * {@link XMLGregorianCalendar } 56 | * 57 | */ 58 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 59 | public XMLGregorianCalendar getFrDt() { 60 | return frDt; 61 | } 62 | 63 | /** 64 | * Sets the value of the frDt property. 65 | * 66 | * @param value 67 | * allowed object is 68 | * {@link XMLGregorianCalendar } 69 | * 70 | */ 71 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 72 | public void setFrDt(XMLGregorianCalendar value) { 73 | this.frDt = value; 74 | } 75 | 76 | /** 77 | * Gets the value of the toDt property. 78 | * 79 | * @return 80 | * possible object is 81 | * {@link XMLGregorianCalendar } 82 | * 83 | */ 84 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 85 | public XMLGregorianCalendar getToDt() { 86 | return toDt; 87 | } 88 | 89 | /** 90 | * Sets the value of the toDt property. 91 | * 92 | * @param value 93 | * allowed object is 94 | * {@link XMLGregorianCalendar } 95 | * 96 | */ 97 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 98 | public void setToDt(XMLGregorianCalendar value) { 99 | this.toDt = value; 100 | } 101 | 102 | } 103 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/DiscountAmountAndType1.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | 10 | 11 | /** 12 | *

Java class for DiscountAmountAndType1 complex type. 13 | * 14 | *

The following schema fragment specifies the expected content contained within this class. 15 | * 16 | *

17 |  * <complexType name="DiscountAmountAndType1">
18 |  *   <complexContent>
19 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20 |  *       <sequence>
21 |  *         <element name="Tp" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}DiscountAmountType1Choice" minOccurs="0"/>
22 |  *         <element name="Amt" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}ActiveOrHistoricCurrencyAndAmount"/>
23 |  *       </sequence>
24 |  *     </restriction>
25 |  *   </complexContent>
26 |  * </complexType>
27 |  * 
28 | * 29 | * 30 | */ 31 | @XmlAccessorType(XmlAccessType.FIELD) 32 | @XmlType(name = "DiscountAmountAndType1", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 33 | "tp", 34 | "amt" 35 | }) 36 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 37 | public class DiscountAmountAndType1 { 38 | 39 | @XmlElement(name = "Tp", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 40 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 41 | protected DiscountAmountType1Choice tp; 42 | @XmlElement(name = "Amt", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", required = true) 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected ActiveOrHistoricCurrencyAndAmount amt; 45 | 46 | /** 47 | * Gets the value of the tp property. 48 | * 49 | * @return 50 | * possible object is 51 | * {@link DiscountAmountType1Choice } 52 | * 53 | */ 54 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 55 | public DiscountAmountType1Choice getTp() { 56 | return tp; 57 | } 58 | 59 | /** 60 | * Sets the value of the tp property. 61 | * 62 | * @param value 63 | * allowed object is 64 | * {@link DiscountAmountType1Choice } 65 | * 66 | */ 67 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 68 | public void setTp(DiscountAmountType1Choice value) { 69 | this.tp = value; 70 | } 71 | 72 | /** 73 | * Gets the value of the amt property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link ActiveOrHistoricCurrencyAndAmount } 78 | * 79 | */ 80 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 81 | public ActiveOrHistoricCurrencyAndAmount getAmt() { 82 | return amt; 83 | } 84 | 85 | /** 86 | * Sets the value of the amt property. 87 | * 88 | * @param value 89 | * allowed object is 90 | * {@link ActiveOrHistoricCurrencyAndAmount } 91 | * 92 | */ 93 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 94 | public void setAmt(ActiveOrHistoricCurrencyAndAmount value) { 95 | this.amt = value; 96 | } 97 | 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/DiscountAmountType1Choice.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | 10 | 11 | /** 12 | *

Java class for DiscountAmountType1Choice complex type. 13 | * 14 | *

The following schema fragment specifies the expected content contained within this class. 15 | * 16 | *

17 |  * <complexType name="DiscountAmountType1Choice">
18 |  *   <complexContent>
19 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20 |  *       <choice>
21 |  *         <element name="Cd" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}ExternalDiscountAmountType1Code"/>
22 |  *         <element name="Prtry" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}Max35Text"/>
23 |  *       </choice>
24 |  *     </restriction>
25 |  *   </complexContent>
26 |  * </complexType>
27 |  * 
28 | * 29 | * 30 | */ 31 | @XmlAccessorType(XmlAccessType.FIELD) 32 | @XmlType(name = "DiscountAmountType1Choice", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 33 | "cd", 34 | "prtry" 35 | }) 36 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 37 | public class DiscountAmountType1Choice { 38 | 39 | @XmlElement(name = "Cd", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 40 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 41 | protected String cd; 42 | @XmlElement(name = "Prtry", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected String prtry; 45 | 46 | /** 47 | * Gets the value of the cd property. 48 | * 49 | * @return 50 | * possible object is 51 | * {@link String } 52 | * 53 | */ 54 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 55 | public String getCd() { 56 | return cd; 57 | } 58 | 59 | /** 60 | * Sets the value of the cd property. 61 | * 62 | * @param value 63 | * allowed object is 64 | * {@link String } 65 | * 66 | */ 67 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 68 | public void setCd(String value) { 69 | this.cd = value; 70 | } 71 | 72 | /** 73 | * Gets the value of the prtry property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link String } 78 | * 79 | */ 80 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 81 | public String getPrtry() { 82 | return prtry; 83 | } 84 | 85 | /** 86 | * Sets the value of the prtry property. 87 | * 88 | * @param value 89 | * allowed object is 90 | * {@link String } 91 | * 92 | */ 93 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 94 | public void setPrtry(String value) { 95 | this.prtry = value; 96 | } 97 | 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/Document.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | 10 | 11 | /** 12 | *

Java class for Document complex type. 13 | * 14 | *

The following schema fragment specifies the expected content contained within this class. 15 | * 16 | *

17 |  * <complexType name="Document">
18 |  *   <complexContent>
19 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20 |  *       <sequence>
21 |  *         <element name="FIToFICstmrCdtTrf" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}FIToFICustomerCreditTransferV07"/>
22 |  *       </sequence>
23 |  *     </restriction>
24 |  *   </complexContent>
25 |  * </complexType>
26 |  * 
27 | * 28 | * 29 | */ 30 | @XmlAccessorType(XmlAccessType.FIELD) 31 | @XmlType(name = "Document", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 32 | "fiToFICstmrCdtTrf" 33 | }) 34 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 35 | public class Document { 36 | 37 | @XmlElement(name = "FIToFICstmrCdtTrf", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", required = true) 38 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 39 | protected FIToFICustomerCreditTransferV07 fiToFICstmrCdtTrf; 40 | 41 | /** 42 | * Gets the value of the fiToFICstmrCdtTrf property. 43 | * 44 | * @return 45 | * possible object is 46 | * {@link FIToFICustomerCreditTransferV07 } 47 | * 48 | */ 49 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 50 | public FIToFICustomerCreditTransferV07 getFIToFICstmrCdtTrf() { 51 | return fiToFICstmrCdtTrf; 52 | } 53 | 54 | /** 55 | * Sets the value of the fiToFICstmrCdtTrf property. 56 | * 57 | * @param value 58 | * allowed object is 59 | * {@link FIToFICustomerCreditTransferV07 } 60 | * 61 | */ 62 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 63 | public void setFIToFICstmrCdtTrf(FIToFICustomerCreditTransferV07 value) { 64 | this.fiToFICstmrCdtTrf = value; 65 | } 66 | 67 | } 68 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/DocumentLineType1.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | 10 | 11 | /** 12 | *

Java class for DocumentLineType1 complex type. 13 | * 14 | *

The following schema fragment specifies the expected content contained within this class. 15 | * 16 | *

17 |  * <complexType name="DocumentLineType1">
18 |  *   <complexContent>
19 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20 |  *       <sequence>
21 |  *         <element name="CdOrPrtry" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}DocumentLineType1Choice"/>
22 |  *         <element name="Issr" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}Max35Text" minOccurs="0"/>
23 |  *       </sequence>
24 |  *     </restriction>
25 |  *   </complexContent>
26 |  * </complexType>
27 |  * 
28 | * 29 | * 30 | */ 31 | @XmlAccessorType(XmlAccessType.FIELD) 32 | @XmlType(name = "DocumentLineType1", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 33 | "cdOrPrtry", 34 | "issr" 35 | }) 36 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 37 | public class DocumentLineType1 { 38 | 39 | @XmlElement(name = "CdOrPrtry", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", required = true) 40 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 41 | protected DocumentLineType1Choice cdOrPrtry; 42 | @XmlElement(name = "Issr", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected String issr; 45 | 46 | /** 47 | * Gets the value of the cdOrPrtry property. 48 | * 49 | * @return 50 | * possible object is 51 | * {@link DocumentLineType1Choice } 52 | * 53 | */ 54 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 55 | public DocumentLineType1Choice getCdOrPrtry() { 56 | return cdOrPrtry; 57 | } 58 | 59 | /** 60 | * Sets the value of the cdOrPrtry property. 61 | * 62 | * @param value 63 | * allowed object is 64 | * {@link DocumentLineType1Choice } 65 | * 66 | */ 67 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 68 | public void setCdOrPrtry(DocumentLineType1Choice value) { 69 | this.cdOrPrtry = value; 70 | } 71 | 72 | /** 73 | * Gets the value of the issr property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link String } 78 | * 79 | */ 80 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 81 | public String getIssr() { 82 | return issr; 83 | } 84 | 85 | /** 86 | * Sets the value of the issr property. 87 | * 88 | * @param value 89 | * allowed object is 90 | * {@link String } 91 | * 92 | */ 93 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 94 | public void setIssr(String value) { 95 | this.issr = value; 96 | } 97 | 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/DocumentLineType1Choice.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | 10 | 11 | /** 12 | *

Java class for DocumentLineType1Choice complex type. 13 | * 14 | *

The following schema fragment specifies the expected content contained within this class. 15 | * 16 | *

17 |  * <complexType name="DocumentLineType1Choice">
18 |  *   <complexContent>
19 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20 |  *       <choice>
21 |  *         <element name="Cd" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}ExternalDocumentLineType1Code"/>
22 |  *         <element name="Prtry" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}Max35Text"/>
23 |  *       </choice>
24 |  *     </restriction>
25 |  *   </complexContent>
26 |  * </complexType>
27 |  * 
28 | * 29 | * 30 | */ 31 | @XmlAccessorType(XmlAccessType.FIELD) 32 | @XmlType(name = "DocumentLineType1Choice", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 33 | "cd", 34 | "prtry" 35 | }) 36 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 37 | public class DocumentLineType1Choice { 38 | 39 | @XmlElement(name = "Cd", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 40 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 41 | protected String cd; 42 | @XmlElement(name = "Prtry", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected String prtry; 45 | 46 | /** 47 | * Gets the value of the cd property. 48 | * 49 | * @return 50 | * possible object is 51 | * {@link String } 52 | * 53 | */ 54 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 55 | public String getCd() { 56 | return cd; 57 | } 58 | 59 | /** 60 | * Sets the value of the cd property. 61 | * 62 | * @param value 63 | * allowed object is 64 | * {@link String } 65 | * 66 | */ 67 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 68 | public void setCd(String value) { 69 | this.cd = value; 70 | } 71 | 72 | /** 73 | * Gets the value of the prtry property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link String } 78 | * 79 | */ 80 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 81 | public String getPrtry() { 82 | return prtry; 83 | } 84 | 85 | /** 86 | * Sets the value of the prtry property. 87 | * 88 | * @param value 89 | * allowed object is 90 | * {@link String } 91 | * 92 | */ 93 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 94 | public void setPrtry(String value) { 95 | this.prtry = value; 96 | } 97 | 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/DocumentType3Code.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlEnum; 6 | import javax.xml.bind.annotation.XmlType; 7 | 8 | 9 | /** 10 | *

Java class for DocumentType3Code. 11 | * 12 | *

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

14 | *

15 |  * <simpleType name="DocumentType3Code">
16 |  *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
17 |  *     <enumeration value="RADM"/>
18 |  *     <enumeration value="RPIN"/>
19 |  *     <enumeration value="FXDR"/>
20 |  *     <enumeration value="DISP"/>
21 |  *     <enumeration value="PUOR"/>
22 |  *     <enumeration value="SCOR"/>
23 |  *   </restriction>
24 |  * </simpleType>
25 |  * 
26 | * 27 | */ 28 | @XmlType(name = "DocumentType3Code", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 29 | @XmlEnum 30 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 31 | public enum DocumentType3Code { 32 | 33 | RADM, 34 | RPIN, 35 | FXDR, 36 | DISP, 37 | PUOR, 38 | SCOR; 39 | 40 | public String value() { 41 | return name(); 42 | } 43 | 44 | public static DocumentType3Code fromValue(String v) { 45 | return valueOf(v); 46 | } 47 | 48 | } 49 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/DocumentType6Code.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlEnum; 6 | import javax.xml.bind.annotation.XmlType; 7 | 8 | 9 | /** 10 | *

Java class for DocumentType6Code. 11 | * 12 | *

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

14 | *

15 |  * <simpleType name="DocumentType6Code">
16 |  *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
17 |  *     <enumeration value="MSIN"/>
18 |  *     <enumeration value="CNFA"/>
19 |  *     <enumeration value="DNFA"/>
20 |  *     <enumeration value="CINV"/>
21 |  *     <enumeration value="CREN"/>
22 |  *     <enumeration value="DEBN"/>
23 |  *     <enumeration value="HIRI"/>
24 |  *     <enumeration value="SBIN"/>
25 |  *     <enumeration value="CMCN"/>
26 |  *     <enumeration value="SOAC"/>
27 |  *     <enumeration value="DISP"/>
28 |  *     <enumeration value="BOLD"/>
29 |  *     <enumeration value="VCHR"/>
30 |  *     <enumeration value="AROI"/>
31 |  *     <enumeration value="TSUT"/>
32 |  *     <enumeration value="PUOR"/>
33 |  *   </restriction>
34 |  * </simpleType>
35 |  * 
36 | * 37 | */ 38 | @XmlType(name = "DocumentType6Code", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 39 | @XmlEnum 40 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 41 | public enum DocumentType6Code { 42 | 43 | MSIN, 44 | CNFA, 45 | DNFA, 46 | CINV, 47 | CREN, 48 | DEBN, 49 | HIRI, 50 | SBIN, 51 | CMCN, 52 | SOAC, 53 | DISP, 54 | BOLD, 55 | VCHR, 56 | AROI, 57 | TSUT, 58 | PUOR; 59 | 60 | public String value() { 61 | return name(); 62 | } 63 | 64 | public static DocumentType6Code fromValue(String v) { 65 | return valueOf(v); 66 | } 67 | 68 | } 69 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/FinancialIdentificationSchemeName1Choice.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | 10 | 11 | /** 12 | *

Java class for FinancialIdentificationSchemeName1Choice complex type. 13 | * 14 | *

The following schema fragment specifies the expected content contained within this class. 15 | * 16 | *

17 |  * <complexType name="FinancialIdentificationSchemeName1Choice">
18 |  *   <complexContent>
19 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20 |  *       <choice>
21 |  *         <element name="Cd" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}ExternalFinancialInstitutionIdentification1Code"/>
22 |  *         <element name="Prtry" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}Max35Text"/>
23 |  *       </choice>
24 |  *     </restriction>
25 |  *   </complexContent>
26 |  * </complexType>
27 |  * 
28 | * 29 | * 30 | */ 31 | @XmlAccessorType(XmlAccessType.FIELD) 32 | @XmlType(name = "FinancialIdentificationSchemeName1Choice", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 33 | "cd", 34 | "prtry" 35 | }) 36 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 37 | public class FinancialIdentificationSchemeName1Choice { 38 | 39 | @XmlElement(name = "Cd", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 40 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 41 | protected String cd; 42 | @XmlElement(name = "Prtry", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected String prtry; 45 | 46 | /** 47 | * Gets the value of the cd property. 48 | * 49 | * @return 50 | * possible object is 51 | * {@link String } 52 | * 53 | */ 54 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 55 | public String getCd() { 56 | return cd; 57 | } 58 | 59 | /** 60 | * Sets the value of the cd property. 61 | * 62 | * @param value 63 | * allowed object is 64 | * {@link String } 65 | * 66 | */ 67 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 68 | public void setCd(String value) { 69 | this.cd = value; 70 | } 71 | 72 | /** 73 | * Gets the value of the prtry property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link String } 78 | * 79 | */ 80 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 81 | public String getPrtry() { 82 | return prtry; 83 | } 84 | 85 | /** 86 | * Sets the value of the prtry property. 87 | * 88 | * @param value 89 | * allowed object is 90 | * {@link String } 91 | * 92 | */ 93 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 94 | public void setPrtry(String value) { 95 | this.prtry = value; 96 | } 97 | 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/GarnishmentType1.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | 10 | 11 | /** 12 | *

Java class for GarnishmentType1 complex type. 13 | * 14 | *

The following schema fragment specifies the expected content contained within this class. 15 | * 16 | *

17 |  * <complexType name="GarnishmentType1">
18 |  *   <complexContent>
19 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20 |  *       <sequence>
21 |  *         <element name="CdOrPrtry" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}GarnishmentType1Choice"/>
22 |  *         <element name="Issr" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}Max35Text" minOccurs="0"/>
23 |  *       </sequence>
24 |  *     </restriction>
25 |  *   </complexContent>
26 |  * </complexType>
27 |  * 
28 | * 29 | * 30 | */ 31 | @XmlAccessorType(XmlAccessType.FIELD) 32 | @XmlType(name = "GarnishmentType1", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 33 | "cdOrPrtry", 34 | "issr" 35 | }) 36 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 37 | public class GarnishmentType1 { 38 | 39 | @XmlElement(name = "CdOrPrtry", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", required = true) 40 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 41 | protected GarnishmentType1Choice cdOrPrtry; 42 | @XmlElement(name = "Issr", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected String issr; 45 | 46 | /** 47 | * Gets the value of the cdOrPrtry property. 48 | * 49 | * @return 50 | * possible object is 51 | * {@link GarnishmentType1Choice } 52 | * 53 | */ 54 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 55 | public GarnishmentType1Choice getCdOrPrtry() { 56 | return cdOrPrtry; 57 | } 58 | 59 | /** 60 | * Sets the value of the cdOrPrtry property. 61 | * 62 | * @param value 63 | * allowed object is 64 | * {@link GarnishmentType1Choice } 65 | * 66 | */ 67 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 68 | public void setCdOrPrtry(GarnishmentType1Choice value) { 69 | this.cdOrPrtry = value; 70 | } 71 | 72 | /** 73 | * Gets the value of the issr property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link String } 78 | * 79 | */ 80 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 81 | public String getIssr() { 82 | return issr; 83 | } 84 | 85 | /** 86 | * Sets the value of the issr property. 87 | * 88 | * @param value 89 | * allowed object is 90 | * {@link String } 91 | * 92 | */ 93 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 94 | public void setIssr(String value) { 95 | this.issr = value; 96 | } 97 | 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/GarnishmentType1Choice.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | 10 | 11 | /** 12 | *

Java class for GarnishmentType1Choice complex type. 13 | * 14 | *

The following schema fragment specifies the expected content contained within this class. 15 | * 16 | *

17 |  * <complexType name="GarnishmentType1Choice">
18 |  *   <complexContent>
19 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20 |  *       <choice>
21 |  *         <element name="Cd" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}ExternalGarnishmentType1Code"/>
22 |  *         <element name="Prtry" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}Max35Text"/>
23 |  *       </choice>
24 |  *     </restriction>
25 |  *   </complexContent>
26 |  * </complexType>
27 |  * 
28 | * 29 | * 30 | */ 31 | @XmlAccessorType(XmlAccessType.FIELD) 32 | @XmlType(name = "GarnishmentType1Choice", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 33 | "cd", 34 | "prtry" 35 | }) 36 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 37 | public class GarnishmentType1Choice { 38 | 39 | @XmlElement(name = "Cd", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 40 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 41 | protected String cd; 42 | @XmlElement(name = "Prtry", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected String prtry; 45 | 46 | /** 47 | * Gets the value of the cd property. 48 | * 49 | * @return 50 | * possible object is 51 | * {@link String } 52 | * 53 | */ 54 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 55 | public String getCd() { 56 | return cd; 57 | } 58 | 59 | /** 60 | * Sets the value of the cd property. 61 | * 62 | * @param value 63 | * allowed object is 64 | * {@link String } 65 | * 66 | */ 67 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 68 | public void setCd(String value) { 69 | this.cd = value; 70 | } 71 | 72 | /** 73 | * Gets the value of the prtry property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link String } 78 | * 79 | */ 80 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 81 | public String getPrtry() { 82 | return prtry; 83 | } 84 | 85 | /** 86 | * Sets the value of the prtry property. 87 | * 88 | * @param value 89 | * allowed object is 90 | * {@link String } 91 | * 92 | */ 93 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 94 | public void setPrtry(String value) { 95 | this.prtry = value; 96 | } 97 | 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/Instruction3Code.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlEnum; 6 | import javax.xml.bind.annotation.XmlType; 7 | 8 | 9 | /** 10 | *

Java class for Instruction3Code. 11 | * 12 | *

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

14 | *

15 |  * <simpleType name="Instruction3Code">
16 |  *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
17 |  *     <enumeration value="CHQB"/>
18 |  *     <enumeration value="HOLD"/>
19 |  *     <enumeration value="PHOB"/>
20 |  *     <enumeration value="TELB"/>
21 |  *   </restriction>
22 |  * </simpleType>
23 |  * 
24 | * 25 | */ 26 | @XmlType(name = "Instruction3Code", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 27 | @XmlEnum 28 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 29 | public enum Instruction3Code { 30 | 31 | CHQB, 32 | HOLD, 33 | PHOB, 34 | TELB; 35 | 36 | public String value() { 37 | return name(); 38 | } 39 | 40 | public static Instruction3Code fromValue(String v) { 41 | return valueOf(v); 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/Instruction4Code.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlEnum; 6 | import javax.xml.bind.annotation.XmlType; 7 | 8 | 9 | /** 10 | *

Java class for Instruction4Code. 11 | * 12 | *

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

14 | *

15 |  * <simpleType name="Instruction4Code">
16 |  *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
17 |  *     <enumeration value="PHOA"/>
18 |  *     <enumeration value="TELA"/>
19 |  *   </restriction>
20 |  * </simpleType>
21 |  * 
22 | * 23 | */ 24 | @XmlType(name = "Instruction4Code", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 25 | @XmlEnum 26 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 27 | public enum Instruction4Code { 28 | 29 | PHOA, 30 | TELA; 31 | 32 | public String value() { 33 | return name(); 34 | } 35 | 36 | public static Instruction4Code fromValue(String v) { 37 | return valueOf(v); 38 | } 39 | 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/InstructionForCreditorAgent1.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlSchemaType; 9 | import javax.xml.bind.annotation.XmlType; 10 | 11 | 12 | /** 13 | *

Java class for InstructionForCreditorAgent1 complex type. 14 | * 15 | *

The following schema fragment specifies the expected content contained within this class. 16 | * 17 | *

 18 |  * <complexType name="InstructionForCreditorAgent1">
 19 |  *   <complexContent>
 20 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 21 |  *       <sequence>
 22 |  *         <element name="Cd" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}Instruction3Code" minOccurs="0"/>
 23 |  *         <element name="InstrInf" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}Max140Text" minOccurs="0"/>
 24 |  *       </sequence>
 25 |  *     </restriction>
 26 |  *   </complexContent>
 27 |  * </complexType>
 28 |  * 
29 | * 30 | * 31 | */ 32 | @XmlAccessorType(XmlAccessType.FIELD) 33 | @XmlType(name = "InstructionForCreditorAgent1", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 34 | "cd", 35 | "instrInf" 36 | }) 37 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 38 | public class InstructionForCreditorAgent1 { 39 | 40 | @XmlElement(name = "Cd", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 41 | @XmlSchemaType(name = "string") 42 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 43 | protected Instruction3Code cd; 44 | @XmlElement(name = "InstrInf", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 45 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 46 | protected String instrInf; 47 | 48 | /** 49 | * Gets the value of the cd property. 50 | * 51 | * @return 52 | * possible object is 53 | * {@link Instruction3Code } 54 | * 55 | */ 56 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 57 | public Instruction3Code getCd() { 58 | return cd; 59 | } 60 | 61 | /** 62 | * Sets the value of the cd property. 63 | * 64 | * @param value 65 | * allowed object is 66 | * {@link Instruction3Code } 67 | * 68 | */ 69 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 70 | public void setCd(Instruction3Code value) { 71 | this.cd = value; 72 | } 73 | 74 | /** 75 | * Gets the value of the instrInf property. 76 | * 77 | * @return 78 | * possible object is 79 | * {@link String } 80 | * 81 | */ 82 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 83 | public String getInstrInf() { 84 | return instrInf; 85 | } 86 | 87 | /** 88 | * Sets the value of the instrInf property. 89 | * 90 | * @param value 91 | * allowed object is 92 | * {@link String } 93 | * 94 | */ 95 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 96 | public void setInstrInf(String value) { 97 | this.instrInf = value; 98 | } 99 | 100 | } 101 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/InstructionForNextAgent1.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlSchemaType; 9 | import javax.xml.bind.annotation.XmlType; 10 | 11 | 12 | /** 13 | *

Java class for InstructionForNextAgent1 complex type. 14 | * 15 | *

The following schema fragment specifies the expected content contained within this class. 16 | * 17 | *

 18 |  * <complexType name="InstructionForNextAgent1">
 19 |  *   <complexContent>
 20 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 21 |  *       <sequence>
 22 |  *         <element name="Cd" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}Instruction4Code" minOccurs="0"/>
 23 |  *         <element name="InstrInf" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}Max140Text" minOccurs="0"/>
 24 |  *       </sequence>
 25 |  *     </restriction>
 26 |  *   </complexContent>
 27 |  * </complexType>
 28 |  * 
29 | * 30 | * 31 | */ 32 | @XmlAccessorType(XmlAccessType.FIELD) 33 | @XmlType(name = "InstructionForNextAgent1", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 34 | "cd", 35 | "instrInf" 36 | }) 37 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 38 | public class InstructionForNextAgent1 { 39 | 40 | @XmlElement(name = "Cd", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 41 | @XmlSchemaType(name = "string") 42 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 43 | protected Instruction4Code cd; 44 | @XmlElement(name = "InstrInf", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 45 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 46 | protected String instrInf; 47 | 48 | /** 49 | * Gets the value of the cd property. 50 | * 51 | * @return 52 | * possible object is 53 | * {@link Instruction4Code } 54 | * 55 | */ 56 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 57 | public Instruction4Code getCd() { 58 | return cd; 59 | } 60 | 61 | /** 62 | * Sets the value of the cd property. 63 | * 64 | * @param value 65 | * allowed object is 66 | * {@link Instruction4Code } 67 | * 68 | */ 69 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 70 | public void setCd(Instruction4Code value) { 71 | this.cd = value; 72 | } 73 | 74 | /** 75 | * Gets the value of the instrInf property. 76 | * 77 | * @return 78 | * possible object is 79 | * {@link String } 80 | * 81 | */ 82 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 83 | public String getInstrInf() { 84 | return instrInf; 85 | } 86 | 87 | /** 88 | * Sets the value of the instrInf property. 89 | * 90 | * @param value 91 | * allowed object is 92 | * {@link String } 93 | * 94 | */ 95 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 96 | public void setInstrInf(String value) { 97 | this.instrInf = value; 98 | } 99 | 100 | } 101 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/LocalInstrument2Choice.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | 10 | 11 | /** 12 | *

Java class for LocalInstrument2Choice complex type. 13 | * 14 | *

The following schema fragment specifies the expected content contained within this class. 15 | * 16 | *

17 |  * <complexType name="LocalInstrument2Choice">
18 |  *   <complexContent>
19 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20 |  *       <choice>
21 |  *         <element name="Cd" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}ExternalLocalInstrument1Code"/>
22 |  *         <element name="Prtry" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}Max35Text"/>
23 |  *       </choice>
24 |  *     </restriction>
25 |  *   </complexContent>
26 |  * </complexType>
27 |  * 
28 | * 29 | * 30 | */ 31 | @XmlAccessorType(XmlAccessType.FIELD) 32 | @XmlType(name = "LocalInstrument2Choice", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 33 | "cd", 34 | "prtry" 35 | }) 36 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 37 | public class LocalInstrument2Choice { 38 | 39 | @XmlElement(name = "Cd", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 40 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 41 | protected String cd; 42 | @XmlElement(name = "Prtry", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected String prtry; 45 | 46 | /** 47 | * Gets the value of the cd property. 48 | * 49 | * @return 50 | * possible object is 51 | * {@link String } 52 | * 53 | */ 54 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 55 | public String getCd() { 56 | return cd; 57 | } 58 | 59 | /** 60 | * Sets the value of the cd property. 61 | * 62 | * @param value 63 | * allowed object is 64 | * {@link String } 65 | * 66 | */ 67 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 68 | public void setCd(String value) { 69 | this.cd = value; 70 | } 71 | 72 | /** 73 | * Gets the value of the prtry property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link String } 78 | * 79 | */ 80 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 81 | public String getPrtry() { 82 | return prtry; 83 | } 84 | 85 | /** 86 | * Sets the value of the prtry property. 87 | * 88 | * @param value 89 | * allowed object is 90 | * {@link String } 91 | * 92 | */ 93 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 94 | public void setPrtry(String value) { 95 | this.prtry = value; 96 | } 97 | 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/NameAndAddress10.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | 10 | 11 | /** 12 | *

Java class for NameAndAddress10 complex type. 13 | * 14 | *

The following schema fragment specifies the expected content contained within this class. 15 | * 16 | *

17 |  * <complexType name="NameAndAddress10">
18 |  *   <complexContent>
19 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20 |  *       <sequence>
21 |  *         <element name="Nm" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}Max140Text"/>
22 |  *         <element name="Adr" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}PostalAddress6"/>
23 |  *       </sequence>
24 |  *     </restriction>
25 |  *   </complexContent>
26 |  * </complexType>
27 |  * 
28 | * 29 | * 30 | */ 31 | @XmlAccessorType(XmlAccessType.FIELD) 32 | @XmlType(name = "NameAndAddress10", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 33 | "nm", 34 | "adr" 35 | }) 36 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 37 | public class NameAndAddress10 { 38 | 39 | @XmlElement(name = "Nm", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", required = true) 40 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 41 | protected String nm; 42 | @XmlElement(name = "Adr", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", required = true) 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected PostalAddress6 adr; 45 | 46 | /** 47 | * Gets the value of the nm property. 48 | * 49 | * @return 50 | * possible object is 51 | * {@link String } 52 | * 53 | */ 54 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 55 | public String getNm() { 56 | return nm; 57 | } 58 | 59 | /** 60 | * Sets the value of the nm property. 61 | * 62 | * @param value 63 | * allowed object is 64 | * {@link String } 65 | * 66 | */ 67 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 68 | public void setNm(String value) { 69 | this.nm = value; 70 | } 71 | 72 | /** 73 | * Gets the value of the adr property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link PostalAddress6 } 78 | * 79 | */ 80 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 81 | public PostalAddress6 getAdr() { 82 | return adr; 83 | } 84 | 85 | /** 86 | * Sets the value of the adr property. 87 | * 88 | * @param value 89 | * allowed object is 90 | * {@link PostalAddress6 } 91 | * 92 | */ 93 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 94 | public void setAdr(PostalAddress6 value) { 95 | this.adr = value; 96 | } 97 | 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/NamePrefix1Code.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlEnum; 6 | import javax.xml.bind.annotation.XmlType; 7 | 8 | 9 | /** 10 | *

Java class for NamePrefix1Code. 11 | * 12 | *

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

14 | *

15 |  * <simpleType name="NamePrefix1Code">
16 |  *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
17 |  *     <enumeration value="DOCT"/>
18 |  *     <enumeration value="MIST"/>
19 |  *     <enumeration value="MISS"/>
20 |  *     <enumeration value="MADM"/>
21 |  *   </restriction>
22 |  * </simpleType>
23 |  * 
24 | * 25 | */ 26 | @XmlType(name = "NamePrefix1Code", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 27 | @XmlEnum 28 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 29 | public enum NamePrefix1Code { 30 | 31 | DOCT, 32 | MIST, 33 | MISS, 34 | MADM; 35 | 36 | public String value() { 37 | return name(); 38 | } 39 | 40 | public static NamePrefix1Code fromValue(String v) { 41 | return valueOf(v); 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/OrganisationIdentification8.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import java.util.ArrayList; 5 | import java.util.List; 6 | import javax.annotation.Generated; 7 | import javax.xml.bind.annotation.XmlAccessType; 8 | import javax.xml.bind.annotation.XmlAccessorType; 9 | import javax.xml.bind.annotation.XmlElement; 10 | import javax.xml.bind.annotation.XmlType; 11 | 12 | 13 | /** 14 | *

Java class for OrganisationIdentification8 complex type. 15 | * 16 | *

The following schema fragment specifies the expected content contained within this class. 17 | * 18 | *

 19 |  * <complexType name="OrganisationIdentification8">
 20 |  *   <complexContent>
 21 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 22 |  *       <sequence>
 23 |  *         <element name="AnyBIC" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}AnyBICIdentifier" minOccurs="0"/>
 24 |  *         <element name="Othr" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}GenericOrganisationIdentification1" maxOccurs="unbounded" minOccurs="0"/>
 25 |  *       </sequence>
 26 |  *     </restriction>
 27 |  *   </complexContent>
 28 |  * </complexType>
 29 |  * 
30 | * 31 | * 32 | */ 33 | @XmlAccessorType(XmlAccessType.FIELD) 34 | @XmlType(name = "OrganisationIdentification8", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 35 | "anyBIC", 36 | "othr" 37 | }) 38 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 39 | public class OrganisationIdentification8 { 40 | 41 | @XmlElement(name = "AnyBIC", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 42 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 43 | protected String anyBIC; 44 | @XmlElement(name = "Othr", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 45 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 46 | protected List othr; 47 | 48 | /** 49 | * Gets the value of the anyBIC property. 50 | * 51 | * @return 52 | * possible object is 53 | * {@link String } 54 | * 55 | */ 56 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 57 | public String getAnyBIC() { 58 | return anyBIC; 59 | } 60 | 61 | /** 62 | * Sets the value of the anyBIC property. 63 | * 64 | * @param value 65 | * allowed object is 66 | * {@link String } 67 | * 68 | */ 69 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 70 | public void setAnyBIC(String value) { 71 | this.anyBIC = value; 72 | } 73 | 74 | /** 75 | * Gets the value of the othr property. 76 | * 77 | *

78 | * This accessor method returns a reference to the live list, 79 | * not a snapshot. Therefore any modification you make to the 80 | * returned list will be present inside the JAXB object. 81 | * This is why there is not a set method for the othr property. 82 | * 83 | *

84 | * For example, to add a new item, do as follows: 85 | *

 86 |      *    getOthr().add(newItem);
 87 |      * 
88 | * 89 | * 90 | *

91 | * Objects of the following type(s) are allowed in the list 92 | * {@link GenericOrganisationIdentification1 } 93 | * 94 | * 95 | */ 96 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 97 | public List getOthr() { 98 | if (othr == null) { 99 | othr = new ArrayList(); 100 | } 101 | return this.othr; 102 | } 103 | 104 | } 105 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/OrganisationIdentificationSchemeName1Choice.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | 10 | 11 | /** 12 | *

Java class for OrganisationIdentificationSchemeName1Choice complex type. 13 | * 14 | *

The following schema fragment specifies the expected content contained within this class. 15 | * 16 | *

17 |  * <complexType name="OrganisationIdentificationSchemeName1Choice">
18 |  *   <complexContent>
19 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20 |  *       <choice>
21 |  *         <element name="Cd" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}ExternalOrganisationIdentification1Code"/>
22 |  *         <element name="Prtry" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}Max35Text"/>
23 |  *       </choice>
24 |  *     </restriction>
25 |  *   </complexContent>
26 |  * </complexType>
27 |  * 
28 | * 29 | * 30 | */ 31 | @XmlAccessorType(XmlAccessType.FIELD) 32 | @XmlType(name = "OrganisationIdentificationSchemeName1Choice", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 33 | "cd", 34 | "prtry" 35 | }) 36 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 37 | public class OrganisationIdentificationSchemeName1Choice { 38 | 39 | @XmlElement(name = "Cd", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 40 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 41 | protected String cd; 42 | @XmlElement(name = "Prtry", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected String prtry; 45 | 46 | /** 47 | * Gets the value of the cd property. 48 | * 49 | * @return 50 | * possible object is 51 | * {@link String } 52 | * 53 | */ 54 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 55 | public String getCd() { 56 | return cd; 57 | } 58 | 59 | /** 60 | * Sets the value of the cd property. 61 | * 62 | * @param value 63 | * allowed object is 64 | * {@link String } 65 | * 66 | */ 67 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 68 | public void setCd(String value) { 69 | this.cd = value; 70 | } 71 | 72 | /** 73 | * Gets the value of the prtry property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link String } 78 | * 79 | */ 80 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 81 | public String getPrtry() { 82 | return prtry; 83 | } 84 | 85 | /** 86 | * Sets the value of the prtry property. 87 | * 88 | * @param value 89 | * allowed object is 90 | * {@link String } 91 | * 92 | */ 93 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 94 | public void setPrtry(String value) { 95 | this.prtry = value; 96 | } 97 | 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/Party34Choice.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | 10 | 11 | /** 12 | *

Java class for Party34Choice complex type. 13 | * 14 | *

The following schema fragment specifies the expected content contained within this class. 15 | * 16 | *

17 |  * <complexType name="Party34Choice">
18 |  *   <complexContent>
19 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20 |  *       <choice>
21 |  *         <element name="OrgId" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}OrganisationIdentification8"/>
22 |  *         <element name="PrvtId" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}PersonIdentification13"/>
23 |  *       </choice>
24 |  *     </restriction>
25 |  *   </complexContent>
26 |  * </complexType>
27 |  * 
28 | * 29 | * 30 | */ 31 | @XmlAccessorType(XmlAccessType.FIELD) 32 | @XmlType(name = "Party34Choice", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 33 | "orgId", 34 | "prvtId" 35 | }) 36 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 37 | public class Party34Choice { 38 | 39 | @XmlElement(name = "OrgId", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 40 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 41 | protected OrganisationIdentification8 orgId; 42 | @XmlElement(name = "PrvtId", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected PersonIdentification13 prvtId; 45 | 46 | /** 47 | * Gets the value of the orgId property. 48 | * 49 | * @return 50 | * possible object is 51 | * {@link OrganisationIdentification8 } 52 | * 53 | */ 54 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 55 | public OrganisationIdentification8 getOrgId() { 56 | return orgId; 57 | } 58 | 59 | /** 60 | * Sets the value of the orgId property. 61 | * 62 | * @param value 63 | * allowed object is 64 | * {@link OrganisationIdentification8 } 65 | * 66 | */ 67 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 68 | public void setOrgId(OrganisationIdentification8 value) { 69 | this.orgId = value; 70 | } 71 | 72 | /** 73 | * Gets the value of the prvtId property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link PersonIdentification13 } 78 | * 79 | */ 80 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 81 | public PersonIdentification13 getPrvtId() { 82 | return prvtId; 83 | } 84 | 85 | /** 86 | * Sets the value of the prvtId property. 87 | * 88 | * @param value 89 | * allowed object is 90 | * {@link PersonIdentification13 } 91 | * 92 | */ 93 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 94 | public void setPrvtId(PersonIdentification13 value) { 95 | this.prvtId = value; 96 | } 97 | 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/PersonIdentificationSchemeName1Choice.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | 10 | 11 | /** 12 | *

Java class for PersonIdentificationSchemeName1Choice complex type. 13 | * 14 | *

The following schema fragment specifies the expected content contained within this class. 15 | * 16 | *

17 |  * <complexType name="PersonIdentificationSchemeName1Choice">
18 |  *   <complexContent>
19 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20 |  *       <choice>
21 |  *         <element name="Cd" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}ExternalPersonIdentification1Code"/>
22 |  *         <element name="Prtry" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}Max35Text"/>
23 |  *       </choice>
24 |  *     </restriction>
25 |  *   </complexContent>
26 |  * </complexType>
27 |  * 
28 | * 29 | * 30 | */ 31 | @XmlAccessorType(XmlAccessType.FIELD) 32 | @XmlType(name = "PersonIdentificationSchemeName1Choice", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 33 | "cd", 34 | "prtry" 35 | }) 36 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 37 | public class PersonIdentificationSchemeName1Choice { 38 | 39 | @XmlElement(name = "Cd", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 40 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 41 | protected String cd; 42 | @XmlElement(name = "Prtry", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected String prtry; 45 | 46 | /** 47 | * Gets the value of the cd property. 48 | * 49 | * @return 50 | * possible object is 51 | * {@link String } 52 | * 53 | */ 54 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 55 | public String getCd() { 56 | return cd; 57 | } 58 | 59 | /** 60 | * Sets the value of the cd property. 61 | * 62 | * @param value 63 | * allowed object is 64 | * {@link String } 65 | * 66 | */ 67 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 68 | public void setCd(String value) { 69 | this.cd = value; 70 | } 71 | 72 | /** 73 | * Gets the value of the prtry property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link String } 78 | * 79 | */ 80 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 81 | public String getPrtry() { 82 | return prtry; 83 | } 84 | 85 | /** 86 | * Sets the value of the prtry property. 87 | * 88 | * @param value 89 | * allowed object is 90 | * {@link String } 91 | * 92 | */ 93 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 94 | public void setPrtry(String value) { 95 | this.prtry = value; 96 | } 97 | 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/Priority2Code.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlEnum; 6 | import javax.xml.bind.annotation.XmlType; 7 | 8 | 9 | /** 10 | *

Java class for Priority2Code. 11 | * 12 | *

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

14 | *

15 |  * <simpleType name="Priority2Code">
16 |  *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
17 |  *     <enumeration value="HIGH"/>
18 |  *     <enumeration value="NORM"/>
19 |  *   </restriction>
20 |  * </simpleType>
21 |  * 
22 | * 23 | */ 24 | @XmlType(name = "Priority2Code", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 25 | @XmlEnum 26 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 27 | public enum Priority2Code { 28 | 29 | HIGH, 30 | NORM; 31 | 32 | public String value() { 33 | return name(); 34 | } 35 | 36 | public static Priority2Code fromValue(String v) { 37 | return valueOf(v); 38 | } 39 | 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/Priority3Code.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlEnum; 6 | import javax.xml.bind.annotation.XmlType; 7 | 8 | 9 | /** 10 | *

Java class for Priority3Code. 11 | * 12 | *

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

14 | *

15 |  * <simpleType name="Priority3Code">
16 |  *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
17 |  *     <enumeration value="URGT"/>
18 |  *     <enumeration value="HIGH"/>
19 |  *     <enumeration value="NORM"/>
20 |  *   </restriction>
21 |  * </simpleType>
22 |  * 
23 | * 24 | */ 25 | @XmlType(name = "Priority3Code", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 26 | @XmlEnum 27 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 28 | public enum Priority3Code { 29 | 30 | URGT, 31 | HIGH, 32 | NORM; 33 | 34 | public String value() { 35 | return name(); 36 | } 37 | 38 | public static Priority3Code fromValue(String v) { 39 | return valueOf(v); 40 | } 41 | 42 | } 43 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/Purpose2Choice.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | 10 | 11 | /** 12 | *

Java class for Purpose2Choice complex type. 13 | * 14 | *

The following schema fragment specifies the expected content contained within this class. 15 | * 16 | *

17 |  * <complexType name="Purpose2Choice">
18 |  *   <complexContent>
19 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20 |  *       <choice>
21 |  *         <element name="Cd" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}ExternalPurpose1Code"/>
22 |  *         <element name="Prtry" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}Max35Text"/>
23 |  *       </choice>
24 |  *     </restriction>
25 |  *   </complexContent>
26 |  * </complexType>
27 |  * 
28 | * 29 | * 30 | */ 31 | @XmlAccessorType(XmlAccessType.FIELD) 32 | @XmlType(name = "Purpose2Choice", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 33 | "cd", 34 | "prtry" 35 | }) 36 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 37 | public class Purpose2Choice { 38 | 39 | @XmlElement(name = "Cd", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 40 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 41 | protected String cd; 42 | @XmlElement(name = "Prtry", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected String prtry; 45 | 46 | /** 47 | * Gets the value of the cd property. 48 | * 49 | * @return 50 | * possible object is 51 | * {@link String } 52 | * 53 | */ 54 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 55 | public String getCd() { 56 | return cd; 57 | } 58 | 59 | /** 60 | * Sets the value of the cd property. 61 | * 62 | * @param value 63 | * allowed object is 64 | * {@link String } 65 | * 66 | */ 67 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 68 | public void setCd(String value) { 69 | this.cd = value; 70 | } 71 | 72 | /** 73 | * Gets the value of the prtry property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link String } 78 | * 79 | */ 80 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 81 | public String getPrtry() { 82 | return prtry; 83 | } 84 | 85 | /** 86 | * Sets the value of the prtry property. 87 | * 88 | * @param value 89 | * allowed object is 90 | * {@link String } 91 | * 92 | */ 93 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 94 | public void setPrtry(String value) { 95 | this.prtry = value; 96 | } 97 | 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/ReferredDocumentType3Choice.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlSchemaType; 9 | import javax.xml.bind.annotation.XmlType; 10 | 11 | 12 | /** 13 | *

Java class for ReferredDocumentType3Choice complex type. 14 | * 15 | *

The following schema fragment specifies the expected content contained within this class. 16 | * 17 | *

 18 |  * <complexType name="ReferredDocumentType3Choice">
 19 |  *   <complexContent>
 20 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 21 |  *       <choice>
 22 |  *         <element name="Cd" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}DocumentType6Code"/>
 23 |  *         <element name="Prtry" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}Max35Text"/>
 24 |  *       </choice>
 25 |  *     </restriction>
 26 |  *   </complexContent>
 27 |  * </complexType>
 28 |  * 
29 | * 30 | * 31 | */ 32 | @XmlAccessorType(XmlAccessType.FIELD) 33 | @XmlType(name = "ReferredDocumentType3Choice", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 34 | "cd", 35 | "prtry" 36 | }) 37 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 38 | public class ReferredDocumentType3Choice { 39 | 40 | @XmlElement(name = "Cd", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 41 | @XmlSchemaType(name = "string") 42 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 43 | protected DocumentType6Code cd; 44 | @XmlElement(name = "Prtry", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 45 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 46 | protected String prtry; 47 | 48 | /** 49 | * Gets the value of the cd property. 50 | * 51 | * @return 52 | * possible object is 53 | * {@link DocumentType6Code } 54 | * 55 | */ 56 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 57 | public DocumentType6Code getCd() { 58 | return cd; 59 | } 60 | 61 | /** 62 | * Sets the value of the cd property. 63 | * 64 | * @param value 65 | * allowed object is 66 | * {@link DocumentType6Code } 67 | * 68 | */ 69 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 70 | public void setCd(DocumentType6Code value) { 71 | this.cd = value; 72 | } 73 | 74 | /** 75 | * Gets the value of the prtry property. 76 | * 77 | * @return 78 | * possible object is 79 | * {@link String } 80 | * 81 | */ 82 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 83 | public String getPrtry() { 84 | return prtry; 85 | } 86 | 87 | /** 88 | * Sets the value of the prtry property. 89 | * 90 | * @param value 91 | * allowed object is 92 | * {@link String } 93 | * 94 | */ 95 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 96 | public void setPrtry(String value) { 97 | this.prtry = value; 98 | } 99 | 100 | } 101 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/ReferredDocumentType4.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | 10 | 11 | /** 12 | *

Java class for ReferredDocumentType4 complex type. 13 | * 14 | *

The following schema fragment specifies the expected content contained within this class. 15 | * 16 | *

17 |  * <complexType name="ReferredDocumentType4">
18 |  *   <complexContent>
19 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20 |  *       <sequence>
21 |  *         <element name="CdOrPrtry" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}ReferredDocumentType3Choice"/>
22 |  *         <element name="Issr" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}Max35Text" minOccurs="0"/>
23 |  *       </sequence>
24 |  *     </restriction>
25 |  *   </complexContent>
26 |  * </complexType>
27 |  * 
28 | * 29 | * 30 | */ 31 | @XmlAccessorType(XmlAccessType.FIELD) 32 | @XmlType(name = "ReferredDocumentType4", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 33 | "cdOrPrtry", 34 | "issr" 35 | }) 36 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 37 | public class ReferredDocumentType4 { 38 | 39 | @XmlElement(name = "CdOrPrtry", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", required = true) 40 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 41 | protected ReferredDocumentType3Choice cdOrPrtry; 42 | @XmlElement(name = "Issr", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected String issr; 45 | 46 | /** 47 | * Gets the value of the cdOrPrtry property. 48 | * 49 | * @return 50 | * possible object is 51 | * {@link ReferredDocumentType3Choice } 52 | * 53 | */ 54 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 55 | public ReferredDocumentType3Choice getCdOrPrtry() { 56 | return cdOrPrtry; 57 | } 58 | 59 | /** 60 | * Sets the value of the cdOrPrtry property. 61 | * 62 | * @param value 63 | * allowed object is 64 | * {@link ReferredDocumentType3Choice } 65 | * 66 | */ 67 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 68 | public void setCdOrPrtry(ReferredDocumentType3Choice value) { 69 | this.cdOrPrtry = value; 70 | } 71 | 72 | /** 73 | * Gets the value of the issr property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link String } 78 | * 79 | */ 80 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 81 | public String getIssr() { 82 | return issr; 83 | } 84 | 85 | /** 86 | * Sets the value of the issr property. 87 | * 88 | * @param value 89 | * allowed object is 90 | * {@link String } 91 | * 92 | */ 93 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 94 | public void setIssr(String value) { 95 | this.issr = value; 96 | } 97 | 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/RegulatoryAuthority2.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | 10 | 11 | /** 12 | *

Java class for RegulatoryAuthority2 complex type. 13 | * 14 | *

The following schema fragment specifies the expected content contained within this class. 15 | * 16 | *

17 |  * <complexType name="RegulatoryAuthority2">
18 |  *   <complexContent>
19 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20 |  *       <sequence>
21 |  *         <element name="Nm" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}Max140Text" minOccurs="0"/>
22 |  *         <element name="Ctry" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}CountryCode" minOccurs="0"/>
23 |  *       </sequence>
24 |  *     </restriction>
25 |  *   </complexContent>
26 |  * </complexType>
27 |  * 
28 | * 29 | * 30 | */ 31 | @XmlAccessorType(XmlAccessType.FIELD) 32 | @XmlType(name = "RegulatoryAuthority2", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 33 | "nm", 34 | "ctry" 35 | }) 36 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 37 | public class RegulatoryAuthority2 { 38 | 39 | @XmlElement(name = "Nm", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 40 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 41 | protected String nm; 42 | @XmlElement(name = "Ctry", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected String ctry; 45 | 46 | /** 47 | * Gets the value of the nm property. 48 | * 49 | * @return 50 | * possible object is 51 | * {@link String } 52 | * 53 | */ 54 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 55 | public String getNm() { 56 | return nm; 57 | } 58 | 59 | /** 60 | * Sets the value of the nm property. 61 | * 62 | * @param value 63 | * allowed object is 64 | * {@link String } 65 | * 66 | */ 67 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 68 | public void setNm(String value) { 69 | this.nm = value; 70 | } 71 | 72 | /** 73 | * Gets the value of the ctry property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link String } 78 | * 79 | */ 80 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 81 | public String getCtry() { 82 | return ctry; 83 | } 84 | 85 | /** 86 | * Sets the value of the ctry property. 87 | * 88 | * @param value 89 | * allowed object is 90 | * {@link String } 91 | * 92 | */ 93 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 94 | public void setCtry(String value) { 95 | this.ctry = value; 96 | } 97 | 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/RegulatoryReportingType1Code.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlEnum; 6 | import javax.xml.bind.annotation.XmlType; 7 | 8 | 9 | /** 10 | *

Java class for RegulatoryReportingType1Code. 11 | * 12 | *

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

14 | *

15 |  * <simpleType name="RegulatoryReportingType1Code">
16 |  *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
17 |  *     <enumeration value="CRED"/>
18 |  *     <enumeration value="DEBT"/>
19 |  *     <enumeration value="BOTH"/>
20 |  *   </restriction>
21 |  * </simpleType>
22 |  * 
23 | * 24 | */ 25 | @XmlType(name = "RegulatoryReportingType1Code", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 26 | @XmlEnum 27 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 28 | public enum RegulatoryReportingType1Code { 29 | 30 | CRED, 31 | DEBT, 32 | BOTH; 33 | 34 | public String value() { 35 | return name(); 36 | } 37 | 38 | public static RegulatoryReportingType1Code fromValue(String v) { 39 | return valueOf(v); 40 | } 41 | 42 | } 43 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/RemittanceLocation4.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import java.util.ArrayList; 5 | import java.util.List; 6 | import javax.annotation.Generated; 7 | import javax.xml.bind.annotation.XmlAccessType; 8 | import javax.xml.bind.annotation.XmlAccessorType; 9 | import javax.xml.bind.annotation.XmlElement; 10 | import javax.xml.bind.annotation.XmlType; 11 | 12 | 13 | /** 14 | *

Java class for RemittanceLocation4 complex type. 15 | * 16 | *

The following schema fragment specifies the expected content contained within this class. 17 | * 18 | *

 19 |  * <complexType name="RemittanceLocation4">
 20 |  *   <complexContent>
 21 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 22 |  *       <sequence>
 23 |  *         <element name="RmtId" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}Max35Text" minOccurs="0"/>
 24 |  *         <element name="RmtLctnDtls" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}RemittanceLocationDetails1" maxOccurs="unbounded" minOccurs="0"/>
 25 |  *       </sequence>
 26 |  *     </restriction>
 27 |  *   </complexContent>
 28 |  * </complexType>
 29 |  * 
30 | * 31 | * 32 | */ 33 | @XmlAccessorType(XmlAccessType.FIELD) 34 | @XmlType(name = "RemittanceLocation4", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 35 | "rmtId", 36 | "rmtLctnDtls" 37 | }) 38 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 39 | public class RemittanceLocation4 { 40 | 41 | @XmlElement(name = "RmtId", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 42 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 43 | protected String rmtId; 44 | @XmlElement(name = "RmtLctnDtls", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 45 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 46 | protected List rmtLctnDtls; 47 | 48 | /** 49 | * Gets the value of the rmtId property. 50 | * 51 | * @return 52 | * possible object is 53 | * {@link String } 54 | * 55 | */ 56 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 57 | public String getRmtId() { 58 | return rmtId; 59 | } 60 | 61 | /** 62 | * Sets the value of the rmtId property. 63 | * 64 | * @param value 65 | * allowed object is 66 | * {@link String } 67 | * 68 | */ 69 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 70 | public void setRmtId(String value) { 71 | this.rmtId = value; 72 | } 73 | 74 | /** 75 | * Gets the value of the rmtLctnDtls property. 76 | * 77 | *

78 | * This accessor method returns a reference to the live list, 79 | * not a snapshot. Therefore any modification you make to the 80 | * returned list will be present inside the JAXB object. 81 | * This is why there is not a set method for the rmtLctnDtls property. 82 | * 83 | *

84 | * For example, to add a new item, do as follows: 85 | *

 86 |      *    getRmtLctnDtls().add(newItem);
 87 |      * 
88 | * 89 | * 90 | *

91 | * Objects of the following type(s) are allowed in the list 92 | * {@link RemittanceLocationDetails1 } 93 | * 94 | * 95 | */ 96 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 97 | public List getRmtLctnDtls() { 98 | if (rmtLctnDtls == null) { 99 | rmtLctnDtls = new ArrayList(); 100 | } 101 | return this.rmtLctnDtls; 102 | } 103 | 104 | } 105 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/RemittanceLocationMethod2Code.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlEnum; 6 | import javax.xml.bind.annotation.XmlType; 7 | 8 | 9 | /** 10 | *

Java class for RemittanceLocationMethod2Code. 11 | * 12 | *

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

14 | *

15 |  * <simpleType name="RemittanceLocationMethod2Code">
16 |  *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
17 |  *     <enumeration value="FAXI"/>
18 |  *     <enumeration value="EDIC"/>
19 |  *     <enumeration value="URID"/>
20 |  *     <enumeration value="EMAL"/>
21 |  *     <enumeration value="POST"/>
22 |  *     <enumeration value="SMSM"/>
23 |  *   </restriction>
24 |  * </simpleType>
25 |  * 
26 | * 27 | */ 28 | @XmlType(name = "RemittanceLocationMethod2Code", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 29 | @XmlEnum 30 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 31 | public enum RemittanceLocationMethod2Code { 32 | 33 | FAXI, 34 | EDIC, 35 | URID, 36 | EMAL, 37 | POST, 38 | SMSM; 39 | 40 | public String value() { 41 | return name(); 42 | } 43 | 44 | public static RemittanceLocationMethod2Code fromValue(String v) { 45 | return valueOf(v); 46 | } 47 | 48 | } 49 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/ServiceLevel8Choice.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | 10 | 11 | /** 12 | *

Java class for ServiceLevel8Choice complex type. 13 | * 14 | *

The following schema fragment specifies the expected content contained within this class. 15 | * 16 | *

17 |  * <complexType name="ServiceLevel8Choice">
18 |  *   <complexContent>
19 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20 |  *       <choice>
21 |  *         <element name="Cd" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}ExternalServiceLevel1Code"/>
22 |  *         <element name="Prtry" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}Max35Text"/>
23 |  *       </choice>
24 |  *     </restriction>
25 |  *   </complexContent>
26 |  * </complexType>
27 |  * 
28 | * 29 | * 30 | */ 31 | @XmlAccessorType(XmlAccessType.FIELD) 32 | @XmlType(name = "ServiceLevel8Choice", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 33 | "cd", 34 | "prtry" 35 | }) 36 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 37 | public class ServiceLevel8Choice { 38 | 39 | @XmlElement(name = "Cd", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 40 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 41 | protected String cd; 42 | @XmlElement(name = "Prtry", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected String prtry; 45 | 46 | /** 47 | * Gets the value of the cd property. 48 | * 49 | * @return 50 | * possible object is 51 | * {@link String } 52 | * 53 | */ 54 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 55 | public String getCd() { 56 | return cd; 57 | } 58 | 59 | /** 60 | * Sets the value of the cd property. 61 | * 62 | * @param value 63 | * allowed object is 64 | * {@link String } 65 | * 66 | */ 67 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 68 | public void setCd(String value) { 69 | this.cd = value; 70 | } 71 | 72 | /** 73 | * Gets the value of the prtry property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link String } 78 | * 79 | */ 80 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 81 | public String getPrtry() { 82 | return prtry; 83 | } 84 | 85 | /** 86 | * Sets the value of the prtry property. 87 | * 88 | * @param value 89 | * allowed object is 90 | * {@link String } 91 | * 92 | */ 93 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 94 | public void setPrtry(String value) { 95 | this.prtry = value; 96 | } 97 | 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/SettlementDateTimeIndication1.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlSchemaType; 9 | import javax.xml.bind.annotation.XmlType; 10 | import javax.xml.datatype.XMLGregorianCalendar; 11 | 12 | 13 | /** 14 | *

Java class for SettlementDateTimeIndication1 complex type. 15 | * 16 | *

The following schema fragment specifies the expected content contained within this class. 17 | * 18 | *

 19 |  * <complexType name="SettlementDateTimeIndication1">
 20 |  *   <complexContent>
 21 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 22 |  *       <sequence>
 23 |  *         <element name="DbtDtTm" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}ISODateTime" minOccurs="0"/>
 24 |  *         <element name="CdtDtTm" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}ISODateTime" minOccurs="0"/>
 25 |  *       </sequence>
 26 |  *     </restriction>
 27 |  *   </complexContent>
 28 |  * </complexType>
 29 |  * 
30 | * 31 | * 32 | */ 33 | @XmlAccessorType(XmlAccessType.FIELD) 34 | @XmlType(name = "SettlementDateTimeIndication1", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 35 | "dbtDtTm", 36 | "cdtDtTm" 37 | }) 38 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 39 | public class SettlementDateTimeIndication1 { 40 | 41 | @XmlElement(name = "DbtDtTm", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 42 | @XmlSchemaType(name = "dateTime") 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected XMLGregorianCalendar dbtDtTm; 45 | @XmlElement(name = "CdtDtTm", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 46 | @XmlSchemaType(name = "dateTime") 47 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 48 | protected XMLGregorianCalendar cdtDtTm; 49 | 50 | /** 51 | * Gets the value of the dbtDtTm property. 52 | * 53 | * @return 54 | * possible object is 55 | * {@link XMLGregorianCalendar } 56 | * 57 | */ 58 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 59 | public XMLGregorianCalendar getDbtDtTm() { 60 | return dbtDtTm; 61 | } 62 | 63 | /** 64 | * Sets the value of the dbtDtTm property. 65 | * 66 | * @param value 67 | * allowed object is 68 | * {@link XMLGregorianCalendar } 69 | * 70 | */ 71 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 72 | public void setDbtDtTm(XMLGregorianCalendar value) { 73 | this.dbtDtTm = value; 74 | } 75 | 76 | /** 77 | * Gets the value of the cdtDtTm property. 78 | * 79 | * @return 80 | * possible object is 81 | * {@link XMLGregorianCalendar } 82 | * 83 | */ 84 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 85 | public XMLGregorianCalendar getCdtDtTm() { 86 | return cdtDtTm; 87 | } 88 | 89 | /** 90 | * Sets the value of the cdtDtTm property. 91 | * 92 | * @param value 93 | * allowed object is 94 | * {@link XMLGregorianCalendar } 95 | * 96 | */ 97 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 98 | public void setCdtDtTm(XMLGregorianCalendar value) { 99 | this.cdtDtTm = value; 100 | } 101 | 102 | } 103 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/SettlementMethod1Code.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlEnum; 6 | import javax.xml.bind.annotation.XmlType; 7 | 8 | 9 | /** 10 | *

Java class for SettlementMethod1Code. 11 | * 12 | *

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

14 | *

15 |  * <simpleType name="SettlementMethod1Code">
16 |  *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
17 |  *     <enumeration value="INDA"/>
18 |  *     <enumeration value="INGA"/>
19 |  *     <enumeration value="COVE"/>
20 |  *     <enumeration value="CLRG"/>
21 |  *   </restriction>
22 |  * </simpleType>
23 |  * 
24 | * 25 | */ 26 | @XmlType(name = "SettlementMethod1Code", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 27 | @XmlEnum 28 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 29 | public enum SettlementMethod1Code { 30 | 31 | INDA, 32 | INGA, 33 | COVE, 34 | CLRG; 35 | 36 | public String value() { 37 | return name(); 38 | } 39 | 40 | public static SettlementMethod1Code fromValue(String v) { 41 | return valueOf(v); 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/SupplementaryData1.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | 10 | 11 | /** 12 | *

Java class for SupplementaryData1 complex type. 13 | * 14 | *

The following schema fragment specifies the expected content contained within this class. 15 | * 16 | *

17 |  * <complexType name="SupplementaryData1">
18 |  *   <complexContent>
19 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20 |  *       <sequence>
21 |  *         <element name="PlcAndNm" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}Max350Text" minOccurs="0"/>
22 |  *         <element name="Envlp" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}SupplementaryDataEnvelope1"/>
23 |  *       </sequence>
24 |  *     </restriction>
25 |  *   </complexContent>
26 |  * </complexType>
27 |  * 
28 | * 29 | * 30 | */ 31 | @XmlAccessorType(XmlAccessType.FIELD) 32 | @XmlType(name = "SupplementaryData1", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 33 | "plcAndNm", 34 | "envlp" 35 | }) 36 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 37 | public class SupplementaryData1 { 38 | 39 | @XmlElement(name = "PlcAndNm", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 40 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 41 | protected String plcAndNm; 42 | @XmlElement(name = "Envlp", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", required = true) 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected SupplementaryDataEnvelope1 envlp; 45 | 46 | /** 47 | * Gets the value of the plcAndNm property. 48 | * 49 | * @return 50 | * possible object is 51 | * {@link String } 52 | * 53 | */ 54 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 55 | public String getPlcAndNm() { 56 | return plcAndNm; 57 | } 58 | 59 | /** 60 | * Sets the value of the plcAndNm property. 61 | * 62 | * @param value 63 | * allowed object is 64 | * {@link String } 65 | * 66 | */ 67 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 68 | public void setPlcAndNm(String value) { 69 | this.plcAndNm = value; 70 | } 71 | 72 | /** 73 | * Gets the value of the envlp property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link SupplementaryDataEnvelope1 } 78 | * 79 | */ 80 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 81 | public SupplementaryDataEnvelope1 getEnvlp() { 82 | return envlp; 83 | } 84 | 85 | /** 86 | * Sets the value of the envlp property. 87 | * 88 | * @param value 89 | * allowed object is 90 | * {@link SupplementaryDataEnvelope1 } 91 | * 92 | */ 93 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 94 | public void setEnvlp(SupplementaryDataEnvelope1 value) { 95 | this.envlp = value; 96 | } 97 | 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/SupplementaryDataEnvelope1.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlAnyElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | import org.w3c.dom.Element; 10 | 11 | 12 | /** 13 | *

Java class for SupplementaryDataEnvelope1 complex type. 14 | * 15 | *

The following schema fragment specifies the expected content contained within this class. 16 | * 17 | *

18 |  * <complexType name="SupplementaryDataEnvelope1">
19 |  *   <complexContent>
20 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
21 |  *       <sequence>
22 |  *         <any processContents='lax'/>
23 |  *       </sequence>
24 |  *     </restriction>
25 |  *   </complexContent>
26 |  * </complexType>
27 |  * 
28 | * 29 | * 30 | */ 31 | @XmlAccessorType(XmlAccessType.FIELD) 32 | @XmlType(name = "SupplementaryDataEnvelope1", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 33 | "any" 34 | }) 35 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 36 | public class SupplementaryDataEnvelope1 { 37 | 38 | @XmlAnyElement(lax = true) 39 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 40 | protected Object any; 41 | 42 | /** 43 | * Gets the value of the any property. 44 | * 45 | * @return 46 | * possible object is 47 | * {@link Element } 48 | * {@link Object } 49 | * 50 | */ 51 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 52 | public Object getAny() { 53 | return any; 54 | } 55 | 56 | /** 57 | * Sets the value of the any property. 58 | * 59 | * @param value 60 | * allowed object is 61 | * {@link Element } 62 | * {@link Object } 63 | * 64 | */ 65 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 66 | public void setAny(Object value) { 67 | this.any = value; 68 | } 69 | 70 | } 71 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/TaxAmountAndType1.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | 10 | 11 | /** 12 | *

Java class for TaxAmountAndType1 complex type. 13 | * 14 | *

The following schema fragment specifies the expected content contained within this class. 15 | * 16 | *

17 |  * <complexType name="TaxAmountAndType1">
18 |  *   <complexContent>
19 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20 |  *       <sequence>
21 |  *         <element name="Tp" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}TaxAmountType1Choice" minOccurs="0"/>
22 |  *         <element name="Amt" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}ActiveOrHistoricCurrencyAndAmount"/>
23 |  *       </sequence>
24 |  *     </restriction>
25 |  *   </complexContent>
26 |  * </complexType>
27 |  * 
28 | * 29 | * 30 | */ 31 | @XmlAccessorType(XmlAccessType.FIELD) 32 | @XmlType(name = "TaxAmountAndType1", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 33 | "tp", 34 | "amt" 35 | }) 36 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 37 | public class TaxAmountAndType1 { 38 | 39 | @XmlElement(name = "Tp", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 40 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 41 | protected TaxAmountType1Choice tp; 42 | @XmlElement(name = "Amt", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", required = true) 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected ActiveOrHistoricCurrencyAndAmount amt; 45 | 46 | /** 47 | * Gets the value of the tp property. 48 | * 49 | * @return 50 | * possible object is 51 | * {@link TaxAmountType1Choice } 52 | * 53 | */ 54 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 55 | public TaxAmountType1Choice getTp() { 56 | return tp; 57 | } 58 | 59 | /** 60 | * Sets the value of the tp property. 61 | * 62 | * @param value 63 | * allowed object is 64 | * {@link TaxAmountType1Choice } 65 | * 66 | */ 67 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 68 | public void setTp(TaxAmountType1Choice value) { 69 | this.tp = value; 70 | } 71 | 72 | /** 73 | * Gets the value of the amt property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link ActiveOrHistoricCurrencyAndAmount } 78 | * 79 | */ 80 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 81 | public ActiveOrHistoricCurrencyAndAmount getAmt() { 82 | return amt; 83 | } 84 | 85 | /** 86 | * Sets the value of the amt property. 87 | * 88 | * @param value 89 | * allowed object is 90 | * {@link ActiveOrHistoricCurrencyAndAmount } 91 | * 92 | */ 93 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 94 | public void setAmt(ActiveOrHistoricCurrencyAndAmount value) { 95 | this.amt = value; 96 | } 97 | 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/TaxAmountType1Choice.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | 10 | 11 | /** 12 | *

Java class for TaxAmountType1Choice complex type. 13 | * 14 | *

The following schema fragment specifies the expected content contained within this class. 15 | * 16 | *

17 |  * <complexType name="TaxAmountType1Choice">
18 |  *   <complexContent>
19 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20 |  *       <choice>
21 |  *         <element name="Cd" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}ExternalTaxAmountType1Code"/>
22 |  *         <element name="Prtry" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}Max35Text"/>
23 |  *       </choice>
24 |  *     </restriction>
25 |  *   </complexContent>
26 |  * </complexType>
27 |  * 
28 | * 29 | * 30 | */ 31 | @XmlAccessorType(XmlAccessType.FIELD) 32 | @XmlType(name = "TaxAmountType1Choice", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 33 | "cd", 34 | "prtry" 35 | }) 36 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 37 | public class TaxAmountType1Choice { 38 | 39 | @XmlElement(name = "Cd", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 40 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 41 | protected String cd; 42 | @XmlElement(name = "Prtry", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected String prtry; 45 | 46 | /** 47 | * Gets the value of the cd property. 48 | * 49 | * @return 50 | * possible object is 51 | * {@link String } 52 | * 53 | */ 54 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 55 | public String getCd() { 56 | return cd; 57 | } 58 | 59 | /** 60 | * Sets the value of the cd property. 61 | * 62 | * @param value 63 | * allowed object is 64 | * {@link String } 65 | * 66 | */ 67 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 68 | public void setCd(String value) { 69 | this.cd = value; 70 | } 71 | 72 | /** 73 | * Gets the value of the prtry property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link String } 78 | * 79 | */ 80 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 81 | public String getPrtry() { 82 | return prtry; 83 | } 84 | 85 | /** 86 | * Sets the value of the prtry property. 87 | * 88 | * @param value 89 | * allowed object is 90 | * {@link String } 91 | * 92 | */ 93 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 94 | public void setPrtry(String value) { 95 | this.prtry = value; 96 | } 97 | 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/TaxAuthorisation1.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | 10 | 11 | /** 12 | *

Java class for TaxAuthorisation1 complex type. 13 | * 14 | *

The following schema fragment specifies the expected content contained within this class. 15 | * 16 | *

17 |  * <complexType name="TaxAuthorisation1">
18 |  *   <complexContent>
19 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20 |  *       <sequence>
21 |  *         <element name="Titl" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}Max35Text" minOccurs="0"/>
22 |  *         <element name="Nm" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}Max140Text" minOccurs="0"/>
23 |  *       </sequence>
24 |  *     </restriction>
25 |  *   </complexContent>
26 |  * </complexType>
27 |  * 
28 | * 29 | * 30 | */ 31 | @XmlAccessorType(XmlAccessType.FIELD) 32 | @XmlType(name = "TaxAuthorisation1", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 33 | "titl", 34 | "nm" 35 | }) 36 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 37 | public class TaxAuthorisation1 { 38 | 39 | @XmlElement(name = "Titl", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 40 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 41 | protected String titl; 42 | @XmlElement(name = "Nm", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected String nm; 45 | 46 | /** 47 | * Gets the value of the titl property. 48 | * 49 | * @return 50 | * possible object is 51 | * {@link String } 52 | * 53 | */ 54 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 55 | public String getTitl() { 56 | return titl; 57 | } 58 | 59 | /** 60 | * Sets the value of the titl property. 61 | * 62 | * @param value 63 | * allowed object is 64 | * {@link String } 65 | * 66 | */ 67 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 68 | public void setTitl(String value) { 69 | this.titl = value; 70 | } 71 | 72 | /** 73 | * Gets the value of the nm property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link String } 78 | * 79 | */ 80 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 81 | public String getNm() { 82 | return nm; 83 | } 84 | 85 | /** 86 | * Sets the value of the nm property. 87 | * 88 | * @param value 89 | * allowed object is 90 | * {@link String } 91 | * 92 | */ 93 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 94 | public void setNm(String value) { 95 | this.nm = value; 96 | } 97 | 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/TaxRecordDetails2.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlAccessType; 6 | import javax.xml.bind.annotation.XmlAccessorType; 7 | import javax.xml.bind.annotation.XmlElement; 8 | import javax.xml.bind.annotation.XmlType; 9 | 10 | 11 | /** 12 | *

Java class for TaxRecordDetails2 complex type. 13 | * 14 | *

The following schema fragment specifies the expected content contained within this class. 15 | * 16 | *

17 |  * <complexType name="TaxRecordDetails2">
18 |  *   <complexContent>
19 |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20 |  *       <sequence>
21 |  *         <element name="Prd" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}TaxPeriod2" minOccurs="0"/>
22 |  *         <element name="Amt" type="{urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07}ActiveOrHistoricCurrencyAndAmount"/>
23 |  *       </sequence>
24 |  *     </restriction>
25 |  *   </complexContent>
26 |  * </complexType>
27 |  * 
28 | * 29 | * 30 | */ 31 | @XmlAccessorType(XmlAccessType.FIELD) 32 | @XmlType(name = "TaxRecordDetails2", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", propOrder = { 33 | "prd", 34 | "amt" 35 | }) 36 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 37 | public class TaxRecordDetails2 { 38 | 39 | @XmlElement(name = "Prd", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 40 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 41 | protected TaxPeriod2 prd; 42 | @XmlElement(name = "Amt", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07", required = true) 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | protected ActiveOrHistoricCurrencyAndAmount amt; 45 | 46 | /** 47 | * Gets the value of the prd property. 48 | * 49 | * @return 50 | * possible object is 51 | * {@link TaxPeriod2 } 52 | * 53 | */ 54 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 55 | public TaxPeriod2 getPrd() { 56 | return prd; 57 | } 58 | 59 | /** 60 | * Sets the value of the prd property. 61 | * 62 | * @param value 63 | * allowed object is 64 | * {@link TaxPeriod2 } 65 | * 66 | */ 67 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 68 | public void setPrd(TaxPeriod2 value) { 69 | this.prd = value; 70 | } 71 | 72 | /** 73 | * Gets the value of the amt property. 74 | * 75 | * @return 76 | * possible object is 77 | * {@link ActiveOrHistoricCurrencyAndAmount } 78 | * 79 | */ 80 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 81 | public ActiveOrHistoricCurrencyAndAmount getAmt() { 82 | return amt; 83 | } 84 | 85 | /** 86 | * Sets the value of the amt property. 87 | * 88 | * @param value 89 | * allowed object is 90 | * {@link ActiveOrHistoricCurrencyAndAmount } 91 | * 92 | */ 93 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 94 | public void setAmt(ActiveOrHistoricCurrencyAndAmount value) { 95 | this.amt = value; 96 | } 97 | 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/TaxRecordPeriod1Code.java: -------------------------------------------------------------------------------- 1 | 2 | package id.brainmaster.iso20022.model; 3 | 4 | import javax.annotation.Generated; 5 | import javax.xml.bind.annotation.XmlEnum; 6 | import javax.xml.bind.annotation.XmlEnumValue; 7 | import javax.xml.bind.annotation.XmlType; 8 | 9 | 10 | /** 11 | *

Java class for TaxRecordPeriod1Code. 12 | * 13 | *

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

15 | *

 16 |  * <simpleType name="TaxRecordPeriod1Code">
 17 |  *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 18 |  *     <enumeration value="MM01"/>
 19 |  *     <enumeration value="MM02"/>
 20 |  *     <enumeration value="MM03"/>
 21 |  *     <enumeration value="MM04"/>
 22 |  *     <enumeration value="MM05"/>
 23 |  *     <enumeration value="MM06"/>
 24 |  *     <enumeration value="MM07"/>
 25 |  *     <enumeration value="MM08"/>
 26 |  *     <enumeration value="MM09"/>
 27 |  *     <enumeration value="MM10"/>
 28 |  *     <enumeration value="MM11"/>
 29 |  *     <enumeration value="MM12"/>
 30 |  *     <enumeration value="QTR1"/>
 31 |  *     <enumeration value="QTR2"/>
 32 |  *     <enumeration value="QTR3"/>
 33 |  *     <enumeration value="QTR4"/>
 34 |  *     <enumeration value="HLF1"/>
 35 |  *     <enumeration value="HLF2"/>
 36 |  *   </restriction>
 37 |  * </simpleType>
 38 |  * 
39 | * 40 | */ 41 | @XmlType(name = "TaxRecordPeriod1Code", namespace = "urn:iso:std:iso:20022:tech:xsd:pacs.008.001.07") 42 | @XmlEnum 43 | @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2018-05-01T07:05:51+07:00", comments = "JAXB RI v2.2.8-b130911.1802") 44 | public enum TaxRecordPeriod1Code { 45 | 46 | @XmlEnumValue("MM01") 47 | MM_01("MM01"), 48 | @XmlEnumValue("MM02") 49 | MM_02("MM02"), 50 | @XmlEnumValue("MM03") 51 | MM_03("MM03"), 52 | @XmlEnumValue("MM04") 53 | MM_04("MM04"), 54 | @XmlEnumValue("MM05") 55 | MM_05("MM05"), 56 | @XmlEnumValue("MM06") 57 | MM_06("MM06"), 58 | @XmlEnumValue("MM07") 59 | MM_07("MM07"), 60 | @XmlEnumValue("MM08") 61 | MM_08("MM08"), 62 | @XmlEnumValue("MM09") 63 | MM_09("MM09"), 64 | @XmlEnumValue("MM10") 65 | MM_10("MM10"), 66 | @XmlEnumValue("MM11") 67 | MM_11("MM11"), 68 | @XmlEnumValue("MM12") 69 | MM_12("MM12"), 70 | @XmlEnumValue("QTR1") 71 | QTR_1("QTR1"), 72 | @XmlEnumValue("QTR2") 73 | QTR_2("QTR2"), 74 | @XmlEnumValue("QTR3") 75 | QTR_3("QTR3"), 76 | @XmlEnumValue("QTR4") 77 | QTR_4("QTR4"), 78 | @XmlEnumValue("HLF1") 79 | HLF_1("HLF1"), 80 | @XmlEnumValue("HLF2") 81 | HLF_2("HLF2"); 82 | private final String value; 83 | 84 | TaxRecordPeriod1Code(String v) { 85 | value = v; 86 | } 87 | 88 | public String value() { 89 | return value; 90 | } 91 | 92 | public static TaxRecordPeriod1Code fromValue(String v) { 93 | for (TaxRecordPeriod1Code c: TaxRecordPeriod1Code.values()) { 94 | if (c.value.equals(v)) { 95 | return c; 96 | } 97 | } 98 | throw new IllegalArgumentException(v); 99 | } 100 | 101 | } 102 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/response/CreditTransferTransaction30Status.java: -------------------------------------------------------------------------------- 1 | package id.brainmaster.iso20022.model.response; 2 | 3 | import javax.xml.bind.annotation.XmlAccessType; 4 | import javax.xml.bind.annotation.XmlAccessorType; 5 | import javax.xml.bind.annotation.XmlElement; 6 | import javax.xml.bind.annotation.XmlType; 7 | 8 | 9 | @XmlAccessorType(XmlAccessType.FIELD) 10 | @XmlType(name = "CdtTrfTxInfSts", propOrder = { 11 | "instrId", "endToEndId", "txId", "clrSysRef", "success", "errorCode", "errorMessage" 12 | }) 13 | public class CreditTransferTransaction30Status { 14 | @XmlElement(name = "InstrId") 15 | protected String instrId; 16 | @XmlElement(name = "EndToEndId", required = true) 17 | protected String endToEndId; 18 | @XmlElement(name = "TxId", required = true) 19 | protected String txId; 20 | @XmlElement(name = "ClrSysRef") 21 | protected String clrSysRef; 22 | @XmlElement(name = "Success", required = true) 23 | private boolean success; 24 | @XmlElement(name = "ErrCd") 25 | private String errorCode; 26 | @XmlElement(name = "ErrMsg") 27 | private String errorMessage; 28 | 29 | public CreditTransferTransaction30Status() {} 30 | 31 | public CreditTransferTransaction30Status(String instrId, String endToEndId, String txId, String clrSysRef, String errorCode, String errorMessage) { 32 | this.instrId = instrId; 33 | this.endToEndId = endToEndId; 34 | this.txId = txId; 35 | this.clrSysRef = clrSysRef; 36 | this.success = false; 37 | this.errorCode = errorCode; 38 | this.errorMessage = errorMessage; 39 | } 40 | 41 | public CreditTransferTransaction30Status(String instrId, String endToEndId, String txId, String clrSysRef, boolean success) { 42 | this.instrId = instrId; 43 | this.endToEndId = endToEndId; 44 | this.txId = txId; 45 | this.clrSysRef = clrSysRef; 46 | this.success = success; 47 | } 48 | 49 | public String getInstrId() { 50 | return instrId; 51 | } 52 | 53 | public void setInstrId(String instrId) { 54 | this.instrId = instrId; 55 | } 56 | 57 | public String getEndToEndId() { 58 | return endToEndId; 59 | } 60 | 61 | public void setEndToEndId(String endToEndId) { 62 | this.endToEndId = endToEndId; 63 | } 64 | 65 | public String getTxId() { 66 | return txId; 67 | } 68 | 69 | public void setTxId(String txId) { 70 | this.txId = txId; 71 | } 72 | 73 | public String getClrSysRef() { 74 | return clrSysRef; 75 | } 76 | 77 | public void setClrSysRef(String clrSysRef) { 78 | this.clrSysRef = clrSysRef; 79 | } 80 | 81 | public boolean isSuccess() { 82 | return success; 83 | } 84 | 85 | public void setSuccess(boolean success) { 86 | this.success = success; 87 | } 88 | 89 | public String getErrorCode() { 90 | return errorCode; 91 | } 92 | 93 | public void setErrorCode(String errorCode) { 94 | this.errorCode = errorCode; 95 | } 96 | 97 | public String getErrorMessage() { 98 | return errorMessage; 99 | } 100 | 101 | public void setErrorMessage(String errorMessage) { 102 | this.errorMessage = errorMessage; 103 | } 104 | } 105 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/model/response/GenericSingleRestResponse.java: -------------------------------------------------------------------------------- 1 | package id.brainmaster.iso20022.model.response; 2 | 3 | import id.brainmaster.iso20022.model.GroupHeader70; 4 | 5 | import javax.xml.bind.annotation.*; 6 | import java.util.ArrayList; 7 | import java.util.List; 8 | 9 | @XmlAccessorType(XmlAccessType.FIELD) 10 | @XmlType(name = "ResponseDocument", propOrder = { 11 | "grpHdr", "cdtTrfTxInfSts" 12 | }) 13 | @XmlRootElement() 14 | public class GenericSingleRestResponse { 15 | 16 | @XmlElement(name = "GrpHdr", required = true) 17 | protected GroupHeader70 grpHdr; 18 | 19 | @XmlElement(name = "CdtTrfTxInfSts", required = true) 20 | protected List cdtTrfTxInfSts; 21 | 22 | public GroupHeader70 getGrpHdr() { 23 | return grpHdr; 24 | } 25 | 26 | public void setGrpHdr(GroupHeader70 grpHdr) { 27 | this.grpHdr = grpHdr; 28 | } 29 | 30 | public List getCdtTrfTxInfSts() { 31 | if (cdtTrfTxInfSts == null) { 32 | cdtTrfTxInfSts = new ArrayList<>(); 33 | } 34 | return cdtTrfTxInfSts; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/repository/AccountByCustomerRepository.java: -------------------------------------------------------------------------------- 1 | package id.brainmaster.iso20022.repository; 2 | 3 | import id.brainmaster.iso20022.entity.Account; 4 | import id.brainmaster.iso20022.entity.AccountKey; 5 | import org.springframework.data.cassandra.repository.ReactiveCassandraRepository; 6 | 7 | public interface AccountByCustomerRepository extends ReactiveCassandraRepository { 8 | } 9 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/repository/AsyncTransactionByCustomerRepository.java: -------------------------------------------------------------------------------- 1 | package id.brainmaster.iso20022.repository; 2 | 3 | import id.brainmaster.iso20022.entity.Transaction; 4 | import id.brainmaster.iso20022.entity.TransactionKey; 5 | import org.springframework.data.cassandra.repository.ReactiveCassandraRepository; 6 | 7 | public interface AsyncTransactionByCustomerRepository extends ReactiveCassandraRepository { 8 | } 9 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/repository/TransactionByCustomerRepository.java: -------------------------------------------------------------------------------- 1 | package id.brainmaster.iso20022.repository; 2 | 3 | import id.brainmaster.iso20022.entity.Transaction; 4 | import id.brainmaster.iso20022.entity.TransactionKey; 5 | import org.springframework.data.domain.Pageable; 6 | import org.springframework.data.domain.Slice; 7 | import org.springframework.data.repository.CrudRepository; 8 | 9 | import java.util.Date; 10 | 11 | public interface TransactionByCustomerRepository extends CrudRepository { 12 | Slice findAllByTransactionKeyAccountIdAndTransactionKeyCreationDateIsBetween(String accountId, Date startDate, Date endDate, Pageable pageable); 13 | } 14 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/service/TransactionService.java: -------------------------------------------------------------------------------- 1 | package id.brainmaster.iso20022.service; 2 | 3 | import id.brainmaster.iso20022.entity.Transaction; 4 | import id.brainmaster.iso20022.model.Document; 5 | import id.brainmaster.iso20022.util.Iso20022TransactionHelper; 6 | import id.brainmaster.iso20022.util.TransactionType; 7 | import id.brainmaster.iso20022.repository.AsyncTransactionByCustomerRepository; 8 | import id.brainmaster.iso20022.repository.TransactionByCustomerRepository; 9 | import org.springframework.beans.factory.annotation.Autowired; 10 | import org.springframework.data.domain.Pageable; 11 | import org.springframework.data.domain.Slice; 12 | import org.springframework.stereotype.Component; 13 | import reactor.core.publisher.Flux; 14 | 15 | import java.util.Date; 16 | import java.util.Set; 17 | 18 | @Component 19 | public class TransactionService { 20 | 21 | @Autowired 22 | private AsyncTransactionByCustomerRepository asyncTransactionByCustomerRepository; 23 | 24 | @Autowired 25 | private TransactionByCustomerRepository transactionByCustomerRepository; 26 | 27 | public Flux saveTopUpTransactionAsync(Document document, String accountId) { 28 | Set transactions = Iso20022TransactionHelper.populateTransaction(document.getFIToFICstmrCdtTrf(), accountId, TransactionType.TOPUP.name()); 29 | return asyncTransactionByCustomerRepository.saveAll(transactions).log().onErrorReturn(null); 30 | } 31 | 32 | public Iterable saveTopUpTransaction(Document document, String accountId) { 33 | Set transactions = Iso20022TransactionHelper.populateTransaction(document.getFIToFICstmrCdtTrf(), accountId, TransactionType.TOPUP.name()); 34 | return transactionByCustomerRepository.saveAll(transactions); 35 | } 36 | 37 | public Slice getTransactionHistoryByCustomer(String accountId, Date startDate, Date endDate, Pageable pageable) { 38 | return transactionByCustomerRepository.findAllByTransactionKeyAccountIdAndTransactionKeyCreationDateIsBetween(accountId,startDate,endDate,pageable); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/util/Currency.java: -------------------------------------------------------------------------------- 1 | package id.brainmaster.iso20022.util; 2 | 3 | public enum Currency { 4 | IDR, USD, CNY, MYR, JPY; 5 | } 6 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/util/Iso20022TransactionHelper.java: -------------------------------------------------------------------------------- 1 | package id.brainmaster.iso20022.util; 2 | 3 | import id.brainmaster.iso20022.entity.Transaction; 4 | import id.brainmaster.iso20022.entity.TransactionKey; 5 | import id.brainmaster.iso20022.model.FIToFICustomerCreditTransferV07; 6 | 7 | import java.util.ArrayList; 8 | import java.util.HashSet; 9 | import java.util.List; 10 | import java.util.Set; 11 | 12 | public class Iso20022TransactionHelper { 13 | 14 | public static Set populateTransaction(FIToFICustomerCreditTransferV07 model, String accountId, String transactionType) { 15 | Set transactions = new HashSet<>(model.getCdtTrfTxInf().size()); 16 | for (int i = 0; i < model.getCdtTrfTxInf().size(); i++) { 17 | String sourceId = model.getCdtTrfTxInf().get(i).getDbtrAcct().getId().getOthr().getId(); 18 | String sourceName = model.getCdtTrfTxInf().get(i).getDbtrAgt().getFinInstnId().getBICFI() == null ? 19 | model.getCdtTrfTxInf().get(i).getDbtrAgt().getFinInstnId().getOthr().getId() : model.getCdtTrfTxInf().get(i).getDbtrAgt().getFinInstnId().getBICFI(); 20 | String endToEndId = model.getCdtTrfTxInf().get(i).getPmtId().getEndToEndId(); 21 | String destinationId = model.getCdtTrfTxInf().get(i).getCdtrAcct().getId().getOthr().getId(); 22 | String destinationName = model.getCdtTrfTxInf().get(i).getCdtrAgt().getFinInstnId().getBICFI() == null ? 23 | model.getCdtTrfTxInf().get(i).getCdtrAgt().getFinInstnId().getOthr().getId() : model.getCdtTrfTxInf().get(i).getCdtrAgt().getFinInstnId().getBICFI(); 24 | TransactionKey key = new TransactionKey(model.getCdtTrfTxInf().get(i).getPmtId().getTxId(), accountId, model.getGrpHdr().getCreDtTm().toGregorianCalendar().getTime()); 25 | transactions.add(new Transaction(key, 26 | model.getCdtTrfTxInf().get(i).getIntrBkSttlmAmt().getValue(), transactionType, sourceName, sourceId, destinationName, destinationId, endToEndId)); 27 | } 28 | return transactions; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/util/TransactionType.java: -------------------------------------------------------------------------------- 1 | package id.brainmaster.iso20022.util; 2 | 3 | public enum TransactionType { 4 | TOPUP,TRANSFER,WITHDRAWAL; 5 | } 6 | -------------------------------------------------------------------------------- /src/main/java/id/brainmaster/iso20022/util/WalletType.java: -------------------------------------------------------------------------------- 1 | package id.brainmaster.iso20022.util; 2 | 3 | public enum WalletType { 4 | STANDARD, REMITTANCE; 5 | } 6 | -------------------------------------------------------------------------------- /src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.data.cassandra.keyspace-name=demodb 2 | spring.data.cassandra.schema-action=create_if_not_exists -------------------------------------------------------------------------------- /src/main/resources/demo-cassandra.cql: -------------------------------------------------------------------------------- 1 | CREATE KEYSPACE IF NOT EXISTS demodb with replication = {'class':'SimpleStrategy', 'replication_factor':'3'} and durable_writes=true; -------------------------------------------------------------------------------- /src/test/java/id/brainmaster/iso20022/AppTest.java: -------------------------------------------------------------------------------- 1 | package id.brainmaster.iso20022; 2 | 3 | 4 | import id.brainmaster.iso20022.model.Document; 5 | import org.apache.commons.lang3.RandomStringUtils; 6 | import org.junit.Assert; 7 | import org.junit.Test; 8 | 9 | import javax.xml.bind.*; 10 | import javax.xml.datatype.DatatypeConfigurationException; 11 | import javax.xml.datatype.DatatypeFactory; 12 | import java.io.Reader; 13 | import java.io.StringReader; 14 | import java.util.Date; 15 | import java.util.GregorianCalendar; 16 | import java.util.UUID; 17 | 18 | /** 19 | * Unit test for simple App. 20 | */ 21 | public class AppTest 22 | { 23 | private static final String TRANSFER_TO_NP_XML = "42E1037861BE4EF9BDF0CE57B4ECB0832018-01-01T01:00:00.000+07:001INDA 5AFB29F960474677A6D28C559A2EBFABFA4A4F894C7943A896F4673B1D9714F510000DEBTHardi 1234567890123456NIKCENAIDJAXXX1234567890NUSAPAY Hardi1234567890123456SYSTEM"; 24 | @Test 25 | public void testXmlToObject() throws JAXBException { 26 | System.out.println(UUID.randomUUID().toString().toUpperCase().replace("-","")); 27 | JAXBContext context = JAXBContext.newInstance(Document.class); 28 | Unmarshaller unmarshaller = context.createUnmarshaller(); 29 | Reader reader = new StringReader(TRANSFER_TO_NP_XML); 30 | JAXBElement model = (JAXBElement)unmarshaller.unmarshal(reader); 31 | Assert.assertEquals("CENAIDJAXXX", model.getValue().getFIToFICstmrCdtTrf().getCdtTrfTxInf().get(0).getDbtrAgt().getFinInstnId().getBICFI()); 32 | 33 | //TODO : just for fun, delete later 34 | GregorianCalendar calendar = new GregorianCalendar(); 35 | calendar.setTime(new Date()); 36 | try { 37 | DatatypeFactory.newInstance().newXMLGregorianCalendar(calendar).toXMLFormat(); 38 | } catch (DatatypeConfigurationException e) { 39 | e.printStackTrace(); 40 | } 41 | RandomStringUtils.randomNumeric(5); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /src/test/java/id/brainmaster/iso20022/WalletApplicationTests.java: -------------------------------------------------------------------------------- 1 | package id.brainmaster.iso20022; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class WalletApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/test/resources/example-008.001.007.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 42E1037861BE4EF9BDF0CE57B4ECB083 6 | 2018-01-01T01:00:00.000+07:00 7 | 1 8 | 9 | INDA 10 | 11 | 12 | 13 | 14 | 42E1037861BE4EF9BDF0CE57B4ECB083-1 15 | FA4A4F894C7943A896F4673B1D9714F5 16 | 17 | 10000 18 | DEBT 19 | 20 | Hardi 21 | 22 | 23 | 24 | 1234567890123456 25 | 26 | NIK 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 0987654321 36 | 37 | ACCOUNT_ID 38 | 39 | 40 | 41 | 42 | 43 | 44 | CENAIDJAXXX 45 | 46 | BCA 47 | 48 | 49 | 50 | 51 | 52 | 53 | NUSAPAY 54 | 55 | 56 | 57 | 58 | Hardi 59 | 60 | 61 | 62 | 1234567890123456 63 | 64 | NIK 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 081808347561 74 | 75 | ACCOUNT_ID 76 | 77 | 78 | 79 | 80 | 81 | 82 | -------------------------------------------------------------------------------- /src/test/resources/example-camt-060.001.04.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 11111111 6 | 2018-01-01T01:00:00.000+07:00 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | --------------------------------------------------------------------------------