toXdr method

XdrPrice toXdr()

Generates Price XDR object.

Implementation

XdrPrice toXdr() {

  XdrInt32 n = new XdrInt32(this.n);
  XdrInt32 d = new XdrInt32(this.d);
  return new XdrPrice(n, d);
}