Class AfterPayMoneyJsonConverter
Ensures AfterPayMoney instances are serialized according to the AfterPay rules.
Inheritance
System.Object
AfterPayMoneyJsonConverter
Namespace: Yort.AfterPay.InStore
Assembly: cs.temp.dll.dll
Syntax
public class AfterPayMoneyJsonConverter : JsonConverter
Remarks
In particular this class ensures the Amount value is (de)serialised as a string.
Methods
Name | Description |
---|---|
CanConvert(Type) | Returns true if |
ReadJson(JsonReader, Type, Object, JsonSerializer) | Reads an AfterPayMoney from the current reader at the current position. |
WriteJson(JsonWriter, Object, JsonSerializer) | Writes an AfterPayMoney instance to the specified writer, ensuring the Amount value is written as a string. |