Uses of Class
dev.vality.fistful.base.Content
| Package | Description |
|---|---|
| dev.vality.fistful.base |
-
Uses of Content in dev.vality.fistful.base
Fields in dev.vality.fistful.base declared as Content Modifier and Type Field Description ContentResourceGenericData. dataДанные ресурса Например: ``` Content { type = 'application/schema-instance+json; schema=https://api.vality.dev/schemas/payment-methods/v2/BankAccountRUS' data = '{"accountNumber":"40817810500000000035", "bankBIC":"044525716"}' } ```Methods in dev.vality.fistful.base that return Content Modifier and Type Method Description ContentContent. deepCopy()ContentResourceGenericData. getData()Данные ресурса Например: ``` Content { type = 'application/schema-instance+json; schema=https://api.vality.dev/schemas/payment-methods/v2/BankAccountRUS' data = '{"accountNumber":"40817810500000000035", "bankBIC":"044525716"}' } ```ContentContent. setData(byte[] data)ContentContent. setData(ByteBuffer data)ContentContent. setType(String type)Тип содержимого, согласно [RFC2046](https://www.ietf.org/rfc/rfc2046)Methods in dev.vality.fistful.base with parameters of type Content Modifier and Type Method Description intContent. compareTo(Content other)booleanContent. equals(Content that)ResourceGenericDataResourceGenericData. setData(Content data)Данные ресурса Например: ``` Content { type = 'application/schema-instance+json; schema=https://api.vality.dev/schemas/payment-methods/v2/BankAccountRUS' data = '{"accountNumber":"40817810500000000035", "bankBIC":"044525716"}' } ```Constructors in dev.vality.fistful.base with parameters of type Content Constructor Description Content(Content other)Performs a deep copy on other.