Class DistributionContactV1
Inheritance
System.Object
DistributionContactV1
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Klarna.Rest.Core.Model.HostedPaymentPage
Assembly: Klarna.Rest.Core.dll
Syntax
[DataContract]
public class DistributionContactV1
Properties
| Improve this Doc View SourceEmail where to send the email with the HPP link. Only required if distribution method is 'email'
Declaration
[DataMember(Name = "email", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "email")]
public string Email { get; set; }
Property Value
Type | Description |
---|---|
System.String | Email where to send the email with the HPP link. Only required if distribution method is 'email' |
Phone
Phone number where to send the sms with the HPP link. Only required if distribution method is 'sms'
Declaration
[DataMember(Name = "phone", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "phone")]
public string Phone { get; set; }
Property Value
Type | Description |
---|---|
System.String | Phone number where to send the sms with the HPP link. Only required if distribution method is 'sms' |
PhoneCountry
ISO 3166 alpha-2 phone country. Only required if distribution method is 'sms'
Declaration
[DataMember(Name = "phone_country", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "phone_country")]
public string PhoneCountry { get; set; }
Property Value
Type | Description |
---|---|
System.String | ISO 3166 alpha-2 phone country. Only required if distribution method is 'sms' |
Methods
| Improve this Doc View SourceToJson()
Get the JSON string presentation of the object
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |
ToString()
Get the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |
Overrides
System.Object.ToString()