PaymentShippingOption Constructors

Definition

Overloads

PaymentShippingOption(String, PaymentCurrencyAmount)

Creates a new PaymentShippingOption object.

PaymentShippingOption(String, PaymentCurrencyAmount, Boolean)

Creates a new PaymentShippingOption object.

PaymentShippingOption(String, PaymentCurrencyAmount, Boolean, String)

Creates a new PaymentShippingOption object.

PaymentShippingOption(String, PaymentCurrencyAmount)

Creates a new PaymentShippingOption object.

public:
 PaymentShippingOption(Platform::String ^ label, PaymentCurrencyAmount ^ amount);
 PaymentShippingOption(winrt::hstring const& label, PaymentCurrencyAmount const& amount);
public PaymentShippingOption(string label, PaymentCurrencyAmount amount);
function PaymentShippingOption(label, amount)
Public Sub New (label As String, amount As PaymentCurrencyAmount)

Parameters

label
String

Platform::String

winrt::hstring

The label.

amount
PaymentCurrencyAmount

The amount.

Applies to

PaymentShippingOption(String, PaymentCurrencyAmount, Boolean)

Creates a new PaymentShippingOption object.

public:
 PaymentShippingOption(Platform::String ^ label, PaymentCurrencyAmount ^ amount, bool selected);
 PaymentShippingOption(winrt::hstring const& label, PaymentCurrencyAmount const& amount, bool const& selected);
public PaymentShippingOption(string label, PaymentCurrencyAmount amount, bool selected);
function PaymentShippingOption(label, amount, selected)
Public Sub New (label As String, amount As PaymentCurrencyAmount, selected As Boolean)

Parameters

label
String

Platform::String

winrt::hstring

The label.

amount
PaymentCurrencyAmount

The amount.

selected
Boolean

bool

Whether this option is selected.

Applies to

PaymentShippingOption(String, PaymentCurrencyAmount, Boolean, String)

Creates a new PaymentShippingOption object.

public:
 PaymentShippingOption(Platform::String ^ label, PaymentCurrencyAmount ^ amount, bool selected, Platform::String ^ tag);
 PaymentShippingOption(winrt::hstring const& label, PaymentCurrencyAmount const& amount, bool const& selected, winrt::hstring const& tag);
public PaymentShippingOption(string label, PaymentCurrencyAmount amount, bool selected, string tag);
function PaymentShippingOption(label, amount, selected, tag)
Public Sub New (label As String, amount As PaymentCurrencyAmount, selected As Boolean, tag As String)

Parameters

label
String

Platform::String

winrt::hstring

The label.

amount
PaymentCurrencyAmount

The amount.

selected
Boolean

bool

Whether this option is selected.

tag
String

Platform::String

winrt::hstring

The tag.

Applies to