Class DefaultMxMetadataStrategy
- java.lang.Object
-
- com.prowidesoftware.swift.model.mx.DefaultMxMetadataStrategy
-
- All Implemented Interfaces:
com.prowidesoftware.swift.model.MessageMetadataStrategy
public class DefaultMxMetadataStrategy extends java.lang.Object implements com.prowidesoftware.swift.model.MessageMetadataStrategyDefault implementation of MX messages metadata extraction.- Since:
- 9.1.6
-
-
Constructor Summary
Constructors Constructor Description DefaultMxMetadataStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<com.prowidesoftware.swift.model.Money>amount(com.prowidesoftware.swift.model.AbstractMessage message)java.util.Optional<java.lang.String>reference(com.prowidesoftware.swift.model.AbstractMessage message)java.util.Optional<java.util.Calendar>tradeDate(com.prowidesoftware.swift.model.AbstractMessage message)java.util.Optional<java.util.Calendar>valueDate(com.prowidesoftware.swift.model.AbstractMessage message)
-
-
-
Method Detail
-
reference
public java.util.Optional<java.lang.String> reference(com.prowidesoftware.swift.model.AbstractMessage message)
- Specified by:
referencein interfacecom.prowidesoftware.swift.model.MessageMetadataStrategy
-
amount
public java.util.Optional<com.prowidesoftware.swift.model.Money> amount(com.prowidesoftware.swift.model.AbstractMessage message)
- Specified by:
amountin interfacecom.prowidesoftware.swift.model.MessageMetadataStrategy
-
valueDate
public java.util.Optional<java.util.Calendar> valueDate(com.prowidesoftware.swift.model.AbstractMessage message)
- Specified by:
valueDatein interfacecom.prowidesoftware.swift.model.MessageMetadataStrategy
-
tradeDate
public java.util.Optional<java.util.Calendar> tradeDate(com.prowidesoftware.swift.model.AbstractMessage message)
- Specified by:
tradeDatein interfacecom.prowidesoftware.swift.model.MessageMetadataStrategy
-
-