def DeliverMin(self, value): # xrp to drops if isinstance(value, str): self["DeliverMin"] = { 'currency': 'XRP', 'value': dropsToXRP(value) } else: self["DeliverMin"] = value
def Amount(self, value): # xrp to drops if isinstance(value, str): self["Amount"] = {'currency': 'XRP', 'value': dropsToXRP(value)} else: self["Amount"] = value
def Fee(self, value): self["Fee"] = dropsToXRP(value)
def SendMax(self, value): # xrp to drops if isinstance(value, str): self["SendMax"] = {'currency': 'XRP', 'value': dropsToXRP(value)} else: self["SendMax"] = value
def TakerPays(self, value): # xrp to drops if isinstance(value, str): self["TakerPays"] = {'currency': 'XRP', 'value': dropsToXRP(value)} else: self["TakerPays"] = value