public virtual IList <DateTime> dates()
        {
            IList <DateTime> result = new List <DateTime>();

            result.Add(SwiftFormatUtils.getDate2(getComponent(2)));
            return(result);
        }
        public virtual IList <BIC> bics()
        {
//JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final':
//ORIGINAL LINE: final java.util.List<com.prowidesoftware.swift.model.BIC> result = new java.util.ArrayList<>();
            IList <BIC> result = new List <BIC>();

            result.Add(SwiftFormatUtils.getBIC(getComponent(1)));
            return(result);
        }
 /// <summary>
 /// Set the component1 from a BIC object. </summary>
 /// <param name="component1"> the BIC with the component1 content to set </param>
 public virtual Field134 setComponent1(BIC component1)
 {
     setComponent(1, SwiftFormatUtils.getBIC(component1));
     return(this);
 }
Exemple #4
0
 /// <summary>
 /// Set the component1 from a Number object.
 /// <br>
 /// Parses the Number into a SWIFT amount with truncated zero decimals and mandatory decimal separator.
 /// <ul>
 ///     <li>Example: 1234.00 -&gt; 1234,</li>
 ///     <li>Example: 1234 -&gt; 1234,</li>
 ///     <li>Example: 1234.56 -&gt; 1234,56</li>
 /// </ul> </summary>
 /// <param name="component1"> the Number with the component1 content to set </param>
 public virtual Field19Z setComponent1(java.lang.Number component1)
 {
     setComponent(1, SwiftFormatUtils.getNumber(component1));
     return(this);
 }
 /// <summary>
 /// Set the component1 from a Calendar object. </summary>
 /// <param name="component1"> the Calendar with the component1 content to set </param>
 public virtual Field270 setComponent1(DateTime component1)
 {
     setComponent(1, SwiftFormatUtils.getDateTimeShortYear(component1));
     return(this);
 }
 /// <summary>
 /// Set the component2 from a Calendar object. </summary>
 /// <param name="component2"> the Calendar with the component2 content to set </param>
 public virtual Field257 setComponent2(DateTime component2)
 {
     setComponent(2, SwiftFormatUtils.getDate2(component2));
     return(this);
 }
Exemple #7
0
 /// <summary>
 /// Set the component1 from a Calendar object. </summary>
 /// <param name="component1"> the Calendar with the component1 content to set </param>
 public virtual Field142 setComponent1(DateTime component1)
 {
     setComponent(1, SwiftFormatUtils.getDateTime(component1));
     return(this);
 }
 /// <summary>
 /// Set the component3 from a Boolean object. </summary>
 /// <param name="component3"> the Boolean with the component3 content to set </param>
 public virtual Field281 setComponent3(bool?component3)
 {
     setComponent(3, SwiftFormatUtils.getBoolean(component3));
     return(this);
 }
Exemple #9
0
 /// <summary>
 /// Set the component4 from a Calendar object. </summary>
 /// <param name="component4"> the Calendar with the component4 content to set </param>
 public virtual Field13D setComponent4(DateTime component4)
 {
     setComponent(4, SwiftFormatUtils.getOffset(component4));
     return(this);
 }
Exemple #10
0
 public virtual Field19B setComponent3(java.lang.Number component3)
 {
     setComponent(3, SwiftFormatUtils.getNumber(component3));
     return(this);
 }
Exemple #11
0
 public virtual Field19B setComponent2(Currency component2)
 {
     setComponent(2, SwiftFormatUtils.getCurrency(component2));
     return(this);
 }
Exemple #12
0
 public virtual Field19A setComponent4(java.lang.Number component4)
 {
     setComponent(4, SwiftFormatUtils.getNumber(component4));
     return(this);
 }
Exemple #13
0
 public virtual Field19A setComponent3(Currency component3)
 {
     setComponent(3, SwiftFormatUtils.getCurrency(component3));
     return(this);
 }
Exemple #14
0
 public virtual Field23 setComponent4(java.util.Currency component4)
 {
     setComponent(4, SwiftFormatUtils.getCurrency(component4));
     return(this);
 }
Exemple #15
0
 public virtual Field19C setComponent2(java.lang.Number component2)
 {
     setComponent(2, SwiftFormatUtils.getNumber(component2));
     return(this);
 }
Exemple #16
0
 /// <summary>
 /// Set the component2 from a Calendar object. </summary>
 /// <param name="component2"> the Calendar with the component2 content to set </param>
 public virtual Field172 setComponent2(DateTime component2)
 {
     setComponent(2, SwiftFormatUtils.getMonthDay(component2));
     return(this);
 }
Exemple #17
0
 /// <summary>
 /// Set the component6 from a Calendar object. </summary>
 /// <param name="component6"> the Calendar with the component6 content to set </param>
 public virtual Field258 setComponent6(DateTime component6)
 {
     setComponent(6, SwiftFormatUtils.getTime3(component6));
     return(this);
 }
Exemple #18
0
 /// <summary>
 /// Set the component1 from a MIR object. </summary>
 /// <param name="component1"> the MIR with the component1 content to set </param>
 public virtual Field252 setComponent1(com.prowidesoftware.swift.model.MIR component1)
 {
     setComponent(1, SwiftFormatUtils.getMIR(component1));
     return(this);
 }
Exemple #19
0
 /// <summary>
 /// Set the component2 from a MOR object. </summary>
 /// <param name="component2"> the MOR with the component2 content to set </param>
 public virtual Field281 setComponent2(com.prowidesoftware.swift.model.MOR component2)
 {
     setComponent(2, SwiftFormatUtils.getMOR(component2));
     return(this);
 }
Exemple #20
0
 /// <summary>
 /// Creates the field object from a number value </summary>
 /// <param name="number"> the number value </param>
 public Field19(Number number) : this(SwiftFormatUtils.getNumber(number))
 {
 }
Exemple #21
0
 /// <summary>
 /// Set the component3 from a Calendar object. </summary>
 /// <param name="component3"> the Calendar with the component3 content to set </param>
 public virtual Field264 setComponent3(DateTime component3)
 {
     setComponent(3, SwiftFormatUtils.getTime3(component3));
     return(this);
 }
Exemple #22
0
 /// <summary>
 /// Set the component5 from a Calendar object. </summary>
 /// <param name="component5"> the Calendar with the component5 content to set </param>
 public virtual Field255 setComponent5(DateTime component5)
 {
     setComponent(5, SwiftFormatUtils.getTime3(component5));
     return(this);
 }
Exemple #23
0
 /// <summary>
 /// Set the component1 from a LogicalTerminalAddress object. </summary>
 /// <param name="component1"> the LogicalTerminalAddress with the component1 content to set </param>
 public virtual Field257 setComponent1(com.prowidesoftware.swift.model.LogicalTerminalAddress component1)
 {
     setComponent(1, SwiftFormatUtils.getLTAddress(component1));
     return(this);
 }
Exemple #24
0
 /// <summary>
 /// Set the component1 from a Boolean object. </summary>
 /// <param name="component1"> the Boolean with the component1 content to set </param>
 public virtual Field116 setComponent1(bool?component1)
 {
     setComponent(1, SwiftFormatUtils.getBoolean(component1));
     return(this);
 }
Exemple #25
0
 /// <summary>
 /// Set the component4 from a Calendar object. </summary>
 /// <param name="component4"> the Calendar with the component4 content to set </param>
 public virtual Field257 setComponent4(DateTime component4)
 {
     setComponent(4, SwiftFormatUtils.getTime3(component4));
     return(this);
 }
Exemple #26
0
 /// <summary>
 /// Set the component2 from a BIC object. </summary>
 /// <param name="component2"> the BIC with the component2 content to set </param>
 public virtual Field128 setComponent2(BIC component2)
 {
     setComponent(2, SwiftFormatUtils.getBIC(component2));
     return(this);
 }