pygeek_stellar/stellar_operations.py
def create_payment_op(destination, amount, asset_code='XLM', asset_issuer=None, source=None):
    """
    This method creates a Stellar payment operation. This operation can be used
    to transfer funds between two accounts.
    :param str destination: Destination address to which the funds must be sent.
    :param str amount: Amount of funds to transfer.
    :param str asset_code: Code of the asset to be transferred. If none is specified the native asset is chosen.
    :param str asset_issuer: Issuer of the asset.
    :param str source: TODO
    :return: Returns the newly created operation.
    :rtype: Payment
    """
    return Payment(opts={
        'source': source,
        'destination': destination,
        'asset': Asset(asset_code, asset_issuer),
        'amount': amount
    })

    This method creates a Stellar payment operation. This operation can be used
    to transfer funds between two accounts.
    :param str destination: Destination address to which the funds must be sent.
    :param str amount: Amount of funds to transfer.
    :param str asset_code: Code of the asset to be transferred. If none is specified the native asset is chosen.
    :param str asset_issuer: Issuer of the asset.
    :param str source: TODO
    :return: Returns the newly created operation.
    :rtype: Payment
    
This method creates a Stellar payment operation. This operation can be used
to transfer funds between two accounts.
This method creates a Stellar payment operation . This operation can be used to transfer funds between two accounts .
def create_payment_op(destination, amount, asset_code='XLM', asset_issuer=None, source=None):
    return Payment(opts={
        'source': source,
        'destination': destination,
        'asset': Asset(asset_code, asset_issuer),
        'amount': amount
    })
def create_payment_op ( destination , amount , asset_code = 'XLM' , asset_issuer = None , source = None ) : return Payment ( opts = { 'source' : source , 'destination' : destination , 'asset' : Asset ( asset_code , asset_issuer ) , 'amount' : amount } )
This method creates a Stellar payment operation.
This method creates a Stellar payment operation .
"""
    This method creates a Stellar payment operation. This operation can be used
    to transfer funds between two accounts.
    :param str destination: Destination address to which the funds must be sent.
    :param str amount: Amount of funds to transfer.
    :param str asset_code: Code of the asset to be transferred. If none is specified the native asset is chosen.
    :param str asset_issuer: Issuer of the asset.
    :param str source: TODO
    :return: Returns the newly created operation.
    :rtype: Payment
    """
Returns the newly created operation.
Returns the newly created operation .
Payment
destination
Destination address to which the funds must be sent.
Destination address to which the funds must be sent .
amount
Amount of funds to transfer.
Amount of funds to transfer .
asset_code
Code of the asset to be transferred. If none is specified the native asset is chosen.
Code of the asset to be transferred . If none is specified the native asset is chosen .
asset_issuer
Issuer of the asset.
Issuer of the asset .
source
None