toXdr method
Generates Price XDR object.
Implementation
XdrPrice toXdr() {
XdrPrice xdrPrice = new XdrPrice();
XdrInt32 n = new XdrInt32();
XdrInt32 d = new XdrInt32();
n.int32 = this.n;
d.int32 = this.d;
xdrPrice.n = n;
xdrPrice.d = d;
return xdrPrice;
}