# Google Cloud Channel V1 Client - Class PaymentType (2.4.1)

2.4.1 (latest) 2.4.0 2.3.1 2.2.1 2.1.4 2.0.0 1.9.5 1.8.2 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.1 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Channel V1 Client class PaymentType.

Specifies when the payment needs to happen.

Protobuf type `google.cloud.channel.v1.PaymentType`

## Namespace

Google \\ Cloud \\ Channel \\ V1

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### PAYMENT_TYPE_UNSPECIFIED

    Value: 0

Not used.

Generated from protobuf enum `PAYMENT_TYPE_UNSPECIFIED = 0;`

### PREPAY

    Value: 1

Prepay. Amount has to be paid before service is rendered.

Generated from protobuf enum `PREPAY = 1;`

### POSTPAY

    Value: 2

Postpay. Reseller is charged at the end of the Payment cycle.

Generated from protobuf enum `POSTPAY = 2;`